} else if (Common::File::exists("voicesd.rsc") || Common::File::exists("voicesd.cmp")) {
_contextsCount++;
voicesFileIndex = _contextsCount - 1;
if (_vm->getFeatures() & GF_COMPRESSED_SOUNDS)
sprintf(voicesFileName, "voicesd.cmp");
else
sprintf(voicesFileName, "voicesd.rsc");
#ifdef __amigaos4__
} else if (Common::File::exists("\"inherit the earth voices\"") ||
Common::File::exists("\"inherit the earth voices.cmp\"")) {
_contextsCount++;
voicesFileIndex = _contextsCount - 1;
if (_vm->getFeatures() & GF_COMPRESSED_SOUNDS)
sprintf(voicesFileName, "\"inherit the earth voices.cmp\"");
else
sprintf(voicesFileName, "\"inherit the earth voices\"");
// The resources in the Wyrmkeep combined Windows/Mac/Linux CD version are little endian, but
// the voice file is big endian. If we got such a version with mixed files, mark this voice file
// as big endian
if (!_vm->isBigEndian())
voiceFileType = GAME_VOICEFILE | GAME_SWAPENDIAN; // This file is big endian
#else
} else if (Common::File::exists("inherit the earth voices") ||
Common::File::exists("inherit the earth voices.cmp")) {
_contextsCount++;
voicesFileIndex = _contextsCount - 1;
if (_vm->getFeatures() & GF_COMPRESSED_SOUNDS)
sprintf(voicesFileName, "inherit the earth voices.cmp");
else
sprintf(voicesFileName, "inherit the earth voices");
// The resources in the Wyrmkeep combined Windows/Mac/Linux CD version are little endian, but
// the voice file is big endian. If we got such a version with mixed files, mark this voice file
// as big endian
if (!_vm->isBigEndian())
voiceFileType = GAME_VOICEFILE | GAME_SWAPENDIAN; // This file is big endian
#endif
} else {
// No voice file found, don't add any file to the array
voicesFileInArray = true;
}
} else {
// If the voices file is not specified in the detector table, add it here
if (Common::File::exists("voicess.res") || Common::File::exists("voicess.cmp")) {
_contextsCount++;
voicesFileIndex = _contextsCount - 1;
// IHNM has multiple voice files
multipleVoices = true;