aboutsummaryrefslogtreecommitdiff
path: root/engines/drascula
diff options
context:
space:
mode:
authorEugene Sandulenko2018-02-21 22:04:08 +0100
committerEugene Sandulenko2018-02-21 22:39:09 +0100
commit59905eee0d13856837cec17d9df897e18858c30d (patch)
tree975c51c5860a3c6c5f6a1f7a4acb3963f6aa4b1f /engines/drascula
parent3e26edfb5903d4584ebb978f112cfd0b8feadcf5 (diff)
downloadscummvm-rg350-59905eee0d13856837cec17d9df897e18858c30d.tar.gz
scummvm-rg350-59905eee0d13856837cec17d9df897e18858c30d.tar.bz2
scummvm-rg350-59905eee0d13856837cec17d9df897e18858c30d.zip
DRASCULA: Added support for Russian fan translation
Diffstat (limited to 'engines/drascula')
-rw-r--r--engines/drascula/detection.cpp29
-rw-r--r--engines/drascula/drascula.cpp3
-rw-r--r--engines/drascula/drascula.h5
3 files changed, 35 insertions, 2 deletions
diff --git a/engines/drascula/detection.cpp b/engines/drascula/detection.cpp
index 49c7b0b14c..5f453839e7 100644
--- a/engines/drascula/detection.cpp
+++ b/engines/drascula/detection.cpp
@@ -202,6 +202,23 @@ static const DrasculaGameDescription gameDescriptions[] = {
},
},
+ {
+ // Drascula Russian version (ScummVM repacked files)
+ {
+ "drascula",
+ 0,
+ {
+ {"packet.001", 0, "c6a8697396e213a18472542d5f547cb4", 32847563},
+ {"packet.006", 1, "e464b99de7f226391337510d5c328258", 697173},
+ {NULL, 0, NULL, 0}
+ },
+ Common::RU_RUS,
+ Common::kPlatformDOS,
+ GF_PACKED,
+ GUIO1(GUIO_LINKSPEECHTOSFX)
+ },
+ },
+
//// Unpacked versions ////////////////////////////////////////////////////
{
@@ -294,6 +311,18 @@ static const DrasculaGameDescription gameDescriptions[] = {
GUIO1(GUIO_LINKSPEECHTOSFX)
},
},
+ {
+ // Drascula Russian version
+ {
+ "drascula",
+ 0,
+ AD_ENTRY1s("14.ald", "4dfab170eae935a2e9889196df427a4a", 1426),
+ Common::RU_RUS,
+ Common::kPlatformDOS,
+ ADGF_NO_FLAGS,
+ GUIO1(GUIO_LINKSPEECHTOSFX)
+ },
+ },
{ AD_TABLE_END_MARKER }
};
diff --git a/engines/drascula/drascula.cpp b/engines/drascula/drascula.cpp
index 824f1ffe53..56b9efaeea 100644
--- a/engines/drascula/drascula.cpp
+++ b/engines/drascula/drascula.cpp
@@ -246,6 +246,9 @@ Common::Error DrasculaEngine::run() {
case Common::IT_ITA:
_lang = kItalian;
break;
+ case Common::RU_RUS:
+ _lang = kRussian;
+ break;
default:
warning("Unknown game language. Falling back to English");
_lang = kEnglish;
diff --git a/engines/drascula/drascula.h b/engines/drascula/drascula.h
index a7eadcd069..856fc8fab0 100644
--- a/engines/drascula/drascula.h
+++ b/engines/drascula/drascula.h
@@ -54,7 +54,7 @@
*/
namespace Drascula {
-#define DRASCULA_DAT_VER 5
+#define DRASCULA_DAT_VER 6
#define DATAALIGNMENT 4
enum DrasculaGameFeatures {
@@ -66,7 +66,8 @@ enum Languages {
kSpanish = 1,
kGerman = 2,
kFrench = 3,
- kItalian = 4
+ kItalian = 4,
+ kRussian = 5
};
enum Verbs {