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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user