mirror of https://github.com/AxioDL/metaforce.git
CWorldTransManager: Initialize all members on construction
Provides a deterministic initial state upon construction, making debugging easier.
This commit is contained in:
parent
e72507b20c
commit
58fdb64ab5
|
@ -58,18 +58,18 @@ private:
|
||||||
std::unique_ptr<CGuiTextSupport> x8_textData;
|
std::unique_ptr<CGuiTextSupport> x8_textData;
|
||||||
TLockedToken<CStringTable> xc_strTable;
|
TLockedToken<CStringTable> xc_strTable;
|
||||||
u8 x14_ = 0;
|
u8 x14_ = 0;
|
||||||
float x18_bgOffset;
|
float x18_bgOffset = 0.0f;
|
||||||
float x1c_bgHeight;
|
float x1c_bgHeight = 0.0f;
|
||||||
CRandom16 x20_random = CRandom16(99);
|
CRandom16 x20_random = CRandom16(99);
|
||||||
u16 x24_sfx = 1189;
|
u16 x24_sfx = 1189;
|
||||||
CSfxHandle x28_sfxHandle;
|
CSfxHandle x28_sfxHandle;
|
||||||
u8 x2c_volume = 127;
|
u8 x2c_volume = 127;
|
||||||
u8 x2d_panning = 64;
|
u8 x2d_panning = 64;
|
||||||
ETransType x30_type = ETransType::Disabled;
|
ETransType x30_type = ETransType::Disabled;
|
||||||
float x34_stopTime;
|
float x34_stopTime = 0.0f;
|
||||||
float x38_textStartTime = 0.f;
|
float x38_textStartTime = 0.f;
|
||||||
float x3c_sfxInterval;
|
float x3c_sfxInterval = 0.0f;
|
||||||
bool x40_strIdx;
|
bool x40_strIdx = false;
|
||||||
bool x44_24_transFinished : 1;
|
bool x44_24_transFinished : 1;
|
||||||
bool x44_25_stopSoon : 1;
|
bool x44_25_stopSoon : 1;
|
||||||
bool x44_26_goingUp : 1;
|
bool x44_26_goingUp : 1;
|
||||||
|
|
Loading…
Reference in New Issue