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

View File

@@ -67,12 +67,12 @@ private:
TToken<CGenDescription> x538_visorParticle; // Used to be optional
u16 x544_freezeSfx;
u16 x546_electricSfx;
bool x548_24_ : 1;
bool x548_25_enableEnergyPulse : 1;
bool x548_26_firing : 1;
bool x548_27_texturesLoaded : 1;
bool x548_24_ : 1 = false;
bool x548_25_enableEnergyPulse : 1 = true;
bool x548_26_firing : 1 = false;
bool x548_27_texturesLoaded : 1 = false;
bool x548_28_drawOwnerFirst : 1;
bool x548_29_activePlayerPhazon : 1;
bool x548_29_activePlayerPhazon : 1 = false;
struct RenderObjects {
CColoredStripShader m_beamStrip1;