mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-15 07:26:10 +00:00
Runtime/MP1/World: Replace bitfield unions with constructor initializers
This commit is contained in:
@@ -33,19 +33,15 @@ class CWarWasp : public CPatterned {
|
||||
float x718_circleBurstOffTotemAngle = zeus::degToRad(90.f);
|
||||
TLockedToken<CGenDescription> x71c_projectileVisorParticle; // Used to be optional
|
||||
u16 x72c_projectileVisorSfx;
|
||||
union {
|
||||
struct {
|
||||
bool x72e_24_jumpBackRepeat : 1;
|
||||
bool x72e_25_canApplyDamage : 1;
|
||||
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;
|
||||
};
|
||||
u32 _dummy = 0;
|
||||
};
|
||||
bool x72e_24_jumpBackRepeat : 1;
|
||||
bool x72e_25_canApplyDamage : 1;
|
||||
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;
|
||||
|
||||
void SwarmAdd(CStateManager& mgr);
|
||||
void SwarmRemove(CStateManager& mgr);
|
||||
void ApplyDamage(CStateManager& mgr);
|
||||
|
||||
Reference in New Issue
Block a user