diff options
author | Bendegúz Nagy | 2016-08-19 11:49:29 +0200 |
---|---|---|
committer | Bendegúz Nagy | 2016-08-26 23:02:22 +0200 |
commit | efac7b5eb0dd90bc45761a666d8b68ddad703d19 (patch) | |
tree | 849ff961ae5d989a4561c482ceabd7e9797de8ac /engines/dm/dm.h | |
parent | 5cb1d02972bd13130e6b177dea6e35045ae54055 (diff) | |
download | scummvm-rg350-efac7b5eb0dd90bc45761a666d8b68ddad703d19.tar.gz scummvm-rg350-efac7b5eb0dd90bc45761a666d8b68ddad703d19.tar.bz2 scummvm-rg350-efac7b5eb0dd90bc45761a666d8b68ddad703d19.zip |
DM: Add loading from game
Diffstat (limited to 'engines/dm/dm.h')
-rw-r--r-- | engines/dm/dm.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/dm/dm.h b/engines/dm/dm.h index 2e3144bbaf..9bf2c1521c 100644 --- a/engines/dm/dm.h +++ b/engines/dm/dm.h @@ -219,6 +219,10 @@ public: explicit DMEngine(OSystem *syst, const ADGameDescription *gameDesc); ~DMEngine(); virtual bool hasFeature(EngineFeature f) const; + + virtual Common::Error loadGameState(int slot); + virtual bool canLoadGameStateCurrently(); + GUI::Debugger *getDebugger() { return _console; } void f22_delay(uint16 verticalBlank); // @ F0022_MAIN_Delay @@ -250,6 +254,7 @@ private: byte *_savedScreenForOpenEntranceDoors; // ad-hoc HACK const ADGameDescription *_gameVersion; + bool _canLoadFromGMM; public: Console *_console; DisplayMan *_displayMan; @@ -270,6 +275,7 @@ public: Common::MemoryWriteStreamDynamic *_saveThumbnail; bool _engineShouldQuit; + int _loadSaveSlotAtRuntime; int16 _g298_newGame; // @ G0298_B_NewGame bool _g523_restartGameRequest; // @ G0523_B_RestartGameRequested |