Implement/match Ambulance::HandlePathStruct (#1029)

* Implement/match Ambulance::HandlePathStruct

* Add annotation
This commit is contained in:
Christian Semmler
2024-06-13 14:10:19 -04:00
committed by GitHub
parent cf7246ac6c
commit bbc304ce46
41 changed files with 371 additions and 224 deletions

View File

@@ -32,7 +32,7 @@ MxLong CarRace::HandleEndAction(MxEndActionNotificationParam&)
}
// STUB: LEGO1 0x100170e0
MxLong CarRace::HandleType19Notification(MxType19NotificationParam&)
MxLong CarRace::HandlePathStruct(LegoPathStructEvent&)
{
// TODO
return 0;

View File

@@ -26,7 +26,7 @@ MxLong JetskiRace::HandleClick(LegoEventNotificationParam&)
}
// STUB: LEGO1 0x100166a0
MxLong JetskiRace::HandleType19Notification(MxType19NotificationParam&)
MxLong JetskiRace::HandlePathStruct(LegoPathStructEvent&)
{
return 0;
}

View File

@@ -36,7 +36,7 @@ LegoRace::LegoRace()
}
// FUNCTION: LEGO1 0x10015b70
MxLong LegoRace::HandleType19Notification(MxType19NotificationParam&)
MxLong LegoRace::HandlePathStruct(LegoPathStructEvent&)
{
return 0;
}
@@ -101,8 +101,8 @@ MxLong LegoRace::Notify(MxParam& p_param)
case c_notificationClick:
result = HandleClick((LegoEventNotificationParam&) p_param);
break;
case c_notificationType19:
result = HandleType19Notification((MxType19NotificationParam&) p_param);
case c_notificationPathStruct:
result = HandlePathStruct((LegoPathStructEvent&) p_param);
break;
case c_notificationTransitioned:
GameState()->SwitchArea(m_destLocation);