Implement/match Infocenter::Reset (#532)

* Implement Infocenter::Reset

* Move code

* Move function

* Fix bug

* Fix another bug
This commit is contained in:
Christian Semmler
2024-02-05 12:35:26 -05:00
committed by GitHub
parent a2c1bd66b3
commit 03423b2ffa
11 changed files with 129 additions and 62 deletions

View File

@@ -33,6 +33,15 @@ public:
e_goodEndMovie
};
enum Character {
e_noCharacter = 0,
e_pepper,
e_mama,
e_papa,
e_nick,
e_laura
};
enum InfomainScript {
c_noInfomain = -1,
@@ -135,7 +144,7 @@ public:
c_gasCtlDescription = 555,
c_medCtlDescription = 556,
c_unk557 = 557,
c_infoCtlDescription = 557,
c_boatCtlDescription = 558,
c_copCtlDescription = 559,
c_pizzaCtlDescription = 560,
@@ -204,7 +213,7 @@ private:
MxLong HandleNotification0(MxNotificationParam& p_param);
void UpdateFrameHot(MxBool p_display);
void FUN_10070e90();
void Reset();
void PlayCutscene(Cutscene p_entityId, MxBool p_scale);
void StopCutscene();
@@ -221,7 +230,7 @@ private:
void StopBookAnimation();
InfomainScript m_currentInfomainScript; // 0xf8
MxS16 m_unk0xfc; // 0xfc
MxS16 m_selectedCharacter; // 0xfc
InfocenterState* m_infocenterState; // 0x100
undefined4 m_transitionDestination; // 0x104
Cutscene m_currentCutscene; // 0x108