SWORD25: Added detection entries for other languages

This is needed now, since changing the language in-game updates the ScummVM language setting, and there must be a matching detection entry for each language.
This commit is contained in:
Paul Gilbert 2011-05-23 08:48:21 +10:00
parent b5609eb4a1
commit 27a6d9b910

View File

@ -37,10 +37,8 @@ static const PlainGameDescriptor Sword25Game[] = {
namespace Sword25 {
// TODO: Need to decide whether we're going to implement code to detect all the various languages allowed,
// both by the core data package, as well as the extra languages added by the patch file; also, I don't
// think that all the languages supported by the game currently have constants in ScummVM
static const ADGameDescription gameDescriptions[] = {
// These two versions represent the default languages available in the data file
{
"sword25",
"",
@ -50,6 +48,80 @@ static const ADGameDescription gameDescriptions[] = {
ADGF_NO_FLAGS,
Common::GUIO_NONE
},
{
"sword25",
"",
AD_ENTRY1s("lang_fr.b25c", "690caf157387e06d2c3d1ca53c43f428", 1006043),
Common::FR_FRA,
Common::kPlatformUnknown,
ADGF_NO_FLAGS,
Common::GUIO_NONE
},
{
"sword25",
"",
AD_ENTRY1s("data.b25c", "f8b6e03ada2d2f6cf27fbc11ad1572e9", 654310588),
Common::DE_DEU,
Common::kPlatformUnknown,
ADGF_NO_FLAGS,
Common::GUIO_NONE
},
{
"sword25",
"",
AD_ENTRY1s("lang_hr.b25c", "e881054d1f8ec1e527422fc521c25405", 1273217),
Common::HU_HUN,
Common::kPlatformUnknown,
ADGF_NO_FLAGS,
Common::GUIO_NONE
},
{
"sword25",
"",
AD_ENTRY1s("lang_it.b25c", "f3325666da0515cc2b42062e953c0889", 996197),
Common::IT_ITA,
Common::kPlatformUnknown,
ADGF_NO_FLAGS,
Common::GUIO_NONE
},
{
"sword25",
"",
AD_ENTRY1s("lang_pl.b25c", "49dc1a20f95391a808e475c49be2bac0", 1281799),
Common::PL_POL,
Common::kPlatformUnknown,
ADGF_NO_FLAGS,
Common::GUIO_NONE
},
{
"sword25",
"",
AD_ENTRY1s("lang_pt.b25c", "1df701432f9e13dcefe1adeb890b9c69", 993812),
Common::PT_BRA,
Common::kPlatformUnknown,
ADGF_NO_FLAGS,
Common::GUIO_NONE
},
{
"sword25",
"",
AD_ENTRY1s("lang_ru.b25c", "deb33dd2f90a71ff60181918a8ce5063", 1235378),
Common::RU_RUS,
Common::kPlatformUnknown,
ADGF_NO_FLAGS,
Common::GUIO_NONE
},
{
"sword25",
"",
AD_ENTRY1s("lang_es.b25c", "384c19072d83725f351bb9ecb4d3f02b", 987965),
Common::ES_ESP,
Common::kPlatformUnknown,
ADGF_NO_FLAGS,
Common::GUIO_NONE
},
// Extracted version
{
"sword25",
"Extracted",