diff options
author | Joseph-Eugene Winzer | 2017-08-29 01:27:07 +0200 |
---|---|---|
committer | Thierry Crozat | 2018-01-23 01:53:31 +0000 |
commit | 3f68cda2d7889d21a764e39f1c8ce924609c919e (patch) | |
tree | d375d3e89abf46997c51bda0bd8aa304cc91a408 /engines/supernova/supernova.h | |
parent | ef14dfb7c301b4210770e95955b27e765b3353b2 (diff) | |
download | scummvm-rg350-3f68cda2d7889d21a764e39f1c8ce924609c919e.tar.gz scummvm-rg350-3f68cda2d7889d21a764e39f1c8ce924609c919e.tar.bz2 scummvm-rg350-3f68cda2d7889d21a764e39f1c8ce924609c919e.zip |
SUPERNOVA: Implements de-/serialization
WIP. It is currently broken.
Diffstat (limited to 'engines/supernova/supernova.h')
-rw-r--r-- | engines/supernova/supernova.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/supernova/supernova.h b/engines/supernova/supernova.h index 1a81e0f17a..4327ba1d7d 100644 --- a/engines/supernova/supernova.h +++ b/engines/supernova/supernova.h @@ -95,6 +95,8 @@ public: Common::Event _event; int _screenWidth; int _screenHeight; + bool _allowLoadGame; + bool _allowSaveGame; byte _imageIndex; byte _sectionIndex; @@ -133,9 +135,15 @@ public: void renderBox(int x, int y, int width, int height, byte color); void setColor63(byte value); void command_print(); + bool loadGame(int slot); + bool saveGame(int slot, const Common::String &description); Common::MemoryReadStream *convertToMod(const char *filename, int version = 1); + virtual Common::Error loadGameState(int slot); + virtual bool canLoadGameStateCurrently(); + virtual Common::Error saveGameState(int slot, const Common::String &desc); + virtual bool canSaveGameStateCurrently(); virtual bool hasFeature(EngineFeature f) const; virtual void pauseEngineIntern(bool pause); }; |