CWorldTransManager: Initialize all members on construction

Provides a deterministic initial state upon construction, making
debugging easier.
This commit is contained in:
Lioncash 2020-04-11 19:53:27 -04:00
parent e72507b20c
commit 58fdb64ab5
1 changed files with 5 additions and 5 deletions

View File

@ -58,18 +58,18 @@ private:
std::unique_ptr<CGuiTextSupport> x8_textData;
TLockedToken<CStringTable> xc_strTable;
u8 x14_ = 0;
float x18_bgOffset;
float x1c_bgHeight;
float x18_bgOffset = 0.0f;
float x1c_bgHeight = 0.0f;
CRandom16 x20_random = CRandom16(99);
u16 x24_sfx = 1189;
CSfxHandle x28_sfxHandle;
u8 x2c_volume = 127;
u8 x2d_panning = 64;
ETransType x30_type = ETransType::Disabled;
float x34_stopTime;
float x34_stopTime = 0.0f;
float x38_textStartTime = 0.f;
float x3c_sfxInterval;
bool x40_strIdx;
float x3c_sfxInterval = 0.0f;
bool x40_strIdx = false;
bool x44_24_transFinished : 1;
bool x44_25_stopSoon : 1;
bool x44_26_goingUp : 1;