2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-18 02:45:23 +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

@@ -22,9 +22,9 @@ class CBomb : public CWeapon {
std::unique_ptr<CElementGen> x184_particle2;
TUniqueId x188_lightId = kInvalidUniqueId;
const CGenDescription* x18c_particle2Obj;
bool x190_24_isNotDetonated : 1;
bool x190_25_beingDragged : 1;
bool x190_26_disableFuse : 1;
bool x190_24_isNotDetonated : 1 = true;
bool x190_25_beingDragged : 1 = false;
bool x190_26_disableFuse : 1 = false;
public:
CBomb(const TCachedToken<CGenDescription>& particle1, const TCachedToken<CGenDescription>& particle2, TUniqueId uid,