18 #ifndef INCLUDED_SAVEDGAME
19 #define INCLUDED_SAVEDGAME
96 #endif // INCLUDED_SAVEDGAME
std::vector< CScriptValRooted > GetSavedGames(ScriptInterface &scriptInterface)
Get list of saved games for GUI script usage.
bool DeleteSavedGame(const std::wstring &name)
Permanently deletes the saved game archive with the given name.
Status 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.
Public API for simulation system.
Status 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.
i64 Status
Error handling system.
Status Load(const std::wstring &name, ScriptInterface &scriptInterface, CScriptValRooted &metadata, std::string &savedState)
Load saved game archive with the given name.
Abstraction around a SpiderMonkey JSContext.
External interface to the GUI system.