mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-27 18:21:15 +00:00
LegoEntity
This commit is contained in:
parent
26b2455b76
commit
949fbbbba1
@ -3,6 +3,7 @@
|
|||||||
#include "define.h"
|
#include "define.h"
|
||||||
#include "legoomni.h"
|
#include "legoomni.h"
|
||||||
#include "legoutil.h"
|
#include "legoutil.h"
|
||||||
|
#include "legoworld.h"
|
||||||
|
|
||||||
DECOMP_SIZE_ASSERT(LegoEntity, 0x68)
|
DECOMP_SIZE_ASSERT(LegoEntity, 0x68)
|
||||||
|
|
||||||
@ -60,12 +61,12 @@ void LegoEntity::Destroy(MxBool p_fromDestructor)
|
|||||||
Init();
|
Init();
|
||||||
}
|
}
|
||||||
|
|
||||||
// OFFSET: LEGO1 0x10010880 STUB
|
// OFFSET: LEGO1 0x10010880
|
||||||
void LegoEntity::SetWorld()
|
void LegoEntity::SetWorld()
|
||||||
{
|
{
|
||||||
LegoWorld* world = GetCurrentWorld();
|
LegoWorld* world = GetCurrentWorld();
|
||||||
if (world != NULL && world != (LegoWorld*) this) {
|
if (world != NULL && world != (LegoWorld*) this) {
|
||||||
// TODO: world->AddEntity(this);
|
world->VTable0x58(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -13,10 +13,7 @@
|
|||||||
class LegoEntity : public MxEntity {
|
class LegoEntity : public MxEntity {
|
||||||
public:
|
public:
|
||||||
// Inlined at 0x100853f7
|
// Inlined at 0x100853f7
|
||||||
inline LegoEntity()
|
inline LegoEntity() { Init(); }
|
||||||
{
|
|
||||||
Init();
|
|
||||||
}
|
|
||||||
|
|
||||||
__declspec(dllexport) virtual ~LegoEntity() override; // vtable+0x0
|
__declspec(dllexport) virtual ~LegoEntity() override; // vtable+0x0
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user