diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/resource.cpp | 7 | ||||
-rw-r--r-- | engines/sci/resource.h | 3 | ||||
-rw-r--r-- | engines/sci/sci.cpp | 1 |
3 files changed, 8 insertions, 3 deletions
diff --git a/engines/sci/resource.cpp b/engines/sci/resource.cpp index 1ecbff6eee..27776141e8 100644 --- a/engines/sci/resource.cpp +++ b/engines/sci/resource.cpp @@ -68,14 +68,15 @@ static const char *resourceTypeNames[] = { "memory", "vocab", "font", "cursor", "patch", "bitmap", "palette", "cdaudio", "audio", "sync", "message", "map", "heap", - "audio36", "sync36" + "audio36", "sync36", "", "", "robot" }; static const char *resourceTypeSuffixes[] = { "v56", "p56", "scr", "tex", "snd", " ", "voc", "fon", "cur", "pat", "bit", "pal", "cda", "aud", "syn", - "msg", "map", "hep", "aud", "syn" + "msg", "map", "hep", "aud", "syn", + "trn", " ", "rbt" }; const char *getResourceTypeName(ResourceType restype) { @@ -984,7 +985,7 @@ void ResourceManager::readResourcePatches(ResourceSource *source) { const char *szResType; ResourceSource *psrcPatch; - for (int i = kResourceTypeView; i < kResourceTypeAudio36; i ++) { + for (int i = kResourceTypeView; i < kResourceTypeInvalid; i ++) { files.clear(); szResType = getResourceTypeName((ResourceType)i); // SCI0 naming - type.nnn diff --git a/engines/sci/resource.h b/engines/sci/resource.h index ab3363db0f..cc4b6104fa 100644 --- a/engines/sci/resource.h +++ b/engines/sci/resource.h @@ -111,6 +111,9 @@ enum ResourceType { kResourceTypeHeap, kResourceTypeAudio36, kResourceTypeSync36, + kResourceTypeUnknown1, // Translation, currently unsupported + kResourceTypeUnknown2, + kResourceTypeRobot, kResourceTypeInvalid }; diff --git a/engines/sci/sci.cpp b/engines/sci/sci.cpp index b49ef32cab..4205f9bdf1 100644 --- a/engines/sci/sci.cpp +++ b/engines/sci/sci.cpp @@ -84,6 +84,7 @@ SciEngine::SciEngine(OSystem *syst, const ADGameDescription *desc) SearchMan.addSubDirectoryMatching(_gameDataDir, "seq"); // SEQ movie files for DOS versions SearchMan.addSubDirectoryMatching(_gameDataDir, "wav"); // speech files in WAV format SearchMan.addSubDirectoryMatching(_gameDataDir, "sfx"); // music/sound files in WAV format + SearchMan.addSubDirectoryMatching(_gameDataDir, "robot"); // robot files } SciEngine::~SciEngine() { |