mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-10 10:27:42 +00:00
Runtime/GuiSys: Replace bitfield unions with constructor initializers
This commit is contained in:
@@ -19,15 +19,10 @@ class CHudEnergyInterface {
|
||||
int x10_totalEnergyTanks;
|
||||
int x14_numTanksFilled;
|
||||
float x18_cachedBarEnergy = 0.f;
|
||||
union {
|
||||
struct {
|
||||
bool x1c_24_ : 1;
|
||||
bool x1c_25_ : 1;
|
||||
bool x1c_26_barDirty : 1;
|
||||
bool x1c_27_energyLow : 1;
|
||||
};
|
||||
u16 _dummy = 0;
|
||||
};
|
||||
bool x1c_24_ : 1;
|
||||
bool x1c_25_ : 1;
|
||||
bool x1c_26_barDirty : 1;
|
||||
bool x1c_27_energyLow : 1;
|
||||
CGuiTextPane* x20_textpane_energydigits;
|
||||
CAuiMeter* x24_meter_energytanks;
|
||||
CGuiTextPane* x28_textpane_energywarning;
|
||||
|
||||
Reference in New Issue
Block a user