2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 00:27:42 +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

@@ -15,9 +15,9 @@ class CScriptDock : public CPhysicsActor {
s32 x25c_dock;
TAreaId x260_area;
EDockState x264_dockState = EDockState::Three;
bool x268_24_dockReferenced : 1;
bool x268_24_dockReferenced : 1 = false;
bool x268_25_loadConnected : 1;
bool x268_26_areaPostConstructed : 1;
bool x268_26_areaPostConstructed : 1 = false;
public:
CScriptDock(TUniqueId uid, std::string_view name, const CEntityInfo& info, const zeus::CVector3f& position,