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 LEGOBUILDINGMANAGER_H
#include "decomp.h"
#include "lego/sources/misc/legostorage.h"
#include "mxcore.h"
// VTABLE: LEGO1 0x100d6f50
@@ -25,6 +26,8 @@ public:
void FUN_1002fa00();
void FUN_1002fb30();
MxResult Save(LegoStorage* p_storage);
MxResult Load(LegoStorage* p_storage);
void FUN_10030590();
// SYNTHETIC: LEGO1 0x1002f940