mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-22 15:48:09 -05:00
Small implementations in MxEntity/MxEventManager (#96)
* Small implementations in MxEntity/MxEventManager * Cleanup * Update LEGO1/mxentity.cpp --------- Co-authored-by: MattKC <34096995+itsmattkc@users.noreply.github.com>
This commit is contained in:
parent
dc585c7f61
commit
b6ada8f46c
4 changed files with 21 additions and 4 deletions
|
@ -12,3 +12,11 @@ MxEntity::MxEntity()
|
||||||
MxEntity::~MxEntity()
|
MxEntity::~MxEntity()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// OFFSET: LEGO1 0x10001070
|
||||||
|
MxResult MxEntity::SetEntityId(MxS32 p_id, const MxAtomId &p_atom)
|
||||||
|
{
|
||||||
|
this->m_mxEntityId = p_id;
|
||||||
|
this->m_atom = p_atom;
|
||||||
|
return SUCCESS;
|
||||||
|
}
|
||||||
|
|
|
@ -26,6 +26,8 @@ class MxEntity : public MxCore
|
||||||
{
|
{
|
||||||
return !strcmp(name, MxEntity::ClassName()) || MxCore::IsA(name);
|
return !strcmp(name, MxEntity::ClassName()) || MxCore::IsA(name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
virtual MxResult SetEntityId(MxS32 p_id, const MxAtomId &p_atom); // vtable+0x14
|
||||||
private:
|
private:
|
||||||
MxS32 m_mxEntityId; // 0x8
|
MxS32 m_mxEntityId; // 0x8
|
||||||
MxAtomId m_atom; // 0xc
|
MxAtomId m_atom; // 0xc
|
||||||
|
|
|
@ -1,13 +1,18 @@
|
||||||
#include "mxeventmanager.h"
|
#include "mxeventmanager.h"
|
||||||
|
|
||||||
// OFFSET: LEGO1 0x100c0360 STUB
|
// OFFSET: LEGO1 0x100c0360
|
||||||
MxEventManager::MxEventManager()
|
MxEventManager::MxEventManager()
|
||||||
{
|
{
|
||||||
// TODO
|
Init();
|
||||||
}
|
}
|
||||||
|
|
||||||
// OFFSET: LEGO1 0x100c03f0 STUB
|
// OFFSET: LEGO1 0x100c03f0
|
||||||
MxEventManager::~MxEventManager()
|
MxEventManager::~MxEventManager()
|
||||||
{
|
{
|
||||||
// TODO
|
// TODO: MxMediaManager::TerminateThread call
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// OFFSET: LEGO1 0x100c0450
|
||||||
|
void MxEventManager::Init()
|
||||||
|
{
|
||||||
|
}
|
|
@ -11,6 +11,8 @@ class MxEventManager : public MxUnknown100dc6b0
|
||||||
MxEventManager();
|
MxEventManager();
|
||||||
virtual ~MxEventManager() override;
|
virtual ~MxEventManager() override;
|
||||||
|
|
||||||
|
private:
|
||||||
|
void Init();
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // MXEVENTMANAGER_H
|
#endif // MXEVENTMANAGER_H
|
||||||
|
|
Loading…
Reference in a new issue