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

@@ -34,13 +34,13 @@ public:
zeus::CAABox x284_modelBounds;
zeus::CVector3f x29c_orbitPos;
bool x2a8_24_closing : 1;
bool x2a8_24_closing : 1 = false;
bool x2a8_25_wasOpen : 1;
bool x2a8_26_isOpen : 1;
bool x2a8_27_conditionsMet : 1;
bool x2a8_27_conditionsMet : 1 = false;
bool x2a8_28_projectilesCollide : 1;
bool x2a8_29_ballDoor : 1;
bool x2a8_30_doClose : 1;
bool x2a8_30_doClose : 1 = false;
public:
CScriptDoor(TUniqueId, std::string_view name, const CEntityInfo& info, const zeus::CTransform&, CModelData&&,