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