From b6d7da6927d7fa3bfb0fd8a48330c6d876e61d53 Mon Sep 17 00:00:00 2001 From: Robert Špalek Date: Sun, 4 Oct 2009 03:50:10 +0000 Subject: Implement all boilerplate concerning Global Main Menu. All currently defined featues will be supported. I have implemented everything boilerplatish, except for the actual game saving/loading (which will come in the next commit), getting volumes from the configuration (because we don't play sounds yet), and changing subtitles. svn-id: r44583 --- engines/draci/draci.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'engines/draci/draci.h') diff --git a/engines/draci/draci.h b/engines/draci/draci.h index 7876025b9d..fed7cfed7e 100644 --- a/engines/draci/draci.h +++ b/engines/draci/draci.h @@ -54,6 +54,12 @@ public: void handleEvents(); + static const char *getSavegameFile(int saveGameIdx); + virtual Common::Error loadGameState(int slot); + virtual bool canLoadGameStateCurrently(); + virtual Common::Error saveGameState(int slot, const char *desc); + virtual bool canSaveGameStateCurrently(); + Screen *_screen; Mouse *_mouse; Game *_game; @@ -79,6 +85,9 @@ public: bool _showWalkingMap; Common::RandomSource _rnd; + + int32 _engineStartTime; + int32 _pauseStartTime; }; enum { -- cgit v1.2.3