mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-21 07:11:16 +00:00
Start MxEntity
This commit is contained in:
parent
67115e32d3
commit
17d25899c4
@ -1,19 +1,15 @@
|
||||
#include "mxentity.h"
|
||||
|
||||
// OFFSET: LEGO1 0x1001d190 STUB
|
||||
// OFFSET: LEGO1 0x1001d190
|
||||
MxEntity::MxEntity()
|
||||
{
|
||||
// TODO
|
||||
// FIXME: This won't match because of m_atom. How would it access m_internal?
|
||||
this->m_atom = NULL;
|
||||
this->m_mxEntityId = -1;
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x1000c110 STUB
|
||||
// OFFSET: LEGO1 0x1000c110
|
||||
MxEntity::~MxEntity()
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x10001070 STUB
|
||||
void MxEntity::Destroy()
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
*this->m_atom;
|
||||
}
|
||||
@ -1,7 +1,9 @@
|
||||
#ifndef MXENTITY_H
|
||||
#define MXENTITY_H
|
||||
|
||||
#include "mxatomid.h"
|
||||
#include "mxcore.h"
|
||||
#include "mxtypes.h"
|
||||
|
||||
// VTABLE 0x100d5390
|
||||
class MxEntity : public MxCore
|
||||
@ -22,11 +24,9 @@ class MxEntity : public MxCore
|
||||
{
|
||||
return !strcmp(name, MxEntity::ClassName()) || MxCore::IsA(name);
|
||||
}
|
||||
|
||||
virtual void Destroy(); // vtable+0x1c
|
||||
|
||||
// 0x8: MxResult
|
||||
// 0xc MxAtomId
|
||||
private:
|
||||
MxS32 m_mxEntityId; // 0x8
|
||||
MxAtomId* m_atom; // 0xc
|
||||
};
|
||||
|
||||
#endif // MXENTITY_H
|
||||
|
||||
Loading…
Reference in New Issue
Block a user