Показать сообщение отдельно
Старый 24-01-2022, 21:09   #3240
CubanFoxtrot
Aircraftsman
 
Регистрация: Nov 2016
Сообщений: 12
I really don't remember anything about how the Link Data was implemented.
Can't help there, sorry.
But [SolutionType-0B4h] will definitely lead to crash on that void/bool? Commander::sub_20017470(Commander *this, SolutionType *s) function if this->AIPlayer_70 == true.
Please fix this.
In my case (RSR 1st mission) it was SolutionType::srcEntity_154::hullID = 38 ("Warehouse 4") to SolutionType::tgtEntity_158::hullID = 90 ("Sailboat 2"), but I don't think it really matters.

Some infos you're certainly aware of I figured out yesterday...

Entity *SolutionType::srcEntity_154;
Entity *SolutionType::tgtEntity_158;

Dynamics *Entity::dynamics_1F4;
Motion *Dynamics::motion_78;
float Motion::alt_124; // * 1.0936 * 3.0;

float SolutionType::tgtEntityCrs_108;
float SolutionType::srcEntityAlt_124;
float SolutionType::tgtEntityAlt_128;
...

class SolutionType: SolutionTypeData, TacticalGroupData, TacticalGroupDataData, Notify;
class Entity: EntityData, TacticalGroupData, TacticalGroupDataData, Notify;

Again, thanks for the great work on this rather obscure and cumbersome part of the game (the exes).
CubanFoxtrot вне форума   Ответить с цитированием