mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-26 17:36:12 -05:00
Implement NotifyCurrentEntity (#224)
This commit is contained in:
parent
4f201eaa48
commit
6931a817a6
4 changed files with 9 additions and 5 deletions
|
@ -6,6 +6,7 @@
|
|||
#include "legoutil.h"
|
||||
#include "legoobjectfactory.h"
|
||||
#include "legoinputmanager.h"
|
||||
#include "legoworld.h"
|
||||
|
||||
// 0x100f4588
|
||||
MxAtomId *g_nocdSourceName = NULL;
|
||||
|
@ -329,9 +330,11 @@ int LegoOmni::vtable0x30(char*, int, MxCore*)
|
|||
return 0;
|
||||
}
|
||||
|
||||
void LegoOmni::NotifyCurrentEntity()
|
||||
// OFFSET: LEGO1 0x1005b3a0
|
||||
void LegoOmni::NotifyCurrentEntity(MxNotificationParam *p_param)
|
||||
{
|
||||
// FIXME: Stub
|
||||
if (m_currentWorld)
|
||||
NotificationManager()->Send(m_currentWorld, p_param);
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x1005b640
|
||||
|
|
|
@ -61,7 +61,7 @@ class LegoOmni : public MxOmni
|
|||
virtual MxBool DoesEntityExist(MxDSAction &ds) override;
|
||||
virtual void vtable0x2c() override;
|
||||
virtual int vtable0x30(char*, int, MxCore*) override;
|
||||
virtual void NotifyCurrentEntity() override;
|
||||
virtual void NotifyCurrentEntity(MxNotificationParam *p_param) override;
|
||||
virtual void StartTimer() override;
|
||||
virtual void StopTimer() override;
|
||||
|
||||
|
|
|
@ -94,7 +94,7 @@ int MxOmni::vtable0x30(char*, int, MxCore*)
|
|||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100aefc0
|
||||
void MxOmni::NotifyCurrentEntity(MxParam *p_param)
|
||||
void MxOmni::NotifyCurrentEntity(MxNotificationParam *p_param)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -10,6 +10,7 @@ class MxDSAction;
|
|||
class MxEventManager;
|
||||
class MxMusicManager;
|
||||
class MxNotificationManager;
|
||||
class MxNotificationParam;
|
||||
class MxObjectFactory;
|
||||
class MxOmniCreateParam;
|
||||
class MxSoundManager;
|
||||
|
@ -45,7 +46,7 @@ class MxOmni : public MxCore
|
|||
virtual MxBool DoesEntityExist(MxDSAction &ds); // vtable+28
|
||||
virtual void vtable0x2c(); // vtable+2c
|
||||
virtual int vtable0x30(char*, int, MxCore*); // vtable+30
|
||||
virtual void NotifyCurrentEntity(MxParam *p_param); // vtable+34
|
||||
virtual void NotifyCurrentEntity(MxNotificationParam *p_param); // vtable+34
|
||||
virtual void StartTimer(); // vtable+38
|
||||
virtual void StopTimer(); // vtable+3c
|
||||
virtual MxBool IsTimerRunning(); //vtable+40
|
||||
|
|
Loading…
Reference in a new issue