mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 14:27:42 +00:00
Runtime/MP1: Replace bitfield unions with constructor initializers
This commit is contained in:
@@ -95,17 +95,10 @@ class CSamusHud {
|
||||
u32 x2d4_totalEnergyTanks = 0;
|
||||
u32 x2d8_missileAmount = 0;
|
||||
u32 x2dc_missileCapacity = 0;
|
||||
|
||||
union {
|
||||
struct {
|
||||
bool x2e0_24_inFreeLook : 1;
|
||||
bool x2e0_25_lookControlHeld : 1;
|
||||
bool x2e0_26_latestFirstPerson : 1;
|
||||
bool x2e0_27_energyLow : 1;
|
||||
};
|
||||
u16 _dummy = 0;
|
||||
};
|
||||
|
||||
bool x2e0_24_inFreeLook : 1;
|
||||
bool x2e0_25_lookControlHeld : 1;
|
||||
bool x2e0_26_latestFirstPerson : 1;
|
||||
bool x2e0_27_energyLow : 1;
|
||||
u32 x2e4_ = 0;
|
||||
u32 x2e8_ = 0;
|
||||
CPlayerGun::EMissleMode x2ec_missileMode = CPlayerGun::EMissleMode::Inactive;
|
||||
|
||||
Reference in New Issue
Block a user