Pyrogenesis
13997
|
Contains functions for managing saved game archives. More...
Go to the source code of this file.
Namespaces | |
SavedGames | |
Functions | |
Status | SavedGames::Save (const std::wstring &name, const std::wstring &description, CSimulation2 &simulation, CGUIManager *gui, int playerID) |
Create new saved game archive with given name and simulation data. More... | |
Status | SavedGames::SavePrefix (const std::wstring &prefix, const std::wstring &description, CSimulation2 &simulation, CGUIManager *gui, int playerID) |
Create new saved game archive with given prefix and simulation data. More... | |
Status | SavedGames::Load (const std::wstring &name, ScriptInterface &scriptInterface, CScriptValRooted &metadata, std::string &savedState) |
Load saved game archive with the given name. More... | |
std::vector< CScriptValRooted > | SavedGames::GetSavedGames (ScriptInterface &scriptInterface) |
Get list of saved games for GUI script usage. More... | |
bool | SavedGames::DeleteSavedGame (const std::wstring &name) |
Permanently deletes the saved game archive with the given name. More... | |
Contains functions for managing saved game archives.
A saved game is simply a zip archive with the extension '0adsave' and containing two files:
Definition in file SavedGame.h.