From f239a6140616340854b2330b75f44abad01ae0a2 Mon Sep 17 00:00:00 2001 From: truebrain Date: Mon, 19 Dec 2011 20:56:34 +0000 Subject: (svn r23609) -Add: save/load all GameScript related material --- src/game/game.hpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/game/game.hpp') diff --git a/src/game/game.hpp b/src/game/game.hpp index bc9a9d502..b3a87b1f1 100644 --- a/src/game/game.hpp +++ b/src/game/game.hpp @@ -33,6 +33,11 @@ public: */ static void Initialize(); + /** + * Start up a new GameScript. + */ + static void StartNew(); + /** * Uninitialize the Game system. */ @@ -51,6 +56,16 @@ public: static void Rescan(); static void ResetConfig(); + /** + * Save data from a GameScript to a savegame. + */ + static void Save(); + + /** + * Load data for a GameScript from a savegame. + */ + static void Load(int version); + /** Wrapper function for GameScanner::GetConsoleList */ static char *GetConsoleList(char *p, const char *last, bool newest_only = false); /** Wrapper function for GameScanner::GetInfoList */ -- cgit v1.2.3-70-g09d2