aboutsummaryrefslogtreecommitdiff
path: root/engines/draci/draci.h
diff options
context:
space:
mode:
authorRobert Špalek2009-10-04 03:50:10 +0000
committerRobert Špalek2009-10-04 03:50:10 +0000
commitb6d7da6927d7fa3bfb0fd8a48330c6d876e61d53 (patch)
tree2c6f6be938e9c992e3ea65195c6b69900eeaf373 /engines/draci/draci.h
parentb8e02a03c1d0f1a8224a091b910c8210e6486c53 (diff)
downloadscummvm-rg350-b6d7da6927d7fa3bfb0fd8a48330c6d876e61d53.tar.gz
scummvm-rg350-b6d7da6927d7fa3bfb0fd8a48330c6d876e61d53.tar.bz2
scummvm-rg350-b6d7da6927d7fa3bfb0fd8a48330c6d876e61d53.zip
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
Diffstat (limited to 'engines/draci/draci.h')
-rw-r--r--engines/draci/draci.h9
1 files changed, 9 insertions, 0 deletions
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 {