diff options
Diffstat (limited to 'engines/composer/composer.h')
-rw-r--r-- | engines/composer/composer.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/composer/composer.h b/engines/composer/composer.h index d1a85e975a..b570d16229 100644 --- a/engines/composer/composer.h +++ b/engines/composer/composer.h @@ -150,6 +150,13 @@ class ComposerEngine : public Engine { protected: Common::Error run(); +#ifdef SAVING_ANYWHERE + bool canLoadGameStateCurrently() { return true; } + Common::Error loadGameState(int slot); + bool canSaveGameStateCurrently() { return true; } + Common::Error saveGameState(int slot, const Common::String &desc); +#endif + public: ComposerEngine(OSystem *syst, const ComposerGameDescription *gameDesc); virtual ~ComposerEngine(); @@ -210,6 +217,9 @@ private: uint16 _mouseSpriteId; Common::Point _mouseOffset; +#ifdef SAVING_ANYWHERE + Common::String makeSaveGameName(int slot); +#endif Common::String getStringFromConfig(const Common::String §ion, const Common::String &key); Common::String getFilename(const Common::String §ion, uint id); Common::String mangleFilename(Common::String filename); |