2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-16 07:37:02 +00:00

RuntimeCommon: Make use of bitfield initializers where applicable

Continues and finishes the migration towards initializing all bitfield
members where applicable
This commit is contained in:
Lioncash
2020-04-21 03:22:41 -04:00
parent d3a44259c3
commit fa3e639a9d
129 changed files with 467 additions and 866 deletions

View File

@@ -33,14 +33,14 @@ class CWarWasp : public CPatterned {
float x718_circleBurstOffTotemAngle = zeus::degToRad(90.f);
TLockedToken<CGenDescription> x71c_projectileVisorParticle; // Used to be optional
u16 x72c_projectileVisorSfx;
bool x72e_24_jumpBackRepeat : 1;
bool x72e_25_canApplyDamage : 1;
bool x72e_24_jumpBackRepeat : 1 = true;
bool x72e_25_canApplyDamage : 1 = false;
bool x72e_26_initiallyInactive : 1;
bool x72e_27_teamMatesMelee : 1;
bool x72e_28_inProjectileAttack : 1;
bool x72e_29_pathObstructed : 1;
bool x72e_30_isRetreating : 1;
bool x72e_31_heardNoise : 1;
bool x72e_27_teamMatesMelee : 1 = false;
bool x72e_28_inProjectileAttack : 1 = false;
bool x72e_29_pathObstructed : 1 = false;
bool x72e_30_isRetreating : 1 = false;
bool x72e_31_heardNoise : 1 = false;
void SwarmAdd(CStateManager& mgr);
void SwarmRemove(CStateManager& mgr);