diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/gob/save/saveload.h | 1 | ||||
-rw-r--r-- | engines/gob/save/saveload_inca2.cpp | 9 |
2 files changed, 8 insertions, 2 deletions
diff --git a/engines/gob/save/saveload.h b/engines/gob/save/saveload.h index 7242cb1253..dd99bf466b 100644 --- a/engines/gob/save/saveload.h +++ b/engines/gob/save/saveload.h @@ -364,6 +364,7 @@ protected: static SaveFile _saveFiles[]; VoiceHandler *_voiceHandler; + TempSpriteHandler *_tempSpriteHandler; SaveHandler *getHandler(const char *fileName) const; const char *getDescription(const char *fileName) const; diff --git a/engines/gob/save/saveload_inca2.cpp b/engines/gob/save/saveload_inca2.cpp index 43a37c8cb6..4577440ec8 100644 --- a/engines/gob/save/saveload_inca2.cpp +++ b/engines/gob/save/saveload_inca2.cpp @@ -32,7 +32,10 @@ namespace Gob { SaveLoad_Inca2::SaveFile SaveLoad_Inca2::_saveFiles[] = { {"speak.inf", kSaveModeExists, 0, 0}, // Exists = speech enabled - {"voice.inf", kSaveModeSave , 0, 0} // Contains the language of the voices + {"voice.inf", kSaveModeSave , 0, 0}, // Contains the language of the voices + {"intro.$$$", kSaveModeSave , 0, "temporary sprite"}, + { "cat.inf", kSaveModeSave , 0, "savegame"}, + { "ima.inf", kSaveModeSave , 0, "screenshot"}, }; @@ -62,9 +65,11 @@ bool SaveLoad_Inca2::VoiceHandler::save(int16 dataVar, int32 size, int32 offset) SaveLoad_Inca2::SaveLoad_Inca2(GobEngine *vm, const char *targetName) : SaveLoad(vm) { - _voiceHandler = new VoiceHandler(vm); + _tempSpriteHandler = new TempSpriteHandler(vm); + _voiceHandler = new VoiceHandler(vm); _saveFiles[1].handler = _voiceHandler; + _saveFiles[2].handler = _tempSpriteHandler; } SaveLoad_Inca2::~SaveLoad_Inca2() { |