mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 16:34:06 +00:00
Further clean up Omni/LegoOmni separation (#423)
* Fix inline functions * Whitespace * Try this * Fix MxEntity * Further fixes * Move main out * Replace tickle code
This commit is contained in:
committed by
GitHub
parent
75f7791d6f
commit
516e16faf6
@@ -11,8 +11,11 @@
|
||||
// SIZE 0x10
|
||||
class MxEntity : public MxCore {
|
||||
public:
|
||||
MxEntity();
|
||||
virtual ~MxEntity() override;
|
||||
// FUNCTION: LEGO1 0x1001d190
|
||||
MxEntity() { this->m_mxEntityId = -1; }
|
||||
|
||||
// FUNCTION: LEGO1 0x1000c110
|
||||
virtual ~MxEntity() override{};
|
||||
|
||||
// FUNCTION: LEGO1 0x1000c180
|
||||
inline virtual const char* ClassName() const override // vtable+0xc
|
||||
@@ -27,7 +30,14 @@ public:
|
||||
return !strcmp(p_name, MxEntity::ClassName()) || MxCore::IsA(p_name);
|
||||
}
|
||||
|
||||
virtual MxResult Create(MxS32 p_id, const MxAtomId& p_atom); // vtable+0x14
|
||||
// FUNCTION: LEGO1 0x10001070
|
||||
virtual MxResult Create(MxS32 p_id, const MxAtomId& p_atom)
|
||||
{
|
||||
this->m_mxEntityId = p_id;
|
||||
this->m_atom = p_atom;
|
||||
return SUCCESS;
|
||||
}; // vtable+0x14
|
||||
|
||||
inline MxResult Create(MxDSObject& p_dsObject)
|
||||
{
|
||||
m_mxEntityId = p_dsObject.GetObjectId();
|
||||
|
||||
Reference in New Issue
Block a user