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

@@ -17,10 +17,10 @@ class CPhazonBeam final : public CGunWeapon {
float x268_clipWipeScale = 0.f;
float x26c_clipWipeTranslate = 0.f;
float x270_indirectAlpha = 1.f;
bool x274_24_loaded : 1;
bool x274_25_clipWipeActive : 1;
bool x274_26_veinsAlphaActive : 1;
bool x274_27_phazonVeinsIdx : 1;
bool x274_24_loaded : 1 = false;
bool x274_25_clipWipeActive : 1 = true;
bool x274_26_veinsAlphaActive : 1 = false;
bool x274_27_phazonVeinsIdx : 1 = false;
float x278_fireTime = 1.f / 3.f;
CAABoxShader m_aaboxShaderScale{true};
CAABoxShader m_aaboxShaderTranslate{true};