mirror of
https://github.com/isledecomp/isle.git
synced 2025-12-10 08:03:13 +00:00
LegoActor implementation (#253)
* LegoActor * LegoEntity * Replace float with MxFloat --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user