mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 18:51:16 +00:00
Fixes
This commit is contained in:
parent
1e4968eb91
commit
7d72575079
@ -27,6 +27,7 @@ class RegistrationBook : public LegoWorld {
|
||||
c_check8ctl = 92,
|
||||
c_check9ctl = 95,
|
||||
};
|
||||
|
||||
RegistrationBook();
|
||||
~RegistrationBook() override; // vtable+0x00
|
||||
|
||||
|
||||
@ -63,6 +63,7 @@ MxLong RegistrationBook::Notify(MxParam& p_param)
|
||||
{
|
||||
MxLong result = 0;
|
||||
LegoWorld::Notify(p_param);
|
||||
|
||||
if (m_worldStarted) {
|
||||
switch (((MxNotificationParam&) p_param).GetType()) {
|
||||
case c_notificationEndAction:
|
||||
@ -74,7 +75,6 @@ MxLong RegistrationBook::Notify(MxParam& p_param)
|
||||
break;
|
||||
case c_notificationButtonDown:
|
||||
m_unk0xf8 = Timer()->GetTime();
|
||||
result = 0;
|
||||
break;
|
||||
case c_notificationClick:
|
||||
result = HandleClick((LegoControlManagerEvent&) p_param);
|
||||
@ -87,8 +87,10 @@ MxLong RegistrationBook::Notify(MxParam& p_param)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x10077210
|
||||
MxLong RegistrationBook::HandleEndAction(MxEndActionNotificationParam& p_param)
|
||||
{
|
||||
@ -122,6 +124,7 @@ MxResult RegistrationBook::Tickle()
|
||||
else {
|
||||
// TODO
|
||||
}
|
||||
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user