diff options
Diffstat (limited to 'engines/sherlock/sherlock.h')
-rw-r--r-- | engines/sherlock/sherlock.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/engines/sherlock/sherlock.h b/engines/sherlock/sherlock.h index 09e969884c..916c9cd253 100644 --- a/engines/sherlock/sherlock.h +++ b/engines/sherlock/sherlock.h @@ -80,6 +80,8 @@ protected: virtual void showOpening() = 0; virtual void startScene() {} + + virtual bool hasFeature(EngineFeature f) const; public: const SherlockGameDescription *_gameDescription; Animation *_animation; @@ -108,12 +110,18 @@ public: bool _slowChess; int _keyPadSpeed; int _loadGameSlot; + bool _canLoadSave; public: SherlockEngine(OSystem *syst, const SherlockGameDescription *gameDesc); virtual ~SherlockEngine(); virtual Common::Error run(); + virtual bool canLoadGameStateCurrently(); + virtual bool canSaveGameStateCurrently(); + virtual Common::Error loadGameState(int slot); + virtual Common::Error saveGameState(int slot, const Common::String &desc); + int getGameType() const; uint32 getGameID() const; uint32 getGameFeatures() const; @@ -128,8 +136,6 @@ public: void setFlags(int flagNum); - void freeSaveGameList(); - void saveConfig(); void synchronize(Common::Serializer &s); |