[Scummvm-git-logs] scummvm master -> b9e7b1dfcd3acce8b1ef89b81b6688127e52c040
lotharsm
noreply at scummvm.org
Fri Mar 4 17:29:05 UTC 2022
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
b9e7b1dfcd COMMON: ENGINES: Correct Czech language ISO code
Commit: b9e7b1dfcd3acce8b1ef89b81b6688127e52c040
https://github.com/scummvm/scummvm/commit/b9e7b1dfcd3acce8b1ef89b81b6688127e52c040
Author: trembyle (sean.patrick.brody at gmail.com)
Date: 2022-03-04T18:29:02+01:00
Commit Message:
COMMON: ENGINES: Correct Czech language ISO code
1. Correct constant in common files
2. Add the old code to obsolete language codes
3. Replace all occurences in engine code
Changed paths:
common/language.cpp
common/language.h
devtools/md5table.cpp
engines/agos/charset-fontdata.cpp
engines/agos/detection_tables.h
engines/agos/verb.cpp
engines/director/detection_tables.h
engines/draci/detection.cpp
engines/dreamweb/detection_tables.h
engines/dreamweb/dreamweb.cpp
engines/dreamweb/titles.cpp
engines/glk/tads/detection_tables.h
engines/kyra/detection_tables.h
engines/stark/detection.cpp
engines/sword1/detection.cpp
engines/sword1/sword1.cpp
engines/teenagent/detection.cpp
engines/toltecs/detection.cpp
engines/tony/detection_tables.h
engines/tony/tony.cpp
engines/tucker/detection.cpp
engines/wintermute/base/base_file_manager.cpp
engines/wintermute/base/base_game.cpp
engines/wintermute/detection_tables.h
engines/wintermute/utils/string_util.cpp
diff --git a/common/language.cpp b/common/language.cpp
index 4b7e6881d4b..b2dd7794f18 100644
--- a/common/language.cpp
+++ b/common/language.cpp
@@ -58,7 +58,7 @@ const LanguageDescription g_languages[] = {
{ "cn", "zh_CN", "Chinese (Simplified)", ZH_CHN },
{ "tw", "zh_TW", "Chinese (Traditional)", ZH_TWN },
{ "hr", "hr_HR", "Croatian", HR_HRV },
- { "cz", "cs_CZ", "Czech", CZ_CZE },
+ { "cs", "cs_CZ", "Czech", CS_CZE },
{ "da", "da_DK", "Danish", DA_DNK },
{ "nl", "nl_NL", "Dutch", NL_NLD },
{ "en", "en", "English", EN_ANY }, // Generic English (when only one game version exist)
@@ -92,6 +92,7 @@ const LanguageDescription g_languages[] = {
};
const LanguageDescription g_obsoleteLanguages[] = {
+ { "cz", "cs_CZ", "Czech", CS_CZE },
{ "gr", "el_GR", "Greek", EL_GRC },
{ "hb", "he_IL", "Hebrew", HE_ISR },
{ "jp", "ja_JP", "Japanese", JA_JPN },
diff --git a/common/language.h b/common/language.h
index 3e0a9f8f478..b2d866bcd9f 100644
--- a/common/language.h
+++ b/common/language.h
@@ -44,7 +44,7 @@ class String;
enum Language {
AR_ARB,
CA_ESP,
- CZ_CZE,
+ CS_CZE,
DA_DNK,
DE_DEU,
EL_GRC,
diff --git a/devtools/md5table.cpp b/devtools/md5table.cpp
index 353b9c7cc34..09237e1e75e 100644
--- a/devtools/md5table.cpp
+++ b/devtools/md5table.cpp
@@ -110,7 +110,7 @@ static const StringMap langMap[] = {
{ "en", "EN_GRB" },
{ "he", "HE_ISR" },
{ "ru", "RU_RUS" },
- { "cz", "CZ_CZE" },
+ { "cs", "CS_CZE" },
{ "nl", "NL_NLD" },
{ "nb", "NB_NOR" },
{ "pl", "PL_POL" },
diff --git a/engines/agos/charset-fontdata.cpp b/engines/agos/charset-fontdata.cpp
index 54cfa84848f..193986e3d40 100644
--- a/engines/agos/charset-fontdata.cpp
+++ b/engines/agos/charset-fontdata.cpp
@@ -2930,7 +2930,7 @@ void AGOSEngine::windowDrawChar(WindowBlock *window, uint x, uint y, byte chr) {
w = 6;
switch (_language) {
- case Common::CZ_CZE:
+ case Common::CS_CZE:
src = czech_simonFont + (chr - 32) * 8;
break;
case Common::RU_RUS:
diff --git a/engines/agos/detection_tables.h b/engines/agos/detection_tables.h
index afa8c954c17..b7ba867d564 100644
--- a/engines/agos/detection_tables.h
+++ b/engines/agos/detection_tables.h
@@ -327,7 +327,7 @@ static const AGOSGameDescription gameDescriptions[] = {
{ "tbllist", GAME_TBLFILE, "319f6b227c7822a551f57d24e70f8149", 368},
AD_LISTEND
},
- Common::CZ_CZE,
+ Common::CS_CZE,
Common::kPlatformDOS,
ADGF_NO_FLAGS,
GUIO1(GUIO_NOSPEECH)
@@ -705,7 +705,7 @@ static const AGOSGameDescription gameDescriptions[] = {
{ "tbllist", GAME_TBLFILE, "8252660df0edbdbc3e6377e155bbd0c5", 284},
AD_LISTEND
},
- Common::CZ_CZE,
+ Common::CS_CZE,
Common::kPlatformDOS,
ADGF_NO_FLAGS,
GUIO1(GUIO_NOSPEECH)
@@ -1469,7 +1469,7 @@ static const AGOSGameDescription gameDescriptions[] = {
{ "tbllist", GAME_TBLFILE, "d198a80de2c59e4a0cd24b98814849e8", -1},
AD_LISTEND
},
- Common::CZ_CZE,
+ Common::CS_CZE,
Common::kPlatformDOS,
ADGF_NO_FLAGS,
GUIO1(GUIO_NOSPEECH)
@@ -1541,7 +1541,7 @@ static const AGOSGameDescription gameDescriptions[] = {
{ "tbllist", GAME_TBLFILE, "d198a80de2c59e4a0cd24b98814849e8", -1},
AD_LISTEND
},
- Common::CZ_CZE,
+ Common::CS_CZE,
Common::kPlatformDOS,
ADGF_NO_FLAGS,
GUIO1(GUIO_NOSPEECH)
@@ -2464,7 +2464,7 @@ static const AGOSGameDescription gameDescriptions[] = {
{ "tbllist", GAME_TBLFILE, "2082f8d02075e590300478853a91ffd9", -1},
AD_LISTEND
},
- Common::CZ_CZE,
+ Common::CS_CZE,
Common::kPlatformWindows,
ADGF_CD,
GUIO0()
@@ -2741,7 +2741,7 @@ static const AGOSGameDescription gameDescriptions[] = {
{ "tbllist", GAME_TBLFILE, "2082f8d02075e590300478853a91ffd9", -1},
AD_LISTEND
},
- Common::CZ_CZE,
+ Common::CS_CZE,
Common::kPlatformDOS,
ADGF_CD,
GUIO0()
diff --git a/engines/agos/verb.cpp b/engines/agos/verb.cpp
index a55e09e7b01..61fa9ad3f71 100644
--- a/engines/agos/verb.cpp
+++ b/engines/agos/verb.cpp
@@ -281,7 +281,7 @@ void AGOSEngine::printVerbOf(uint hitarea_id) {
case Common::DE_DEU:
verb_prep_names = german_verb_prep_names;
break;
- case Common::CZ_CZE:
+ case Common::CS_CZE:
verb_prep_names = czech_verb_prep_names;
break;
default:
@@ -310,7 +310,7 @@ void AGOSEngine::printVerbOf(uint hitarea_id) {
case Common::DE_DEU:
verb_names = german_verb_names;
break;
- case Common::CZ_CZE:
+ case Common::CS_CZE:
verb_names = czech_verb_names;
break;
default:
diff --git a/engines/director/detection_tables.h b/engines/director/detection_tables.h
index cf13e7a0978..62adcf9b56f 100644
--- a/engines/director/detection_tables.h
+++ b/engines/director/detection_tables.h
@@ -4738,7 +4738,7 @@ static const DirectorGameDescription gameDescriptions[] = {
// Found on PC World (Czechia) Sept 2003
WINGAME2_l("nemcina", "", "START_32.EXE", "3460ad87d2ba57104e2810a77b53c220", 1710313,
- "CVIC.DXR", "8f12d20e12dddc2fc3207e1f4e571d17", 23223862, Common::CZ_CZE, 500),
+ "CVIC.DXR", "8f12d20e12dddc2fc3207e1f4e571d17", 23223862, Common::CS_CZE, 500),
// All original Mac filenames end with â¢
// Nikolai in Outer Space did not get a Mac release
diff --git a/engines/draci/detection.cpp b/engines/draci/detection.cpp
index 1956d39e946..08e2339d36d 100644
--- a/engines/draci/detection.cpp
+++ b/engines/draci/detection.cpp
@@ -59,7 +59,7 @@ const ADGameDescription gameDescriptions[] = {
"draci",
nullptr,
AD_ENTRY1s("INIT.DFW", "9921c8f0045679a8f37eca8d41c5ec02", 906),
- Common::CZ_CZE,
+ Common::CS_CZE,
Common::kPlatformDOS,
ADGF_NO_FLAGS,
GUIO0()
diff --git a/engines/dreamweb/detection_tables.h b/engines/dreamweb/detection_tables.h
index 29e72f5769d..d9c4fe82ff2 100644
--- a/engines/dreamweb/detection_tables.h
+++ b/engines/dreamweb/detection_tables.h
@@ -242,7 +242,7 @@ static const DreamWebGameDescription gameDescriptions[] = {
{"dreamweb.exe", 0, "40cc15bdc8fa3a785b5fd1ecd6194119", 65440},
AD_LISTEND
},
- Common::CZ_CZE,
+ Common::CS_CZE,
Common::kPlatformDOS,
ADGF_CD,
GUIO2(GAMEOPTION_ORIGINAL_SAVELOAD, GAMEOPTION_BRIGHTPALETTE)
diff --git a/engines/dreamweb/dreamweb.cpp b/engines/dreamweb/dreamweb.cpp
index 4e084b4f159..6d4bacb31df 100644
--- a/engines/dreamweb/dreamweb.cpp
+++ b/engines/dreamweb/dreamweb.cpp
@@ -401,7 +401,7 @@ Common::Error DreamWebEngine::run() {
case Common::RU_RUS:
_textEncoding = Common::kDos866;
break;
- case Common::CZ_CZE:
+ case Common::CS_CZE:
_textEncoding = Common::kWindows1250;
break;
default:
diff --git a/engines/dreamweb/titles.cpp b/engines/dreamweb/titles.cpp
index 21d88a08b65..d6f1ff126ef 100644
--- a/engines/dreamweb/titles.cpp
+++ b/engines/dreamweb/titles.cpp
@@ -140,7 +140,7 @@ void DreamWebEngine::bibleQuote() {
case Common::RU_RUS:
theStory = ruStory;
break;
- case Common::CZ_CZE:
+ case Common::CS_CZE:
theStory = csStory;
break;
default:
diff --git a/engines/glk/tads/detection_tables.h b/engines/glk/tads/detection_tables.h
index b4922dcd748..a4c9ff3e453 100644
--- a/engines/glk/tads/detection_tables.h
+++ b/engines/glk/tads/detection_tables.h
@@ -643,9 +643,9 @@ const GlkDetectionEntry TADS_GAMES[] = {
DT_ENTRY1("youmatched", "WebUI", "055efcc37f945071ea2486a207703951", 2050047),
// TADS 3 - Czech
- DT_ENTRYL0("exoter", Common::CZ_CZE, "02b93382a19cd69f3cb67a12073f4795", 1487144),
- DT_ENTRYL0("exoter", Common::CZ_CZE, "865db2452b38f96035841f04e314c2c6", 1489600),
- DT_ENTRYL0("exoter", Common::CZ_CZE, "956f93c8c8b5270d75501039ef825429", 1074752),
+ DT_ENTRYL0("exoter", Common::CS_CZE, "02b93382a19cd69f3cb67a12073f4795", 1487144),
+ DT_ENTRYL0("exoter", Common::CS_CZE, "865db2452b38f96035841f04e314c2c6", 1489600),
+ DT_ENTRYL0("exoter", Common::CS_CZE, "956f93c8c8b5270d75501039ef825429", 1074752),
// TADS 3 - German
DT_ENTRYL0("pionierin", Common::DE_DEU, "9f899c9826204184c09f7088acfa8cce", 1293016),
diff --git a/engines/kyra/detection_tables.h b/engines/kyra/detection_tables.h
index 4b5717377a9..ccafb822f4f 100644
--- a/engines/kyra/detection_tables.h
+++ b/engines/kyra/detection_tables.h
@@ -235,7 +235,7 @@ const KYRAGameDescription adGameDescs[] = {
"kyra1",
msg_fanTrans_missingLangResources, // Reason for being unsupported
AD_ENTRY1s("GEMCUT.EMC", "20f876423f4caa20f5de6b4fc5dfafeb", 6686),
- Common::CZ_CZE,
+ Common::CS_CZE,
Common::kPlatformDOS,
ADGF_UNSUPPORTED,
GUIO5(GUIO_NOSPEECH, GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIPCSPK, GUIO_RENDERVGA)
diff --git a/engines/stark/detection.cpp b/engines/stark/detection.cpp
index 54cc4dedcc3..018cb07e776 100644
--- a/engines/stark/detection.cpp
+++ b/engines/stark/detection.cpp
@@ -113,7 +113,7 @@ static const ADGameDescription gameDescriptions[] = {
"tlj", "4 CD build 142",
AD_ENTRY2s("x.xarc", "a0559457126caadab0cadac02d35f26f", 3032,
"chapters.ini", "547f0b9c04c00d330b60eed6e8d24732", 484),
- Common::CZ_CZE,
+ Common::CS_CZE,
Common::kPlatformWindows,
ADGF_NO_FLAGS,
GUIO_NONE
diff --git a/engines/sword1/detection.cpp b/engines/sword1/detection.cpp
index 19b6de0e289..8eaf2612703 100644
--- a/engines/sword1/detection.cpp
+++ b/engines/sword1/detection.cpp
@@ -209,7 +209,7 @@ DetectedGames SwordMetaEngineDetection::detectGames(const Common::FSList &fslist
game.appendGUIOptions(getGameGUIOptionsDescriptionLanguage(Common::IT_ITA));
game.appendGUIOptions(getGameGUIOptionsDescriptionLanguage(Common::ES_ESP));
game.appendGUIOptions(getGameGUIOptionsDescriptionLanguage(Common::PT_BRA));
- game.appendGUIOptions(getGameGUIOptionsDescriptionLanguage(Common::CZ_CZE));
+ game.appendGUIOptions(getGameGUIOptionsDescriptionLanguage(Common::CS_CZE));
game.appendGUIOptions(getGameGUIOptionsDescriptionLanguage(Common::HE_ISR));
detectedGames.push_back(game);
diff --git a/engines/sword1/sword1.cpp b/engines/sword1/sword1.cpp
index 8db4154da3b..ebb6a9d8782 100644
--- a/engines/sword1/sword1.cpp
+++ b/engines/sword1/sword1.cpp
@@ -143,7 +143,7 @@ Common::Error SwordEngine::init() {
case Common::PT_BRA:
_systemVars.language = BS1_PORT;
break;
- case Common::CZ_CZE:
+ case Common::CS_CZE:
_systemVars.language = BS1_CZECH;
break;
case Common::HE_ISR:
diff --git a/engines/teenagent/detection.cpp b/engines/teenagent/detection.cpp
index 37fcfe005c8..12b0a26ba5f 100644
--- a/engines/teenagent/detection.cpp
+++ b/engines/teenagent/detection.cpp
@@ -128,7 +128,7 @@ static const ADGameDescription teenAgentGameDescriptions[] = {
{"sdr.res", 0, "434c62c1f43b7aa4def62ff276163edb", 14672},
AD_LISTEND
},
- Common::CZ_CZE,
+ Common::CS_CZE,
Common::kPlatformDOS,
ADGF_UNSUPPORTED,
GUIO1(GUIO_NOMIDI)
@@ -149,7 +149,7 @@ static const ADGameDescription teenAgentGameDescriptions[] = {
{"sdr.res", 0, "d0b1398c78dc82571ddef5877c9a3a06", 14993},
AD_LISTEND
},
- Common::CZ_CZE,
+ Common::CS_CZE,
Common::kPlatformDOS,
ADGF_CD,
GUIO1(GUIO_NOMIDI)
diff --git a/engines/toltecs/detection.cpp b/engines/toltecs/detection.cpp
index 9bb0ffca38d..54f5a32ce25 100644
--- a/engines/toltecs/detection.cpp
+++ b/engines/toltecs/detection.cpp
@@ -170,7 +170,7 @@ static const ToltecsGameDescription gameDescriptions[] = {
"toltecs",
0,
AD_ENTRY1s("WESTERN", "57503131c0217c76b07d0b5c14805631", 337644552),
- Common::CZ_CZE,
+ Common::CS_CZE,
Common::kPlatformDOS,
ADGF_NO_FLAGS,
GUIO1(GUIO_NONE)
diff --git a/engines/tony/detection_tables.h b/engines/tony/detection_tables.h
index 8d1d5bdb0aa..c4b418e4ce4 100644
--- a/engines/tony/detection_tables.h
+++ b/engines/tony/detection_tables.h
@@ -51,7 +51,7 @@ static const TonyGameDescription gameDescriptions[] = {
{ "voices.vdb", 0, "3384bdcb70d1e1ecedbde26e79683ede", 299019523 },
AD_LISTEND
},
- Common::CZ_CZE,
+ Common::CS_CZE,
Common::kPlatformWindows,
ADGF_DROPPLATFORM,
GUIO1(GUIO_NOMIDI)
diff --git a/engines/tony/tony.cpp b/engines/tony/tony.cpp
index b03f8dcb3d4..4c51b31a758 100644
--- a/engines/tony/tony.cpp
+++ b/engines/tony/tony.cpp
@@ -228,7 +228,7 @@ bool TonyEngine::loadTonyDat() {
case Common::RU_RUS:
expectedLangVariant = 2;
break;
- case Common::CZ_CZE:
+ case Common::CS_CZE:
expectedLangVariant = 3;
break;
case Common::FR_FRA:
diff --git a/engines/tucker/detection.cpp b/engines/tucker/detection.cpp
index 55f52b346f0..97829a49a0a 100644
--- a/engines/tucker/detection.cpp
+++ b/engines/tucker/detection.cpp
@@ -79,7 +79,7 @@ static const ADGameDescription tuckerGameDescriptions[] = {
"tucker",
"",
AD_ENTRY1s("infobar.txt", "e548994877ff31ca304f6352ce022a8e", 497),
- Common::CZ_CZE,
+ Common::CS_CZE,
Common::kPlatformDOS,
Tucker::kGameFlagEncodedData,
GUIO1(GUIO_NOMIDI)
diff --git a/engines/wintermute/base/base_file_manager.cpp b/engines/wintermute/base/base_file_manager.cpp
index 2359ff95c90..08ea782f8d5 100644
--- a/engines/wintermute/base/base_file_manager.cpp
+++ b/engines/wintermute/base/base_file_manager.cpp
@@ -257,7 +257,7 @@ bool BaseFileManager::registerPackages() {
}
// Czech
} else if (fileName == "czech.dcp" || fileName == "xlanguage_cz.dcp" || fileName == "czech_language_pack.dcp") {
- if (_language != Common::CZ_CZE) {
+ if (_language != Common::CS_CZE) {
continue;
}
// French
diff --git a/engines/wintermute/base/base_game.cpp b/engines/wintermute/base/base_game.cpp
index cd3ed375d9f..5e85319e5d6 100644
--- a/engines/wintermute/base/base_game.cpp
+++ b/engines/wintermute/base/base_game.cpp
@@ -2839,7 +2839,7 @@ ScValue *BaseGame::scGetProperty(const Common::String &name) {
//////////////////////////////////////////////////////////////////////////
else if (name == "SystemLanguage") {
switch (Common::parseLanguage(ConfMan.get("language"))) {
- case Common::CZ_CZE:
+ case Common::CS_CZE:
_scValue->setString("czech");
break;
case Common::DA_DNK:
diff --git a/engines/wintermute/detection_tables.h b/engines/wintermute/detection_tables.h
index e5a2c9bcc6d..41317da9411 100644
--- a/engines/wintermute/detection_tables.h
+++ b/engines/wintermute/detection_tables.h
@@ -220,7 +220,7 @@ static const WMEGameDescription gameDescriptions[] = {
// Five Lethal Demons (Czech)
WME_WINENTRY("5ld", "",
WME_ENTRY2s("czech.dcp", "9021b7a1e154d6764228116f894b213b", 186,
- "data.dcp", "1037a77cbd001e0644898addc022322c", 15407750), Common::CZ_CZE, ADGF_UNSTABLE, WME_1_6_1),
+ "data.dcp", "1037a77cbd001e0644898addc022322c", 15407750), Common::CS_CZE, ADGF_UNSTABLE, WME_1_6_1),
// Five Lethal Demons (English)
WME_WINENTRY("5ld", "",
@@ -235,7 +235,7 @@ static const WMEGameDescription gameDescriptions[] = {
// Five Magical Amulets (Czech)
WME_WINENTRY("5ma", "",
WME_ENTRY2s("czech.dcp", "7b2515a8ceb955c72bc14f0f1fca869e", 184,
- "data.dcp", "0134e92bcd5fd2837df3971087e96067", 163316498), Common::CZ_CZE, ADGF_UNSTABLE, WME_1_3_3),
+ "data.dcp", "0134e92bcd5fd2837df3971087e96067", 163316498), Common::CS_CZE, ADGF_UNSTABLE, WME_1_3_3),
// Five Magical Amulets (English)
WME_WINENTRY("5ma", "",
@@ -439,7 +439,7 @@ static const WMEGameDescription gameDescriptions[] = {
// Basis Octavus
WME_WINENTRY("basisoctavus", "",
- WME_ENTRY1s("data.dcp", "021ef97f8f49ec33f83beae0d6e38f08", 49336909), Common::CZ_CZE, ADGF_UNSTABLE | GF_3D, WME_1_9_1),
+ WME_ENTRY1s("data.dcp", "021ef97f8f49ec33f83beae0d6e38f08", 49336909), Common::CS_CZE, ADGF_UNSTABLE | GF_3D, WME_1_9_1),
// Boredom of Agustin Cordes
WME_WINENTRY("agustin", "",
@@ -810,11 +810,11 @@ static const WMEGameDescription gameDescriptions[] = {
// Dead City (Czech) (25.06.2004)
WME_WINENTRY("deadcity", "v1.0.1",
- WME_ENTRY1s("data.dcp", "6860a4aa55576cbee1a0f2a04f2c8810", 9132626), Common::CZ_CZE, ADGF_UNSTABLE, WME_1_2_43),
+ WME_ENTRY1s("data.dcp", "6860a4aa55576cbee1a0f2a04f2c8810", 9132626), Common::CS_CZE, ADGF_UNSTABLE, WME_1_2_43),
// Dead City (Czech)
WME_WINENTRY("deadcity", "",
- WME_ENTRY1s("data.dcp", "7ebfd50d1a22370ed7b079bcaa631d62", 9070205), Common::CZ_CZE, ADGF_UNSTABLE, WME_1_4_1),
+ WME_ENTRY1s("data.dcp", "7ebfd50d1a22370ed7b079bcaa631d62", 9070205), Common::CS_CZE, ADGF_UNSTABLE, WME_1_4_1),
// Dead City (English)
WME_WINENTRY("deadcity", "",
@@ -856,7 +856,7 @@ static const WMEGameDescription gameDescriptions[] = {
// Dirty Split (Czech)
WME_WINENTRY("dirtysplit", "",
WME_ENTRY2s("czech.dcp", "08a71446467cf8f9444cfea446b46ad6", 127697934,
- "data.dcp", "8b4b81b718bf65f30a67fc0b1e329eb5", 88577623), Common::CZ_CZE, ADGF_UNSTABLE, WME_1_8_5),
+ "data.dcp", "8b4b81b718bf65f30a67fc0b1e329eb5", 88577623), Common::CS_CZE, ADGF_UNSTABLE, WME_1_8_5),
// Dirty Split (English)
WME_WINENTRY("dirtysplit", "",
@@ -895,7 +895,7 @@ static const WMEGameDescription gameDescriptions[] = {
// Dr. Bohus
WME_WINENTRY("drbohus", "",
- WME_ENTRY1s("data.dcp", "a79e640ea15f7ca36addc08ab7b1db49", 59344013), Common::CZ_CZE, ADGF_UNSTABLE, WME_1_2_43),
+ WME_ENTRY1s("data.dcp", "a79e640ea15f7ca36addc08ab7b1db49", 59344013), Common::CS_CZE, ADGF_UNSTABLE, WME_1_2_43),
// Dr. Doyle - Mystery Of The Cloche Hat
WME_WINENTRY("drdoylemotch", "Steam",
@@ -1391,7 +1391,7 @@ static const WMEGameDescription gameDescriptions[] = {
// Helga Deep In Trouble (Czech)
WME_WINENTRY("helga", "",
WME_ENTRY2s("data.dcp", "25cb955a60b58326f2eeda1ce288fb37", 183251259,
- "data.dcp", "25cb955a60b58326f2eeda1ce288fb37", 183251259), Common::CZ_CZE, ADGF_UNSTABLE, WME_1_9_3),
+ "data.dcp", "25cb955a60b58326f2eeda1ce288fb37", 183251259), Common::CS_CZE, ADGF_UNSTABLE, WME_1_9_3),
// Helga Deep In Trouble (English)
WME_WINENTRY("helga", "",
@@ -1401,7 +1401,7 @@ static const WMEGameDescription gameDescriptions[] = {
// Helga Deep In Trouble (Demo) (Czech)
WME_WINENTRY("helga", "Demo",
WME_ENTRY2s("data.dcp", "45134ed93bc391edf148b79cdcbf2a09", 154266028,
- "data.dcp", "45134ed93bc391edf148b79cdcbf2a09", 154266028), Common::CZ_CZE, ADGF_UNSTABLE | ADGF_DEMO, WME_1_9_3),
+ "data.dcp", "45134ed93bc391edf148b79cdcbf2a09", 154266028), Common::CS_CZE, ADGF_UNSTABLE | ADGF_DEMO, WME_1_9_3),
// Helga Deep In Trouble (Demo) (English)
WME_WINENTRY("helga", "Demo",
@@ -1501,7 +1501,7 @@ static const WMEGameDescription gameDescriptions[] = {
// Lov Mamuta
WME_WINENTRY("lovmamuta", "",
- WME_ENTRY1s("data.dcp", "ce2be4691fa0104cfdd63656cedaf810", 11198933), Common::CZ_CZE, ADGF_UNSTABLE | GF_3D, WME_1_9_1),
+ WME_ENTRY1s("data.dcp", "ce2be4691fa0104cfdd63656cedaf810", 11198933), Common::CS_CZE, ADGF_UNSTABLE | GF_3D, WME_1_9_1),
// J.U.L.I.A. (English)
WME_WINENTRY("julia", "",
@@ -1601,15 +1601,15 @@ static const WMEGameDescription gameDescriptions[] = {
// Kulivocko (Czech)
WME_WINENTRY("kulivocko", "",
- WME_ENTRY1s("data.dcp", "44306dc470e9b27474043932eccee02f", 155106392), Common::CZ_CZE, ADGF_UNSTABLE, WME_1_9_1),
+ WME_ENTRY1s("data.dcp", "44306dc470e9b27474043932eccee02f", 155106392), Common::CS_CZE, ADGF_UNSTABLE, WME_1_9_1),
// Kulivocko (Czech) (Demo 1)
WME_WINENTRY("kulivocko", "Demo 1",
- WME_ENTRY1s("data.dcp", "63b164bdfadecbb0deb5da691afb8154", 48362234), Common::CZ_CZE, ADGF_UNSTABLE | ADGF_DEMO, WME_1_9_1),
+ WME_ENTRY1s("data.dcp", "63b164bdfadecbb0deb5da691afb8154", 48362234), Common::CS_CZE, ADGF_UNSTABLE | ADGF_DEMO, WME_1_9_1),
// Kulivocko (Czech) (Demo 2)
WME_WINENTRY("kulivocko", "Demo 2",
- WME_ENTRY1s("data.dcp", "501c59ddb787646d87dead183199c8ed", 73601289), Common::CZ_CZE, ADGF_UNSTABLE | ADGF_DEMO, WME_1_9_1),
+ WME_ENTRY1s("data.dcp", "501c59ddb787646d87dead183199c8ed", 73601289), Common::CS_CZE, ADGF_UNSTABLE | ADGF_DEMO, WME_1_9_1),
// Life In 3 Minutes
WME_WINENTRY("lifein3minutes", "",
diff --git a/engines/wintermute/utils/string_util.cpp b/engines/wintermute/utils/string_util.cpp
index 0157f7f72e3..d2ada69f7c8 100644
--- a/engines/wintermute/utils/string_util.cpp
+++ b/engines/wintermute/utils/string_util.cpp
@@ -90,7 +90,7 @@ Common::CodePage StringUtil::mapCodePage(TTextCharset charset) {
switch (BaseEngine::instance().getLanguage()) {
//cp1250: Central Europe
- case Common::CZ_CZE:
+ case Common::CS_CZE:
case Common::HR_HRV:
case Common::HU_HUN:
case Common::PL_POL:
More information about the Scummvm-git-logs
mailing list