2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-10 06:27: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

@@ -30,10 +30,10 @@ private:
zeus::CVector3f x244_faceTranslate;
float x250_alphaTimer = 0.f;
CFluidPlaneDoor x254_fluidPlane;
bool x300_24_notOccluded : 1;
bool x300_25_alphaOut : 1;
bool x300_26_outOfFrustum : 1;
bool x300_27_invulnerable : 1;
bool x300_24_notOccluded : 1 = false;
bool x300_25_alphaOut : 1 = false;
bool x300_26_outOfFrustum : 1 = false;
bool x300_27_invulnerable : 1 = false;
bool x300_28_canOrbit : 1;
void SetLinkedObjectAlpha(float a, CStateManager& mgr);