mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 18:51:16 +00:00
Rename enum
This commit is contained in:
parent
bdf9677246
commit
91fb8515c8
@ -10,7 +10,7 @@
|
|||||||
// SIZE 0x20
|
// SIZE 0x20
|
||||||
class LegoEventNotificationParam : public MxNotificationParam {
|
class LegoEventNotificationParam : public MxNotificationParam {
|
||||||
public:
|
public:
|
||||||
inline LegoEventNotificationParam() : MxNotificationParam(c_notificationNone, NULL) {}
|
inline LegoEventNotificationParam() : MxNotificationParam(c_notificationType0, NULL) {}
|
||||||
inline LegoEventNotificationParam(
|
inline LegoEventNotificationParam(
|
||||||
NotificationId p_type,
|
NotificationId p_type,
|
||||||
MxCore* p_sender,
|
MxCore* p_sender,
|
||||||
|
|||||||
@ -84,7 +84,7 @@ MxLong Infocenter::Notify(MxParam& p_param)
|
|||||||
|
|
||||||
if (m_worldStarted) {
|
if (m_worldStarted) {
|
||||||
switch (((MxNotificationParam&) p_param).GetNotification()) {
|
switch (((MxNotificationParam&) p_param).GetNotification()) {
|
||||||
case 0:
|
case c_notificationType0:
|
||||||
result = HandleNotification0(p_param);
|
result = HandleNotification0(p_param);
|
||||||
break;
|
break;
|
||||||
case c_notificationEndAction:
|
case c_notificationEndAction:
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
class MxCore;
|
class MxCore;
|
||||||
|
|
||||||
enum NotificationId {
|
enum NotificationId {
|
||||||
c_notificationNone = 0,
|
c_notificationType0 = 0,
|
||||||
c_notificationStartAction = 1, // 100dc210:100d8350
|
c_notificationStartAction = 1, // 100dc210:100d8350
|
||||||
c_notificationEndAction = 2, // 100d8358:100d8350
|
c_notificationEndAction = 2, // 100d8358:100d8350
|
||||||
c_notificationType4 = 4, // 100dc208:100d8350
|
c_notificationType4 = 4, // 100dc208:100d8350
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user