mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-21 15:21:15 +00:00
Small implementations in MxEntity/MxEventManager
This commit is contained in:
parent
fa5417f58a
commit
373cb87665
@ -9,4 +9,12 @@ MxEntity::MxEntity()
|
|||||||
// OFFSET: LEGO1 0x1000c110
|
// OFFSET: LEGO1 0x1000c110
|
||||||
MxEntity::~MxEntity()
|
MxEntity::~MxEntity()
|
||||||
{
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
// OFFSET: LEGO1 0x10001070
|
||||||
|
MxResult MxEntity::SetEntityId(MxS32 p_id, MxAtomId *p_atom)
|
||||||
|
{
|
||||||
|
this->m_mxEntityId = p_id;
|
||||||
|
// FIXME: MxAtomId operator call, probably it will be return whatever the comparison is for comparing this->m_atom to the p_atom
|
||||||
|
return FALSE;
|
||||||
}
|
}
|
||||||
@ -24,6 +24,8 @@ class MxEntity : public MxCore
|
|||||||
{
|
{
|
||||||
return !strcmp(name, MxEntity::ClassName()) || MxCore::IsA(name);
|
return !strcmp(name, MxEntity::ClassName()) || MxCore::IsA(name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
virtual MxResult MxEntity::SetEntityId(MxS32 p_id, MxAtomId *p_atom);
|
||||||
private:
|
private:
|
||||||
MxS32 m_mxEntityId; // 0x8
|
MxS32 m_mxEntityId; // 0x8
|
||||||
MxAtomId m_atom; // 0xc
|
MxAtomId m_atom; // 0xc
|
||||||
|
|||||||
@ -1,13 +1,21 @@
|
|||||||
#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()
|
||||||
|
{
|
||||||
|
// huh?
|
||||||
|
// imagine if the devs actually put this here to troll us
|
||||||
|
return;
|
||||||
|
}
|
||||||
@ -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 New Issue
Block a user