diff options
author | Thierry Crozat | 2017-04-22 23:52:57 +0100 |
---|---|---|
committer | Thierry Crozat | 2017-04-22 23:53:10 +0100 |
commit | c095cb31d1d3ce41e10fa82c66f1d9fe37c66bf3 (patch) | |
tree | 60d927b90d03b4e59db3c1e7e64afa5adea91997 /engines/drascula/drascula.h | |
parent | 9527139deb7c8302e3189124d8b05e985b9bae73 (diff) | |
download | scummvm-rg350-c095cb31d1d3ce41e10fa82c66f1d9fe37c66bf3.tar.gz scummvm-rg350-c095cb31d1d3ce41e10fa82c66f1d9fe37c66bf3.tar.bz2 scummvm-rg350-c095cb31d1d3ce41e10fa82c66f1d9fe37c66bf3.zip |
DRASCULA: Add possibility to load and save games using GMM
Diffstat (limited to 'engines/drascula/drascula.h')
-rw-r--r-- | engines/drascula/drascula.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/engines/drascula/drascula.h b/engines/drascula/drascula.h index 5265324d91..2f8fc86209 100644 --- a/engines/drascula/drascula.h +++ b/engines/drascula/drascula.h @@ -327,6 +327,11 @@ public: virtual void syncSoundSettings(); + virtual Common::Error loadGameState(int slot); + virtual bool canLoadGameStateCurrently(); + virtual Common::Error saveGameState(int slot, const Common::String &desc); + virtual bool canSaveGameStateCurrently(); + Common::RandomSource *_rnd; const DrasculaGameDescription *_gameDescription; uint32 getFeatures() const; @@ -457,6 +462,7 @@ public: int currentChapter; bool _loadedDifferentChapter; int _currentSaveSlot; + bool _canSaveLoad; int _color; int musicStopped; int _mouseX, _mouseY, _leftMouseButton, _rightMouseButton; @@ -497,10 +503,10 @@ public: bool scummVMSaveLoadDialog(bool isSave); Common::String enterName(Common::String &selectedName); void loadSaveNames(); - void saveGame(int slot, Common::String &desc); + void saveGame(int slot, const Common::String &desc); bool loadGame(int slot); void checkForOldSaveGames(); - void convertSaveGame(int slot, Common::String &desc); + void convertSaveGame(int slot, const Common::String &desc); void print_abc(const char *, int, int); void delay(int ms); |