mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-22 15:48:09 -05:00
IslePathActor: implement notify, remove usage of this keyword (#724)
This commit is contained in:
parent
0aa8d54990
commit
2261f7f039
1 changed files with 28 additions and 7 deletions
|
@ -1,14 +1,16 @@
|
|||
#include "islepathactor.h"
|
||||
|
||||
#include "mxnotificationparam.h"
|
||||
|
||||
DECOMP_SIZE_ASSERT(IslePathActor, 0x160)
|
||||
|
||||
// FUNCTION: LEGO1 0x1001a200
|
||||
IslePathActor::IslePathActor()
|
||||
{
|
||||
this->m_world = NULL;
|
||||
this->m_unk0x13c = 6.0;
|
||||
this->m_unk0x15c = 1.0;
|
||||
this->m_unk0x158 = 0;
|
||||
m_world = NULL;
|
||||
m_unk0x13c = 6.0;
|
||||
m_unk0x15c = 1.0;
|
||||
m_unk0x158 = 0;
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x1001a280
|
||||
|
@ -25,11 +27,30 @@ void IslePathActor::Destroy(MxBool p_fromDestructor)
|
|||
}
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x1001a2c0
|
||||
// FUNCTION: LEGO1 0x1001a2c0
|
||||
MxLong IslePathActor::Notify(MxParam& p_param)
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
MxLong ret = 0;
|
||||
|
||||
switch (((MxNotificationParam&) p_param).GetType()) {
|
||||
case c_notificationType0:
|
||||
ret = VTable0xd0();
|
||||
break;
|
||||
case c_notificationType11:
|
||||
ret = VTable0xcc();
|
||||
break;
|
||||
case c_notificationClick:
|
||||
ret = VTable0xd4((LegoControlManagerEvent&) p_param);
|
||||
break;
|
||||
case c_notificationType18:
|
||||
ret = VTable0xd8((MxType18NotificationParam&) p_param);
|
||||
break;
|
||||
case c_notificationType19:
|
||||
ret = VTable0xdc((MxType19NotificationParam&) p_param);
|
||||
break;
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x1001a350
|
||||
|
|
Loading…
Reference in a new issue