diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/agos/agos.h | 6 | ||||
-rw-r--r-- | engines/agos/saveload.cpp | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/engines/agos/agos.h b/engines/agos/agos.h index 162bc6d11d..38d7e50d44 100644 --- a/engines/agos/agos.h +++ b/engines/agos/agos.h @@ -1280,9 +1280,6 @@ protected: }; const OpcodeEntryElvira1 *_opcodesElvira1; - - virtual bool loadGame(const char *filename, bool restartMode = false); - virtual bool saveGame(uint slot, const char *caption); }; class AGOSEngine_Elvira2 : public AGOSEngine_Elvira1 { @@ -1347,6 +1344,9 @@ protected: const OpcodeEntryElvira2 *_opcodesElvira2; + virtual bool loadGame(const char *filename, bool restartMode = false); + virtual bool saveGame(uint slot, const char *caption); + virtual void drawIcon(WindowBlock *window, uint icon, uint x, uint y); virtual void addArrows(WindowBlock *window); diff --git a/engines/agos/saveload.cpp b/engines/agos/saveload.cpp index f63cca3e92..40205ea53a 100644 --- a/engines/agos/saveload.cpp +++ b/engines/agos/saveload.cpp @@ -557,7 +557,7 @@ void writeItemID(Common::WriteStream *f, uint16 val) { f->writeUint32BE(val - 1); } -bool AGOSEngine_Elvira1::loadGame(const char *filename, bool restartMode) { +bool AGOSEngine::loadGame(const char *filename, bool restartMode) { char ident[100]; Common::SeekableReadStream *f = NULL; uint num, item_index, i; @@ -654,7 +654,7 @@ bool AGOSEngine_Elvira1::loadGame(const char *filename, bool restartMode) { return true; } -bool AGOSEngine_Elvira1::saveGame(uint slot, const char *caption) { +bool AGOSEngine::saveGame(uint slot, const char *caption) { Common::OutSaveFile *f; uint item_index, num_item, i; TimeEvent *te; @@ -734,7 +734,7 @@ bool AGOSEngine_Elvira1::saveGame(uint slot, const char *caption) { return result; } -bool AGOSEngine::loadGame(const char *filename, bool restartMode) { +bool AGOSEngine_Elvira2::loadGame(const char *filename, bool restartMode) { char ident[100]; Common::SeekableReadStream *f = NULL; uint num, item_index, i, j; @@ -882,7 +882,7 @@ bool AGOSEngine::loadGame(const char *filename, bool restartMode) { return true; } -bool AGOSEngine::saveGame(uint slot, const char *caption) { +bool AGOSEngine_Elvira2::saveGame(uint slot, const char *caption) { Common::OutSaveFile *f; uint item_index, num_item, i, j; TimeEvent *te; |