Implement LegoCarBuildAnimPresenter::FUN_10079160() and others (#1111)

* Implement `LegoCarBuildAnimPresenter::FUN_10079160()` and others

* Address review comments

---------

Co-authored-by: jonschz <jonschz@users.noreply.github.com>
This commit is contained in:
jonschz
2024-10-11 20:21:33 +02:00
committed by GitHub
parent 85ce10ab50
commit 974cd7ce7c
11 changed files with 360 additions and 52 deletions

View File

@@ -8,6 +8,7 @@ DECOMP_SIZE_ASSERT(LegoTreeNode, 0x010)
DECOMP_SIZE_ASSERT(LegoTree, 0x08)
// FUNCTION: LEGO1 0x10099d60
// FUNCTION: BETA10 0x10187dd0
LegoTreeNode::LegoTreeNode()
{
m_data = NULL;

View File

@@ -9,6 +9,7 @@
class LegoStorage;
// VTABLE: LEGO1 0x100db778
// VTABLE: BETA10 0x101c37f4
// SIZE 0x04
class LegoTreeNodeData {
public:
@@ -36,6 +37,7 @@ public:
// FUNCTION: BETA10 0x100595a0
LegoTreeNodeData* GetData() { return m_data; }
// FUNCTION: BETA10 0x100736f0
void SetData(LegoTreeNodeData* p_data) { m_data = p_data; }
// FUNCTION: BETA10 0x10012150
@@ -52,6 +54,7 @@ public:
// FUNCTION: BETA10 0x100733a0
LegoTreeNode** GetChildren() { return m_children; }
// FUNCTION: BETA10 0x10073720
void SetChildren(LegoTreeNode** p_children) { m_children = p_children; }
// SYNTHETIC: LEGO1 0x10099d80
@@ -73,7 +76,9 @@ public:
// FUNCTION: BETA10 0x100121b0
LegoTreeNode* GetRoot() { return m_root; }
// FUNCTION: BETA10 0x10073750
void SetRoot(LegoTreeNode* p_root) { m_root = p_root; }
virtual LegoResult Read(LegoStorage* p_storage); // vtable+0x04
virtual LegoResult Write(LegoStorage* p_storage); // vtable+0x08