2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-11 15:41:48 +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

@@ -53,14 +53,14 @@ class CProjectileWeapon {
std::unique_ptr<CParticleSwoosh> x118_swoosh1;
std::unique_ptr<CParticleSwoosh> x11c_swoosh2;
std::unique_ptr<CParticleSwoosh> x120_swoosh3;
bool x124_24_active : 1;
bool x124_25_APSO : 1;
bool x124_26_AP11 : 1;
bool x124_27_AP21 : 1;
bool x124_28_AS11 : 1;
bool x124_29_AS12 : 1;
bool x124_30_AS13 : 1;
bool x124_31_VMD2 : 1;
bool x124_24_active : 1 = true;
bool x124_25_APSO : 1 = false;
bool x124_26_AP11 : 1 = false;
bool x124_27_AP21 : 1 = false;
bool x124_28_AS11 : 1 = false;
bool x124_29_AS12 : 1 = false;
bool x124_30_AS13 : 1 = false;
bool x124_31_VMD2 : 1 = false;
public:
CProjectileWeapon(const TToken<CWeaponDescription>& wDesc, const zeus::CVector3f& worldOffset,