diff options
Diffstat (limited to 'engines/griffon/griffon.h')
-rw-r--r-- | engines/griffon/griffon.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/engines/griffon/griffon.h b/engines/griffon/griffon.h index f2e397e233..40d7de8948 100644 --- a/engines/griffon/griffon.h +++ b/engines/griffon/griffon.h @@ -37,6 +37,7 @@ #define GRIFFON_GRIFFON_H #include "common/scummsys.h" +#include "common/error.h" #include "common/events.h" #include "common/random.h" #include "engines/engine.h" @@ -428,6 +429,17 @@ private: void setupAudio(); void updateMusic(); + Common::Error loadGameState(int slot) { + return loadPlayer(slot) ? Common::kNoError : Common::kUnknownError; + } + Common::Error saveGameState(int slot, const Common::String &description) { + return saveState(slot) ? Common::kNoError : Common::kUnknownError; + } + + virtual bool canLoadGameStateCurrently() { return true; } + virtual bool canSaveGameStateCurrently() { return _gameMode == kGameModePlay; } + virtual bool hasFeature(EngineFeature f) const; + private: Graphics::TransparentSurface *_video, *_videoBuffer, *_videoBuffer2, *_videoBuffer3; |