Implement Save, Load, DeleteState (#602)

* Implement Save, Load, DeleteState

* WIP

* WIP

* Match LegoGameState::Save

* Spacing

* Match LegoGameState::DeleteState()

* More match

* Match

* Move vars

* Other fixes

* Rename

* Fix error

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
Nathan M Gilbert
2024-02-27 15:04:17 -05:00
committed by GitHub
parent c0a988b0fe
commit 4d84157888
16 changed files with 300 additions and 54 deletions

View File

@@ -2,6 +2,7 @@
#define LEGOPLANTMANAGER_H
#include "decomp.h"
#include "lego/sources/misc/legostorage.h"
#include "mxcore.h"
// VTABLE: LEGO1 0x100d6758
@@ -22,6 +23,8 @@ public:
void FUN_10026360(MxS32 p_scriptIndex);
void FUN_100263a0(undefined4 p_und);
void Save(LegoStorage* p_storage);
MxResult Load(LegoStorage* p_storage);
void FUN_10027120();
static void SetCustomizeAnimFile(const char* p_value);