mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-15 04:06:09 +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:
@@ -133,16 +133,16 @@ private:
|
||||
u32 x1dc8_failsafeCounter = 0;
|
||||
zeus::CVector3f x1dcc_;
|
||||
zeus::CVector3f x1dd8_;
|
||||
bool x1de4_24_inBoost : 1;
|
||||
bool x1de4_25_boostEnabled : 1;
|
||||
bool x1de4_24_inBoost : 1 = false;
|
||||
bool x1de4_25_boostEnabled : 1 = true;
|
||||
float x1de8_boostChargeTime = 0.f;
|
||||
float x1dec_timeNotInBoost = 0.f;
|
||||
float x1df0_ = 0.f;
|
||||
float x1df4_boostDrainTime = 0.f;
|
||||
bool x1df8_24_inHalfPipeMode : 1;
|
||||
bool x1df8_25_inHalfPipeModeInAir : 1;
|
||||
bool x1df8_26_touchedHalfPipeRecently : 1;
|
||||
bool x1df8_27_ballCloseToCollision : 1;
|
||||
bool x1df8_24_inHalfPipeMode : 1 = false;
|
||||
bool x1df8_25_inHalfPipeModeInAir : 1 = false;
|
||||
bool x1df8_26_touchedHalfPipeRecently : 1 = false;
|
||||
bool x1df8_27_ballCloseToCollision : 1 = false;
|
||||
float x1dfc_touchHalfPipeCooldown = 0.f;
|
||||
float x1e00_disableControlCooldown = 0.f;
|
||||
float x1e04_touchHalfPipeRecentCooldown = 0.f;
|
||||
|
||||
Reference in New Issue
Block a user