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

@@ -84,15 +84,15 @@ class CParticleSwoosh : public CParticleGen {
float x1c4_ = 0.f;
float x1c8_ = 0.f;
float x1cc_TSPN = 0.f;
bool x1d0_24_emitting : 1;
bool x1d0_25_AALP : 1;
bool x1d0_26_forceOneUpdate : 1;
bool x1d0_27_renderGaps : 1;
bool x1d0_28_LLRD : 1;
bool x1d0_29_VLS1 : 1;
bool x1d0_30_VLS2 : 1;
bool x1d0_31_constantTex : 1;
bool x1d1_24_constantUv : 1;
bool x1d0_24_emitting : 1 = true;
bool x1d0_25_AALP : 1 = false;
bool x1d0_26_forceOneUpdate : 1 = false;
bool x1d0_27_renderGaps : 1 = false;
bool x1d0_28_LLRD : 1 = false;
bool x1d0_29_VLS1 : 1 = false;
bool x1d0_30_VLS2 : 1 = false;
bool x1d0_31_constantTex : 1 = false;
bool x1d1_24_constantUv : 1 = false;
SUVElementSet x1d4_uvs = {};
CTexture* x1e4_tex = nullptr;