mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-16 20:57:01 +00:00
Runtime/MP1/World: Replace bitfield unions with constructor initializers
This commit is contained in:
@@ -100,25 +100,20 @@ private:
|
||||
TToken<CGenDescription> xa20_crackTwoParticle;
|
||||
TToken<CGenDescription> xa2c_destroyShellParticle;
|
||||
TLockedToken<CGenDescription> xa38_intermediateCrackParticle; // Used to be an optional, not necessary in URDE
|
||||
union {
|
||||
struct {
|
||||
bool xa48_24_isAlert : 1;
|
||||
bool xa48_25_ : 1;
|
||||
bool xa48_26_inProjectileAttack : 1;
|
||||
bool xa48_27_ : 1;
|
||||
bool xa48_28_pendingAttackContactDamage : 1;
|
||||
bool xa48_29_hasBeenEnraged : 1;
|
||||
bool xa48_30_heardPlayerFire : 1;
|
||||
bool xa48_31_approachNeedsPathSearch : 1;
|
||||
bool xa49_24_gettingUp : 1;
|
||||
bool xa49_25_shouldStepBackwards : 1;
|
||||
bool xa49_26_readyForTeam : 1;
|
||||
bool xa49_27_locomotionValid : 1;
|
||||
bool xa49_28_onApproachPath : 1;
|
||||
bool xa49_29_objectSpaceCollision : 1;
|
||||
};
|
||||
u32 _dummy = 0;
|
||||
};
|
||||
bool xa48_24_isAlert : 1;
|
||||
bool xa48_25_ : 1;
|
||||
bool xa48_26_inProjectileAttack : 1;
|
||||
bool xa48_27_ : 1;
|
||||
bool xa48_28_pendingAttackContactDamage : 1;
|
||||
bool xa48_29_hasBeenEnraged : 1;
|
||||
bool xa48_30_heardPlayerFire : 1;
|
||||
bool xa48_31_approachNeedsPathSearch : 1;
|
||||
bool xa49_24_gettingUp : 1;
|
||||
bool xa49_25_shouldStepBackwards : 1;
|
||||
bool xa49_26_readyForTeam : 1;
|
||||
bool xa49_27_locomotionValid : 1;
|
||||
bool xa49_28_onApproachPath : 1;
|
||||
bool xa49_29_objectSpaceCollision : 1;
|
||||
|
||||
void AddSphereCollisionList(const SSphereJointInfo*, s32, std::vector<CJointCollisionDescription>&);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user