mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
- Exhumed: wrap all serialized game data into another JSON object
# Conflicts: # source/exhumed/src/save.cpp
This commit is contained in:
parent
f9866f4a21
commit
1b2895bee6
1 changed files with 3 additions and 0 deletions
|
@ -59,6 +59,8 @@ bool GameInterface::SaveGame()
|
|||
|
||||
void GameInterface::SerializeGameState(FSerializer& arc)
|
||||
{
|
||||
if (arc.BeginObject("exhumed"))
|
||||
{
|
||||
SerializeSwitch(arc);
|
||||
SerializeView(arc);
|
||||
|
||||
|
@ -74,6 +76,7 @@ void GameInterface::SerializeGameState(FSerializer& arc)
|
|||
SerializeSet(arc);
|
||||
SerializeSpider(arc);
|
||||
SerializeWasp(arc);
|
||||
}
|
||||
}
|
||||
|
||||
bool GameInterface::LoadGame()
|
||||
|
|
Loading…
Reference in a new issue