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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user