diff options
author | Eugene Sandulenko | 2018-12-30 19:52:27 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2018-12-30 19:52:27 +0100 |
commit | a9d12069d8acf9bb8f09f7c07c7463d14fc3cd3f (patch) | |
tree | b0a230340072ed2a340a06ee76c832b085bdbff0 | |
parent | 57f114cbc3f8ecea0668c732550afc638e3ee302 (diff) | |
download | scummvm-rg350-a9d12069d8acf9bb8f09f7c07c7463d14fc3cd3f.tar.gz scummvm-rg350-a9d12069d8acf9bb8f09f7c07c7463d14fc3cd3f.tar.bz2 scummvm-rg350-a9d12069d8acf9bb8f09f7c07c7463d14fc3cd3f.zip |
TUCKER: Added support for Russian fan translation
-rw-r--r-- | engines/tucker/detection.cpp | 9 | ||||
-rw-r--r-- | engines/tucker/resource.cpp | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/engines/tucker/detection.cpp b/engines/tucker/detection.cpp index 5e3cbbf740..42a812adbc 100644 --- a/engines/tucker/detection.cpp +++ b/engines/tucker/detection.cpp @@ -90,6 +90,15 @@ static const ADGameDescription tuckerGameDescriptions[] = { Tucker::kGameFlagEncodedData, GUIO0() }, + { // Russian fan translation + "tucker", + "", + AD_ENTRY1s("infobrgr.txt", "4b5a315e449a7f9eaf2025ec87466cd8", 552), + Common::RU_RUS, + Common::kPlatformDOS, + Tucker::kGameFlagEncodedData, + GUIO0() + }, { "tucker", "Demo", diff --git a/engines/tucker/resource.cpp b/engines/tucker/resource.cpp index ed26aa4a1f..59b1ca1620 100644 --- a/engines/tucker/resource.cpp +++ b/engines/tucker/resource.cpp @@ -166,7 +166,7 @@ public: uint8 *TuckerEngine::loadFile(const char *fname, uint8 *p) { Common::String filename; filename = fname; - if (_gameLang == Common::DE_DEU) { + if (_gameLang == Common::DE_DEU || _gameLang == Common::RU_RUS) { if (filename == "bgtext.c") { filename = "bgtextgr.c"; } else if (filename == "charname.c") { |