mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +00:00
Some improvements to LegoGameState
(#1353)
* Beta match ReadVariable and WriteVariable * Change param type for GetFileSavePath * Remove copy constructor for LegoGameState::Username
This commit is contained in:
@@ -135,7 +135,6 @@ public:
|
||||
// SIZE 0x0e
|
||||
struct Username {
|
||||
Username();
|
||||
Username(Username& p_other) { Set(p_other); }
|
||||
void Set(Username& p_other) { memcpy(m_letters, p_other.m_letters, sizeof(m_letters)); }
|
||||
|
||||
MxResult Serialize(LegoStorage* p_storage);
|
||||
@@ -193,7 +192,7 @@ public:
|
||||
LegoState* GetState(const char* p_stateName);
|
||||
LegoState* CreateState(const char* p_stateName);
|
||||
|
||||
void GetFileSavePath(MxString* p_outPath, MxU8 p_slotn);
|
||||
void GetFileSavePath(MxString* p_outPath, MxS16 p_slotn);
|
||||
void StopArea(Area p_area);
|
||||
void SwitchArea(Area p_area);
|
||||
void Init();
|
||||
|
Reference in New Issue
Block a user