Implement/match Pizzeria::HandleClick (#971)

This commit is contained in:
Christian Semmler
2024-05-30 09:54:24 -04:00
committed by GitHub
parent ae859fbc19
commit 650903d043
57 changed files with 178 additions and 143 deletions

View File

@@ -114,8 +114,8 @@ MxLong RegistrationBook::Notify(MxParam& p_param)
case c_notificationButtonDown:
m_registerDialogueTimer = Timer()->GetTime();
break;
case c_notificationClick:
result = HandleClick((LegoControlManagerEvent&) p_param);
case c_notificationControl:
result = HandleControl((LegoControlManagerEvent&) p_param);
break;
case c_notificationType19:
result = HandleNotification19(p_param);
@@ -210,7 +210,7 @@ MxLong RegistrationBook::HandleKeyPress(MxU8 p_key)
}
// FUNCTION: LEGO1 0x100774a0
MxLong RegistrationBook::HandleClick(LegoControlManagerEvent& p_param)
MxLong RegistrationBook::HandleControl(LegoControlManagerEvent& p_param)
{
MxS16 unk0x28 = p_param.GetUnknown0x28();