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:
Nathan M Gilbert
2023-10-25 16:51:59 -04:00
committed by GitHub
parent 9aadb0faeb
commit 7d8c57fc9c
21 changed files with 180 additions and 127 deletions

View File

@@ -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;