Skip to content

Commit

Permalink
Fix Raider->Piggybackee typo
Browse files Browse the repository at this point in the history
  • Loading branch information
chaserli committed Nov 23, 2022
1 parent c0aa8f3 commit c313c23
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions BuildingClass.h
Original file line number Diff line number Diff line change
Expand Up @@ -303,12 +303,12 @@ class NOVTABLE BuildingClass : public TechnoClass
AudioController Audio8;

bool WasOnline; // the the last state when Update()ing. if this changed since the last Update(), UpdatePowered is called.
bool ShowRealName;
bool BeingProduced;
bool ShouldRebuild;
bool ShowRealName; // is also NOMINAL under [Structures]
bool BeingProduced; // is also AI_REBUILDABLE under [Structures]
bool ShouldRebuild; // is also AI_REPAIRABLE under [Structures]
bool HasEngineer; // used to pass the NeedsEngineer check
CDTimerClass CashProductionTimer;
bool unknown_bool_6DC;
bool AI_Sellable; // AI_SELLABLE under [Structures]
bool IsReadyToCommence;
bool NeedsRepairs; // AI handholder for repair logic,
bool C4Applied;
Expand Down
2 changes: 1 addition & 1 deletion DriveLocomotionClass.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class NOVTABLE DriveLocomotionClass : public LocomotionClass, public IPiggyback
bool IsDriving;
bool IsRocking;
bool IsLocked;
AbstractClass* Raider;
ILocomotion* Piggybackee;
int field_6C;
};

Expand Down
2 changes: 1 addition & 1 deletion FootClass.h
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ class NOVTABLE FootClass : public TechnoClass
double SpeedPercentage;
double SpeedMultiplier;
DECLARE_PROPERTY(DynamicVectorClass<AbstractClass*>, unknown_abstract_array_588);
DWORD unknown_5A0;
AbstractClass* unknown_5A0;
AbstractClass* Destination; // possibly other objects as well
AbstractClass* LastDestination;
DECLARE_PROPERTY(DynamicVectorClass<AbstractClass*>, unknown_abstract_array_5AC);
Expand Down
2 changes: 1 addition & 1 deletion JumpjetLocomotionClass.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class NOVTABLE JumpjetLocomotionClass : public LocomotionClass, public IPiggybac
BYTE unknown_91;
BYTE unknown_92;
BYTE unknown_93;
AbstractClass* Raider;
ILocomotion* Piggybackee;
};

static_assert(sizeof(JumpjetLocomotionClass) == 0x98);
2 changes: 1 addition & 1 deletion ShipLocomotionClass.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class __declspec(align(4)) NOVTABLE ShipLocomotionClass : public LocomotionClass
bool IsDriving;
bool IsRocking;
bool IsLocked;
DWORD field_68;
ILocomotion* Piggybackee;
};

static_assert(sizeof(ShipLocomotionClass) == 0x70);
Expand Down

0 comments on commit c313c23

Please sign in to comment.