mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-10 02:27:42 +00:00
RuntimeCommonB: Make use of bitfield initializers where applicable
Given that we now target C++20, we can make use of bitfield initializers where applicable.
This commit is contained in:
@@ -19,9 +19,9 @@ class CHudEnergyInterface {
|
||||
int x10_totalEnergyTanks;
|
||||
int x14_numTanksFilled;
|
||||
float x18_cachedBarEnergy = 0.f;
|
||||
bool x1c_24_ : 1;
|
||||
bool x1c_25_ : 1;
|
||||
bool x1c_26_barDirty : 1;
|
||||
bool x1c_24_ : 1 = true;
|
||||
bool x1c_25_ : 1 = true;
|
||||
bool x1c_26_barDirty : 1 = true;
|
||||
bool x1c_27_energyLow : 1;
|
||||
CGuiTextPane* x20_textpane_energydigits;
|
||||
CAuiMeter* x24_meter_energytanks;
|
||||
|
||||
Reference in New Issue
Block a user