2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 09:47:43 +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:
Lioncash
2020-04-20 00:57:50 -04:00
parent 2103c38f54
commit 554893ef85
184 changed files with 587 additions and 1117 deletions

View File

@@ -29,14 +29,14 @@ private:
float x27c_restitution;
CScriptDebris::EScaleType x280_scaleType = CScriptDebris::EScaleType::NoScale;
bool x281_24_randomAngImpulse : 1;
bool x281_25_particle1GlobalTranslation : 1;
bool x281_26_deferDeleteTillParticle1Done : 1;
bool x281_27_particle2GlobalTranslation : 1;
bool x281_28_deferDeleteTillParticle2Done : 1;
bool x281_29_particle3Active : 1;
bool x281_30_debrisExtended : 1;
bool x281_31_dieOnProjectile : 1;
bool x282_24_noBounce : 1;
bool x281_25_particle1GlobalTranslation : 1 = false;
bool x281_26_deferDeleteTillParticle1Done : 1 = false;
bool x281_27_particle2GlobalTranslation : 1 = false;
bool x281_28_deferDeleteTillParticle2Done : 1 = false;
bool x281_29_particle3Active : 1 = false;
bool x281_30_debrisExtended : 1 = false;
bool x281_31_dieOnProjectile : 1 = false;
bool x282_24_noBounce : 1 = false;
EOrientationType x283_particleOrs[3] = {};
float x288_linConeAngle = 0.f;
float x28c_linMinMag = 0.f;