2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-15 12:46:08 +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

@@ -84,14 +84,14 @@ class CFishCloud : public CActor {
u16 x234_deathSfx;
zeus::CVector3f x238_partitionPitch;
zeus::CVector3f x244_ooPartitionPitch;
bool x250_24_randomMovement : 1;
bool x250_25_worldSpace : 1;
bool x250_26_enableWeaponRepelDamping : 1;
bool x250_27_validModel : 1;
bool x250_24_randomMovement : 1 = false;
bool x250_25_worldSpace : 1 = true; // The result of a close_enough paradox (weird inlined test?)
bool x250_26_enableWeaponRepelDamping : 1 = false;
bool x250_27_validModel : 1 = false;
bool x250_28_killable : 1;
bool x250_29_repelFromThreats : 1;
bool x250_30_enablePlayerRepelDamping : 1;
bool x250_31_updateWithoutPartitions : 1;
bool x250_30_enablePlayerRepelDamping : 1 = false;
bool x250_31_updateWithoutPartitions : 1 = false;
void UpdateParticles(float dt);
void UpdatePartitionList();