mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-24 08:41:16 +00:00
LegoEntity
This commit is contained in:
parent
26b2455b76
commit
949fbbbba1
@ -23,11 +23,11 @@ class LegoActor : public LegoEntity {
|
||||
return !strcmp(name, LegoActor::ClassName()) || LegoEntity::IsA(name);
|
||||
}
|
||||
|
||||
virtual float VTable0x50(); // vtable+0x50
|
||||
virtual void VTable0x54(float p_unk); // vtable+0x54
|
||||
virtual void VTable0x58(float p_unk); // vtable+0x58
|
||||
virtual float VTable0x5c(); // vtable+0x5c
|
||||
virtual undefined VTable0x60(); // vtable+0x60
|
||||
virtual float VTable0x50(); // vtable+0x50
|
||||
virtual void VTable0x54(float p_unk); // vtable+0x54
|
||||
virtual void VTable0x58(float p_unk); // vtable+0x58
|
||||
virtual float VTable0x5c(); // vtable+0x5c
|
||||
virtual undefined VTable0x60(); // vtable+0x60
|
||||
virtual void VTable0x64(undefined p_unk); // vtable+0x64
|
||||
|
||||
private:
|
||||
|
||||
@ -3,6 +3,7 @@
|
||||
#include "define.h"
|
||||
#include "legoomni.h"
|
||||
#include "legoutil.h"
|
||||
#include "legoworld.h"
|
||||
|
||||
DECOMP_SIZE_ASSERT(LegoEntity, 0x68)
|
||||
|
||||
@ -60,12 +61,12 @@ void LegoEntity::Destroy(MxBool p_fromDestructor)
|
||||
Init();
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x10010880 STUB
|
||||
// OFFSET: LEGO1 0x10010880
|
||||
void LegoEntity::SetWorld()
|
||||
{
|
||||
LegoWorld* world = GetCurrentWorld();
|
||||
if (world != NULL && world != (LegoWorld*) this) {
|
||||
// TODO: world->AddEntity(this);
|
||||
world->VTable0x58(this);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -13,10 +13,7 @@
|
||||
class LegoEntity : public MxEntity {
|
||||
public:
|
||||
// Inlined at 0x100853f7
|
||||
inline LegoEntity()
|
||||
{
|
||||
Init();
|
||||
}
|
||||
inline LegoEntity() { Init(); }
|
||||
|
||||
__declspec(dllexport) virtual ~LegoEntity() override; // vtable+0x0
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user