Implement LegoWorld::Enable (#516)

* WIP VTable0x68

* Improve match

* Match

* Fix

* Fix

* Move vars

* Match

* Add call to Isle

* Rename functions

* Fix style
This commit is contained in:
Christian Semmler
2024-02-02 12:18:46 -05:00
committed by GitHub
parent a7acf8c607
commit 558bda4dd2
52 changed files with 312 additions and 97 deletions

View File

@@ -113,6 +113,12 @@ void LegoGameState::FUN_10039780(MxU8)
// TODO
}
// STUB: LEGO1 0x10039940
void LegoGameState::FUN_10039940()
{
// TODO
}
// FUNCTION: LEGO1 0x10039980
MxResult LegoGameState::Save(MxULong p_slot)
{

View File

@@ -7,7 +7,7 @@ DECOMP_SIZE_ASSERT(LegoState::Shuffle, 0x0c)
MxU32 LegoState::Shuffle::FUN_10014d00()
{
// TODO
return 0;
return m_objectIds[0];
}
// STUB: LEGO1 0x10014de0

View File

@@ -118,7 +118,7 @@ MxBool CheckIfEntityExists(MxBool p_enable, const char* p_filename, MxS32 p_enti
LegoWorld* world = FindWorld(MxAtomId(p_filename, e_lowerCase2), p_entityId);
if (world) {
world->VTable0x68(p_enable);
world->Enable(p_enable);
return TRUE;
}
else {