aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJordi Vilalta Prat2008-12-02 22:22:23 +0000
committerJordi Vilalta Prat2008-12-02 22:22:23 +0000
commitd34865d054dd00acacca4e9b715e7824b1964b58 (patch)
tree2f98715b52d515ff343167b0cdbaeb6d73ba615f /engines
parent3669360043e710e7372054bc1ceef77c8fa5ef18 (diff)
downloadscummvm-rg350-d34865d054dd00acacca4e9b715e7824b1964b58.tar.gz
scummvm-rg350-d34865d054dd00acacca4e9b715e7824b1964b58.tar.bz2
scummvm-rg350-d34865d054dd00acacca4e9b715e7824b1964b58.zip
DW2: Add support for the Italian/Spanish release
svn-id: r35211
Diffstat (limited to 'engines')
-rw-r--r--engines/tinsel/detection.cpp43
-rw-r--r--engines/tinsel/tinsel.cpp8
2 files changed, 45 insertions, 6 deletions
diff --git a/engines/tinsel/detection.cpp b/engines/tinsel/detection.cpp
index 1c11b8c4ce..8870fabfc6 100644
--- a/engines/tinsel/detection.cpp
+++ b/engines/tinsel/detection.cpp
@@ -285,7 +285,7 @@ static const TinselGameDescription gameDescriptions[] = {
GF_CD | GF_SCNFILES,
TINSEL_V2,
},
-
+
{ // French version of Discworld 2
{
"dw2",
@@ -323,7 +323,46 @@ static const TinselGameDescription gameDescriptions[] = {
GF_CD | GF_SCNFILES,
TINSEL_V2,
},
-
+
+ { // Italian/Spanish Discworld 2
+ {
+ "dw2",
+ "CD",
+ {
+ {"dw2.scn", 0, "c6d15ce9720a9d8fef06e6582dcf3f34", 103593},
+ {"english1.smp", 0, NULL, -1},
+ {"italian1.txt", 0, "d443249f8b55489b5888c227b9096f4e", 246495},
+ {NULL, 0, NULL, 0}
+ },
+ Common::IT_ITA,
+ Common::kPlatformPC,
+ Common::ADGF_NO_FLAGS
+ },
+ GID_DW2,
+ 0,
+ GF_CD | GF_SCNFILES,
+ TINSEL_V2,
+ },
+ {
+ {
+ "dw2",
+ "CD",
+ {
+ {"dw2.scn", 0, "c6d15ce9720a9d8fef06e6582dcf3f34", 103593},
+ {"english1.smp", 0, NULL, -1},
+ {"spanish1.txt", 0, "bc6e147c5f542db228ac577357e4d897", 230323},
+ {NULL, 0, NULL, 0}
+ },
+ Common::ES_ESP,
+ Common::kPlatformPC,
+ Common::ADGF_NO_FLAGS
+ },
+ GID_DW2,
+ 0,
+ GF_CD | GF_SCNFILES,
+ TINSEL_V2,
+ },
+
{ AD_TABLE_END_MARKER, 0, 0, 0, 0 }
};
diff --git a/engines/tinsel/tinsel.cpp b/engines/tinsel/tinsel.cpp
index 1095697afe..a998836d1d 100644
--- a/engines/tinsel/tinsel.cpp
+++ b/engines/tinsel/tinsel.cpp
@@ -804,15 +804,15 @@ const char *TinselEngine::_sampleIndices[][3] = {
{ "english.idx", "english1.idx", "english2.idx" },
{ "french.idx", "french1.idx", "french2.idx" },
{ "german.idx", "german1.idx", "german2.idx" },
- { "italian.idx", "italian1.idx", "italian2.idx" },
- { "spanish.idx", "spanish1.idx", "spanish2.idx" },
+ { "english.idx", "english1.idx", "english2.idx" }, // Italian
+ { "english.idx", "english1.idx", "english2.idx" } // Spanish
};
const char *TinselEngine::_sampleFiles[][3] = {
{ "english.smp", "english1.smp", "english2.smp" },
{ "french.smp", "french1.smp", "french2.smp" },
{ "german.smp", "german1.smp", "german2.smp" },
- { "italian.smp", "italian1.smp", "italian2.smp" },
- { "spanish.smp", "spanish1.smp", "spanish2.smp" },
+ { "english.smp", "english1.smp", "english2.smp" }, // Italian
+ { "english.smp", "english1.smp", "english2.smp" } // Spanish,
};
const char *TinselEngine::_textFiles[][3] = {
{ "english.txt", "english1.txt", "english2.txt" },