From 59905eee0d13856837cec17d9df897e18858c30d Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 21 Feb 2018 22:04:08 +0100 Subject: DRASCULA: Added support for Russian fan translation --- engines/drascula/detection.cpp | 29 +++++++++++++++++++++++++++++ engines/drascula/drascula.cpp | 3 +++ engines/drascula/drascula.h | 5 +++-- 3 files changed, 35 insertions(+), 2 deletions(-) (limited to 'engines/drascula') 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 { -- cgit v1.2.3