mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-24 08:54:15 +00:00
Implement/match Motocycle, consistent notification names (#1037)
* Implement/match Motocycle, consistent notification names * Format * Fix * Fix return types * Fix return type * Fix annotations * Rename function
This commit is contained in:
committed by
GitHub
parent
68023379d8
commit
e4e0f4e4d3
@@ -51,7 +51,7 @@ MxBool LegoPathStruct::HandleTrigger(LegoPathActor* p_actor, MxBool p_direction,
|
||||
case c_d: {
|
||||
p_actor->VTable0x58(p_data);
|
||||
|
||||
LegoPathStructEvent param(c_notificationPathStruct, p_actor, m_name[2], p_data);
|
||||
LegoPathStructNotificationParam param(c_notificationPathStruct, p_actor, m_name[2], p_data);
|
||||
p_actor->Notify(param);
|
||||
|
||||
LegoWorld* world = CurrentWorld();
|
||||
@@ -80,7 +80,7 @@ MxBool LegoPathStruct::HandleTrigger(LegoPathActor* p_actor, MxBool p_direction,
|
||||
case c_s: {
|
||||
LegoWorld* world = CurrentWorld();
|
||||
if (world != NULL) {
|
||||
LegoPathStructEvent param(c_notificationPathStruct, p_actor, m_name[2], p_data);
|
||||
LegoPathStructNotificationParam param(c_notificationPathStruct, p_actor, m_name[2], p_data);
|
||||
|
||||
if (world->Notify(param) != 0) {
|
||||
break;
|
||||
@@ -93,7 +93,7 @@ MxBool LegoPathStruct::HandleTrigger(LegoPathActor* p_actor, MxBool p_direction,
|
||||
case c_w: {
|
||||
LegoWorld* world = CurrentWorld();
|
||||
if (world != NULL) {
|
||||
LegoPathStructEvent param(c_notificationPathStruct, p_actor, m_name[2], p_data);
|
||||
LegoPathStructNotificationParam param(c_notificationPathStruct, p_actor, m_name[2], p_data);
|
||||
NotificationManager()->Send(world, param);
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user