mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-25 17:34:05 +00:00
Fix writing/reading of game state (#834)
* Fix writing/reading of game state * Match existing state serialization functions
This commit is contained in:
committed by
GitHub
parent
26f2dd1e5f
commit
c9db98c4c3
@@ -45,13 +45,13 @@ void LegoBuildingManager::FUN_1002fb30()
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x1002fb80
|
||||
MxResult LegoBuildingManager::Save(LegoStorage* p_storage)
|
||||
MxResult LegoBuildingManager::Write(LegoStorage* p_storage)
|
||||
{
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x1002fc10
|
||||
MxResult LegoBuildingManager::Load(LegoStorage* p_storage)
|
||||
MxResult LegoBuildingManager::Read(LegoStorage* p_storage)
|
||||
{
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
@@ -15,8 +15,8 @@ LegoVehicleBuildState::LegoVehicleBuildState(char* p_classType)
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x10026120
|
||||
MxResult LegoVehicleBuildState::VTable0x1c(LegoFile* p_legoFile)
|
||||
MxResult LegoVehicleBuildState::Serialize(LegoFile* p_legoFile)
|
||||
{
|
||||
// TODO
|
||||
return SUCCESS;
|
||||
return LegoState::Serialize(p_legoFile);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user