This commit is contained in:
Christian Semmler 2024-02-11 17:08:33 -05:00
parent 1e4968eb91
commit 7d72575079
2 changed files with 5 additions and 1 deletions

View File

@ -27,6 +27,7 @@ class RegistrationBook : public LegoWorld {
c_check8ctl = 92, c_check8ctl = 92,
c_check9ctl = 95, c_check9ctl = 95,
}; };
RegistrationBook(); RegistrationBook();
~RegistrationBook() override; // vtable+0x00 ~RegistrationBook() override; // vtable+0x00

View File

@ -63,6 +63,7 @@ MxLong RegistrationBook::Notify(MxParam& p_param)
{ {
MxLong result = 0; MxLong result = 0;
LegoWorld::Notify(p_param); LegoWorld::Notify(p_param);
if (m_worldStarted) { if (m_worldStarted) {
switch (((MxNotificationParam&) p_param).GetType()) { switch (((MxNotificationParam&) p_param).GetType()) {
case c_notificationEndAction: case c_notificationEndAction:
@ -74,7 +75,6 @@ MxLong RegistrationBook::Notify(MxParam& p_param)
break; break;
case c_notificationButtonDown: case c_notificationButtonDown:
m_unk0xf8 = Timer()->GetTime(); m_unk0xf8 = Timer()->GetTime();
result = 0;
break; break;
case c_notificationClick: case c_notificationClick:
result = HandleClick((LegoControlManagerEvent&) p_param); result = HandleClick((LegoControlManagerEvent&) p_param);
@ -87,8 +87,10 @@ MxLong RegistrationBook::Notify(MxParam& p_param)
break; break;
} }
} }
return result; return result;
} }
// STUB: LEGO1 0x10077210 // STUB: LEGO1 0x10077210
MxLong RegistrationBook::HandleEndAction(MxEndActionNotificationParam& p_param) MxLong RegistrationBook::HandleEndAction(MxEndActionNotificationParam& p_param)
{ {
@ -122,6 +124,7 @@ MxResult RegistrationBook::Tickle()
else { else {
// TODO // TODO
} }
return SUCCESS; return SUCCESS;
} }