diff options
author | Paul Gilbert | 2011-05-14 18:20:56 +1000 |
---|---|---|
committer | Paul Gilbert | 2011-05-14 18:20:56 +1000 |
commit | 1568f1956908b3d4375f735129d5c2bf3f3f5b5c (patch) | |
tree | 896021bad619697699a4480d319a60324dfee82f /engines/tsage/core.h | |
parent | 621a6e522948b35b7967c0f573c6008fc0fca078 (diff) | |
download | scummvm-rg350-1568f1956908b3d4375f735129d5c2bf3f3f5b5c.tar.gz scummvm-rg350-1568f1956908b3d4375f735129d5c2bf3f3f5b5c.tar.bz2 scummvm-rg350-1568f1956908b3d4375f735129d5c2bf3f3f5b5c.zip |
TSAGE: Moved scene creation into the Game class, and separated out the Ringworld demo scene creation to it's own game class
Diffstat (limited to 'engines/tsage/core.h')
-rw-r--r-- | engines/tsage/core.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/engines/tsage/core.h b/engines/tsage/core.h index f984a72474..71130e5b0b 100644 --- a/engines/tsage/core.h +++ b/engines/tsage/core.h @@ -909,30 +909,6 @@ public: static void saveListener(Serializer &ser); }; -/*--------------------------------------------------------------------------*/ - -class Game { -protected: - SynchronizedList<GameHandler *> _handlers; - - static bool notLockedFn(GameHandler *g); - virtual void handleSaveLoad(bool saveFlag, int &saveSlot, Common::String &saveName) {} -public: - virtual ~Game() {} - - void addHandler(GameHandler *entry) { _handlers.push_back(entry); } - void removeHandler(GameHandler *entry) { _handlers.remove(entry); } - - void execute(); - virtual void start() = 0; - virtual void restart() {} - virtual void restartGame() {} - virtual void saveGame() {} - virtual void restoreGame() {} - virtual void quitGame() {} - virtual void endGame(int resNum, int lineNum) {} -}; - } // End of namespace tSage #endif |