mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-10 06: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:
@@ -16,9 +16,9 @@ class CScriptWorldTeleporter : public CEntity {
|
||||
CAssetId x34_worldId;
|
||||
CAssetId x38_areaId;
|
||||
ETeleporterType x3c_type = ETeleporterType::NoTransition;
|
||||
bool x40_24_upElevator : 1;
|
||||
bool x40_25_inTransition : 1;
|
||||
bool x40_27_fadeWhite : 1;
|
||||
bool x40_24_upElevator : 1 = false;
|
||||
bool x40_25_inTransition : 1 = false;
|
||||
bool x40_27_fadeWhite : 1 = false;
|
||||
float x44_charFadeIn = 0.1f;
|
||||
float x48_charsPerSecond = 8.0f;
|
||||
float x4c_showDelay = 0.0f;
|
||||
|
||||
Reference in New Issue
Block a user