Permalink
Browse files

Definitions related to IsLocomotor weapons, and an array related to b…

…uilding animations.
  • Loading branch information...
1 parent 387ec49 commit 2ec330228040c4351feb24b6f9c4302cea1d0274 @AlexBx AlexBx committed Apr 22, 2012
Showing with 5 additions and 6 deletions.
  1. +3 −4 BuildingClass.h
  2. +2 −2 FootClass.h
View
@@ -186,11 +186,10 @@ class BuildingClass : public TechnoClass
// see eBuildingAnims above for slot index meanings
AnimClass * Anims [0x15];
+ bool AnimStates [0x15]; // one flag for each of the above anims (whether the anim was enabled when power went offline?)
protected:
- DWORD align_5B0, align_5B4, align_5B8, align_5BC;
- DWORD align_5C0, align_5C4;
-
+ char align_5C5[3];
public:
AnimClass * DamageFireAnims [0x8];
@@ -232,7 +231,7 @@ class BuildingClass : public TechnoClass
AudioController Audio7;
AudioController Audio8;
- bool unknown_bool_6C8;
+ 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;
View
@@ -201,8 +201,8 @@ class FootClass : public TechnoClass
ParasiteClass* ParasiteImUsing; // my parasitic half, nonzero for, eg, terror drone or squiddy
TimerStruct ParalysisTimer; // for squid victims
bool unknown_bool_6AC;
- bool unknown_bool_6AD;
- bool unknown_bool_6AE;
+ bool IsAttackedByLocomotor; // the unit's locomotor is jammed by a magnetron
+ bool IsLetGoByLocomotor; // a magnetron attacked this unit and let it go. falling, landing, or sitting on the ground
bool unknown_bool_6AF;
bool unknown_bool_6B0;
bool unknown_bool_6B1;

0 comments on commit 2ec3302

Please sign in to comment.