Implement Infocenter::HandleNotification0 (#514)

* Implement Infocenter::HandleNotification0

* Match

* Match

* Match

* Match

* Braces

* Add enum constants
This commit is contained in:
Christian Semmler
2024-02-01 15:56:27 -05:00
committed by GitHub
parent 9e686e2a87
commit 17252b95f4
4 changed files with 91 additions and 13 deletions

View File

@@ -61,9 +61,17 @@ public:
c_nickSelected = 33,
c_lauraSelected = 34,
c_unk40 = 40,
c_unk41 = 41,
c_unk42 = 42,
c_unk43 = 43,
c_unk44 = 44,
c_goToRegBook = 70,
c_goToRegBookRed = 71,
c_unk499 = 499,
c_welcomeDialogue = 500,
c_goodJobDialogue = 501,
@@ -127,6 +135,7 @@ public:
c_gasCtlDescription = 555,
c_medCtlDescription = 556,
c_unk557 = 557,
c_boatCtlDescription = 558,
c_copCtlDescription = 559,
c_pizzaCtlDescription = 560,
@@ -182,8 +191,8 @@ private:
MxU8 HandleMouseMove(MxS32 p_x, MxS32 p_y);
MxU8 HandleButtonUp(MxS32 p_x, MxS32 p_y);
MxU8 HandleClick(LegoControlManagerEvent& p_param);
MxLong HandleEndAction(MxParam& p_param);
MxLong HandleNotification0(MxParam&);
MxLong HandleEndAction(MxEndActionNotificationParam& p_param);
MxLong HandleNotification0(MxNotificationParam& p_param);
void UpdateFrameHot(MxBool p_display);
void FUN_10070e90();

View File

@@ -30,6 +30,8 @@ public:
inline MxS16 GetInfocenterBufferSize() { return sizeof(m_buffer) / sizeof(m_buffer[0]); }
inline MxStillPresenter* GetInfocenterBufferElement(MxS32 p_index) { return m_buffer[p_index]; }
inline StateStruct& GetUnknown0x08() { return m_unk0x08; }
inline StateStruct& GetUnknown0x14() { return m_unk0x14; }
inline StateStruct& GetUnknown0x68() { return m_unk0x68; }
inline MxU32 GetUnknown0x74() { return m_unk0x74; }
@@ -39,7 +41,8 @@ public:
// InfocenterState::`scalar deleting destructor'
private:
undefined m_unk0x08[0x18]; // 0x08
StateStruct m_unk0x08; // 0x08
StateStruct m_unk0x14; // 0x14
StateStruct m_unk0x20[3]; // 0x20
StateStruct m_unk0x44[3]; // 0x44
StateStruct m_unk0x68; // 0x68

View File

@@ -32,6 +32,8 @@ public:
void Play();
void Stop();
inline RadioState* GetState() { return m_state; }
// SYNTHETIC: LEGO1 0x1002c970
// Radio::`scalar deleting destructor'