LegoWorld::LegoWorld to 100% (#480)

This commit is contained in:
MS
2024-01-22 10:18:46 -05:00
committed by GitHub
parent a65eb9a4e0
commit a19165a749
9 changed files with 82 additions and 7 deletions

View File

@@ -1,8 +1,8 @@
#include "legounksavedatawriter.h"
#include "legogamestate.h"
#include "legostream.h"
#include "roi/legoroi.h"
DECOMP_SIZE_ASSERT(LegoSaveDataEntry3, 0x108);
@@ -48,6 +48,14 @@ MxResult LegoUnkSaveDataWriter::WriteSaveData3(LegoStream* p_stream)
return result;
}
// STUB: LEGO1 0x10083500
AutoROI* LegoUnkSaveDataWriter::FUN_10083500(undefined4, undefined4)
{
// TODO
// involves an STL map with a _Nil node at 0x100fc508
return NULL;
}
// STUB: LEGO1 0x10083db0
void LegoUnkSaveDataWriter::FUN_10083db0(LegoROI* p_roi)
{

View File

@@ -17,12 +17,17 @@ DECOMP_SIZE_ASSERT(LegoEntityListCursor, 0x10)
DECOMP_SIZE_ASSERT(MxCoreList, 0x18)
DECOMP_SIZE_ASSERT(MxCoreListCursor, 0x10)
// STUB: LEGO1 0x1001ca40
// FUNCTION: LEGO1 0x1001ca40
LegoWorld::LegoWorld() : m_list0x68(TRUE)
{
// TODO
m_worldStarted = FALSE;
m_unk0xf4 = 4;
m_cameraController = NULL;
m_entityList = NULL;
m_coreList = NULL;
m_unk0xa4 = 0; // MxBool?
m_unk0xf0 = 0;
m_worldStarted = FALSE;
NotificationManager()->Register(this);
}