mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-24 08:54:15 +00:00
Rename some functions and members (#246)
* Rename some functions and members * Match LegoWorld::Notify to 100% * Match MxOmni::Destroy to 100% * Fix parameter prefix * Fix another parameter * Fix CR at EOF * Fix CR at EOF --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
@@ -40,16 +40,16 @@ MxLong Score::Notify(MxParam& p)
|
||||
MxLong ret = 0;
|
||||
LegoWorld::Notify(p);
|
||||
if (m_unkf6) {
|
||||
switch (((MxNotificationParam&) p).GetType()) {
|
||||
switch (((MxNotificationParam&) p).GetNotification()) {
|
||||
case PAINT:
|
||||
ret = 1;
|
||||
Paint();
|
||||
break;
|
||||
case MXSTREAMER_UNKNOWN:
|
||||
case c_notificationEndAction:
|
||||
ret = FUN_10001510((MxEndActionNotificationParam&) p);
|
||||
break;
|
||||
case APP_MESSAGE:
|
||||
if (((MxAppNotificationParam&) p).GetUnknown18() == 0x20)
|
||||
case c_notificationKeyPress:
|
||||
if (((LegoEventNotificationParam&) p).GetKey() == 0x20)
|
||||
DeleteScript(); // Shutting down
|
||||
ret = 1;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user