mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-25 09:24:17 +00:00
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:
committed by
GitHub
parent
a7acf8c607
commit
558bda4dd2
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user