aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorathrxx2011-07-25 17:55:19 +0200
committerathrxx2011-07-25 17:57:33 +0200
commitf2f6ddced9a1b4ab28f4ff6a8d6dc4b3be39a5ee (patch)
tree30a16e5fcec5d9389a4496bef8223421d3982e63 /engines
parent77908a9357c30d2ff6325d552a26903499c718f1 (diff)
downloadscummvm-rg350-f2f6ddced9a1b4ab28f4ff6a8d6dc4b3be39a5ee.tar.gz
scummvm-rg350-f2f6ddced9a1b4ab28f4ff6a8d6dc4b3be39a5ee.tar.bz2
scummvm-rg350-f2f6ddced9a1b4ab28f4ff6a8d6dc4b3be39a5ee.zip
KYRA: add support for Kyra 2 Russian floppy
Diffstat (limited to 'engines')
-rw-r--r--engines/kyra/detection_tables.h27
-rw-r--r--engines/kyra/staticres.cpp2
2 files changed, 28 insertions, 1 deletions
diff --git a/engines/kyra/detection_tables.h b/engines/kyra/detection_tables.h
index 468e82cd5b..2f2c21bc36 100644
--- a/engines/kyra/detection_tables.h
+++ b/engines/kyra/detection_tables.h
@@ -35,6 +35,7 @@ namespace {
#define KYRA2_FLOPPY_FLAGS FLAGS(false, false, false, false, false, false, false, Kyra::GI_KYRA2)
#define KYRA2_FLOPPY_CMP_FLAGS FLAGS(false, false, false, false, false, false, true, Kyra::GI_KYRA2)
+#define KYRA2_FLOPPY_FAN_FLAGS(x, y) FLAGS_FAN(x, y, false, false, false, false, false, false, false, Kyra::GI_KYRA2)
#define KYRA2_CD_FLAGS FLAGS(false, false, true, false, false, false, false, Kyra::GI_KYRA2)
#define KYRA2_CD_FAN_FLAGS(x, y) FLAGS_FAN(x, y, false, false, true, false, false, false, false, Kyra::GI_KYRA2)
#define KYRA2_CD_DEMO_FLAGS FLAGS(true, false, true, false, false, false, false, Kyra::GI_KYRA2)
@@ -500,6 +501,32 @@ const KYRAGameDescription adGameDescs[] = {
KYRA2_FLOPPY_FLAGS
},
+ { // Floppy version extracted
+ {
+ "kyra2",
+ "Extracted",
+ AD_ENTRY1("CH01-S00.DLG", "54b7a5a94f6e1ec91f0fb1311eec09ab"),
+ Common::RU_RUS,
+ Common::kPlatformPC,
+ ADGF_NO_FLAGS,
+ Common::GUIO_NOSPEECH | Common::GUIO_MIDIADLIB | Common::GUIO_MIDIMT32 | Common::GUIO_MIDIGM | Common::GUIO_MIDIPCSPK
+ },
+ KYRA2_FLOPPY_FAN_FLAGS(Common::RU_RUS, Common::EN_ANY)
+ },
+
+ { // Floppy version extracted
+ {
+ "kyra2",
+ "Extracted",
+ AD_ENTRY1("CH01-S00.DLG", "7c36c0e63ab8c81cbb3ea58681331366"),
+ Common::RU_RUS,
+ Common::kPlatformPC,
+ ADGF_NO_FLAGS,
+ Common::GUIO_NOSPEECH | Common::GUIO_MIDIADLIB | Common::GUIO_MIDIMT32 | Common::GUIO_MIDIGM | Common::GUIO_MIDIPCSPK
+ },
+ KYRA2_FLOPPY_FAN_FLAGS(Common::RU_RUS, Common::EN_ANY)
+ },
+
{ // CD version
{
"kyra2",
diff --git a/engines/kyra/staticres.cpp b/engines/kyra/staticres.cpp
index 6e2f8b8e76..c9e994f71e 100644
--- a/engines/kyra/staticres.cpp
+++ b/engines/kyra/staticres.cpp
@@ -38,7 +38,7 @@
namespace Kyra {
-#define RESFILE_VERSION 76
+#define RESFILE_VERSION 77
namespace {
bool checkKyraDat(Common::SeekableReadStream *file) {