aboutsummaryrefslogtreecommitdiff
path: root/engines/dm/inventory.cpp
diff options
context:
space:
mode:
authorBendegúz Nagy2016-08-16 09:28:57 +0200
committerBendegúz Nagy2016-08-26 23:02:22 +0200
commitaacbcc07570a800612ae00008276da1bff2a50a6 (patch)
treec08523a20c702e3a3d8aac7646f35d9669e91525 /engines/dm/inventory.cpp
parent5bd6e3a49b2030a763fa3fb08b4e948e40f37f00 (diff)
downloadscummvm-rg350-aacbcc07570a800612ae00008276da1bff2a50a6.tar.gz
scummvm-rg350-aacbcc07570a800612ae00008276da1bff2a50a6.tar.bz2
scummvm-rg350-aacbcc07570a800612ae00008276da1bff2a50a6.zip
DM: Correct language from GR_GRE to DE_DEU
Diffstat (limited to 'engines/dm/inventory.cpp')
-rw-r--r--engines/dm/inventory.cpp42
1 files changed, 21 insertions, 21 deletions
diff --git a/engines/dm/inventory.cpp b/engines/dm/inventory.cpp
index c17191c718..f393427930 100644
--- a/engines/dm/inventory.cpp
+++ b/engines/dm/inventory.cpp
@@ -50,7 +50,7 @@ void InventoryMan::initConstants() {
{
static const char* G0428_apc_SkillLevelNames_EN_ANY[15] = {"NEOPHYTE", "NOVICE", "APPRENTICE", "JOURNEYMAN", "CRAFTSMAN",
"ARTISAN", "ADEPT", "EXPERT", "` MASTER", "a MASTER","b MASTER", "c MASTER", "d MASTER", "e MASTER", "ARCHMASTER"};
- static const char* G0428_apc_SkillLevelNames_GR_GRE[15] = {"ANFAENGER", "NEULING", "LEHRLING", "ARBEITER", "GESELLE", "HANDWERKR", "FACHMANN",
+ static const char* G0428_apc_SkillLevelNames_DE_DEU[15] = {"ANFAENGER", "NEULING", "LEHRLING", "ARBEITER", "GESELLE", "HANDWERKR", "FACHMANN",
"EXPERTE", "` MEISTER", "a MEISTER", "b MEISTER", "c MEISTER", "d MEISTER", "e MEISTER", "ERZMEISTR"};
static const char* G0428_apc_SkillLevelNames_FR_FRA[15] = { "NEOPHYTE", "NOVICE", "APPRENTI", "COMPAGNON", "ARTISAN", "PATRON",
"ADEPTE", "EXPERT", "MAITRE '", "MAITRE a", "MAITRE b", "MAITRE c", "MAITRE d", "MAITRE e", "SUR-MAITRE"};
@@ -58,7 +58,7 @@ void InventoryMan::initConstants() {
switch (_vm->getGameLanguage()) { // localized
default:
case Common::EN_ANY: g428_byLanguage = G0428_apc_SkillLevelNames_EN_ANY; break;
- case Common::GR_GRE: g428_byLanguage = G0428_apc_SkillLevelNames_GR_GRE; break;
+ case Common::DE_DEU: g428_byLanguage = G0428_apc_SkillLevelNames_DE_DEU; break;
case Common::FR_FRA: g428_byLanguage = G0428_apc_SkillLevelNames_FR_FRA; break;
}
for (int i = 0; i < 15; ++i)
@@ -137,7 +137,7 @@ void InventoryMan::f355_toggleInventory(ChampionIndex championIndex) {
_vm->_textMan->f52_printToViewport(5, 116, k13_ColorLightestGray, "HEALTH");
_vm->_textMan->f52_printToViewport(5, 124, k13_ColorLightestGray, "STAMINA");
break;
- case Common::GR_GRE:
+ case Common::DE_DEU:
_vm->_textMan->f52_printToViewport(5, 116, k13_ColorLightestGray, "GESUND");
_vm->_textMan->f52_printToViewport(5, 124, k13_ColorLightestGray, "KRAFT");
break;
@@ -209,7 +209,7 @@ void InventoryMan::f345_drawPanelFoodWaterPoisoned() {
dispMan.f20_blitToViewport(_vm->_displayMan->f489_getNativeBitmapOrGraphic(k30_FoodLabelIndice), g35_BoxFood, k24_byteWidth, k12_ColorDarkestGray, 9);
dispMan.f20_blitToViewport(_vm->_displayMan->f489_getNativeBitmapOrGraphic(k31_WaterLabelIndice), g36_BoxWater, k24_byteWidth, k12_ColorDarkestGray, 9);
break;
- case Common::GR_GRE:
+ case Common::DE_DEU:
dispMan.f20_blitToViewport(_vm->_displayMan->f489_getNativeBitmapOrGraphic(k30_FoodLabelIndice), g35_BoxFood, k32_byteWidth, k12_ColorDarkestGray, 9);
dispMan.f20_blitToViewport(_vm->_displayMan->f489_getNativeBitmapOrGraphic(k31_WaterLabelIndice), g36_BoxWater, k32_byteWidth, k12_ColorDarkestGray, 9);
break;
@@ -422,7 +422,7 @@ void InventoryMan::f336_buildObjectAttributeString(int16 potentialAttribMask, in
switch (_vm->getGameLanguage()) { // localized
default:
case Common::EN_ANY: strcat(destString, " AND "); break;
- case Common::GR_GRE: strcat(destString, " UND "); break;
+ case Common::DE_DEU: strcat(destString, " UND "); break;
case Common::FR_FRA: strcat(destString, " ET "); break;
}
@@ -516,7 +516,7 @@ void InventoryMan::f342_drawPanelObject(Thing thingToDraw, bool pressingEye) {
switch (_vm->getGameLanguage()) { // localized
default:
case Common::EN_ANY:
- case Common::GR_GRE: // german and english versions are the same
+ case Common::DE_DEU: // german and english versions are the same
strcpy(str, champMan._gK71_champions[((Junk *)rawThingPtr)->getChargeCount()]._name);
strcat(str, " ");
strcat(str, objMan._g352_objectNames[iconIndex]);
@@ -561,7 +561,7 @@ void InventoryMan::f342_drawPanelObject(Thing thingToDraw, bool pressingEye) {
switch (_vm->getGameLanguage()) { // localized
default:
case Common::EN_ANY: f335_drawPanelObjectDescriptionString("(BURNT OUT)"); break;
- case Common::GR_GRE: f335_drawPanelObjectDescriptionString("(AUSGEBRANNT)"); break;
+ case Common::DE_DEU: f335_drawPanelObjectDescriptionString("(AUSGEBRANNT)"); break;
case Common::FR_FRA: f335_drawPanelObjectDescriptionString("(CONSUME)"); break;
}
}
@@ -584,13 +584,13 @@ void InventoryMan::f342_drawPanelObject(Thing thingToDraw, bool pressingEye) {
if ((iconIndex >= k8_IconIndiceJunkWater) && (iconIndex <= k9_IconIndiceJunkWaterSkin)) {
potentialAttribMask = 0;
char *descString_EN_ANY[4] = {"(EMPTY)", "(ALMOST EMPTY)", "(ALMOST FULL)", "(FULL)"};
- char *descString_GE_GRE[4] = {"(LEER)", "(FAST LEER)", "(FAST VOLL)", "(VOLL)"};
+ char *descString_DE_DEU[4] = {"(LEER)", "(FAST LEER)", "(FAST VOLL)", "(VOLL)"};
char *descString_FR_FRA[4] = {"(VIDE)", "(PRESQUE VIDE)", "(PRESQUE PLEINE)", "(PLEINE)"};
switch (_vm->getGameLanguage()) { // localized
default:
case Common::EN_ANY: descString = descString_EN_ANY[junk->getChargeCount()]; break;
- case Common::GR_GRE: descString = descString_GE_GRE[junk->getChargeCount()]; break;
+ case Common::DE_DEU: descString = descString_DE_DEU[junk->getChargeCount()]; break;
case Common::FR_FRA: descString = descString_FR_FRA[junk->getChargeCount()]; break;
}
@@ -601,19 +601,19 @@ void InventoryMan::f342_drawPanelObject(Thing thingToDraw, bool pressingEye) {
switch (_vm->getGameLanguage()) { // localized
default:
case Common::EN_ANY: strcpy(str, "PARTY FACING "); break;
- case Common::GR_GRE: strcpy(str, "GRUPPE BLICKT NACH "); break;
+ case Common::DE_DEU: strcpy(str, "GRUPPE BLICKT NACH "); break;
case Common::FR_FRA: strcpy(str, "GROUPE FACE "); break;
}
static char* directionName_EN_ANY[4] = {"NORTH", "EAST", "SOUTH", "WEST"};
- static char* directionName_GR_GRE[4] = {"NORDEN", "OSTEN", "SUEDEN", "WESTEN"};
+ static char* directionName_DE_DEU[4] = {"NORDEN", "OSTEN", "SUEDEN", "WESTEN"};
static char* directionName_FR_FRA[4] = {"AU NORD", "A L'EST", "AU SUD", "A L'OUEST"};
switch (_vm->getGameLanguage()) { // localized
default:
case Common::EN_ANY: strcat(str, directionName_EN_ANY[iconIndex]); break;
- case Common::GR_GRE: strcat(str, directionName_FR_FRA[iconIndex]); break;
- case Common::FR_FRA: strcat(str, directionName_GR_GRE[iconIndex]); break;
+ case Common::DE_DEU: strcat(str, directionName_DE_DEU[iconIndex]); break;
+ case Common::FR_FRA: strcat(str, directionName_FR_FRA[iconIndex]); break;
}
f335_drawPanelObjectDescriptionString(str);
@@ -627,14 +627,14 @@ void InventoryMan::f342_drawPanelObject(Thing thingToDraw, bool pressingEye) {
if (potentialAttribMask) {
char *attribString_EN_ANY[4] = {"CONSUMABLE", "POISONED", "BROKEN", "CURSED"};
- char *attribString_GR_GRE[4] = {"ESSBAR", "VERGIFTET", "DEFEKT", "VERFLUCHT"};
+ char *attribString_DE_DEU[4] = {"ESSBAR", "VERGIFTET", "DEFEKT", "VERFLUCHT"};
char *attribString_FR_FRA[4] = {"COMESTIBLE", "EMPOISONNE", "BRISE", "MAUDIT"};
char **attribString = nullptr;
switch (_vm->getGameLanguage()) { // localized
default:
case Common::EN_ANY: attribString = attribString_EN_ANY; break;
- case Common::GR_GRE: attribString = attribString_GR_GRE; break;
+ case Common::DE_DEU: attribString = attribString_DE_DEU; break;
case Common::FR_FRA: attribString = attribString_FR_FRA; break;
}
@@ -645,7 +645,7 @@ void InventoryMan::f342_drawPanelObject(Thing thingToDraw, bool pressingEye) {
switch (_vm->getGameLanguage()) { // localized
default:
case Common::EN_ANY: strcpy(str, "WEIGHS "); break;
- case Common::GR_GRE: strcpy(str, "WIEGT "); break;
+ case Common::DE_DEU: strcpy(str, "WIEGT "); break;
case Common::FR_FRA: strcpy(str, "PESE "); break;
}
@@ -656,7 +656,7 @@ void InventoryMan::f342_drawPanelObject(Thing thingToDraw, bool pressingEye) {
switch (_vm->getGameLanguage()) { // localized
default:
case Common::EN_ANY: strcat(str, "."); break;
- case Common::GR_GRE: strcat(str, ","); break;
+ case Common::DE_DEU: strcat(str, ","); break;
case Common::FR_FRA: strcat(str, "KG,"); break;
}
@@ -666,7 +666,7 @@ void InventoryMan::f342_drawPanelObject(Thing thingToDraw, bool pressingEye) {
switch (_vm->getGameLanguage()) { // localized
default:
case Common::EN_ANY:
- case Common::GR_GRE: strcat(str, " KG."); break;
+ case Common::DE_DEU: strcat(str, " KG."); break;
case Common::FR_FRA: strcat(str, "."); break;
}
@@ -793,13 +793,13 @@ void InventoryMan::f351_drawChampionSkillsAndStatistics() {
char L1097_ac_String[20];
static char* G0431_apc_StatisticNames_EN_ANY[7] = {"L", "STRENGTH", "DEXTERITY", "WISDOM", "VITALITY", "ANTI-MAGIC", "ANTI-FIRE"};
- static char* G0431_apc_StatisticNames_GR_GRE[7] = {"L", "STAERKE", "FLINKHEIT", "WEISHEIT", "VITALITAET", "ANTI-MAGIE", "ANTI-FEUER"};
+ static char* G0431_apc_StatisticNames_DE_DEU[7] = {"L", "STAERKE", "FLINKHEIT", "WEISHEIT", "VITALITAET", "ANTI-MAGIE", "ANTI-FEUER"};
static char* G0431_apc_StatisticNames_FR_FRA[7] = {"L", "FORCE", "DEXTERITE", "SAGESSE", "VITALITE", "ANTI-MAGIE", "ANTI-FEU"};
char **G0431_apc_StatisticNames;
switch (_vm->getGameLanguage()) { // localized
default:
case Common::EN_ANY: G0431_apc_StatisticNames = G0431_apc_StatisticNames_EN_ANY; break;
- case Common::GR_GRE: G0431_apc_StatisticNames = G0431_apc_StatisticNames_GR_GRE; break;
+ case Common::DE_DEU: G0431_apc_StatisticNames = G0431_apc_StatisticNames_DE_DEU; break;
case Common::FR_FRA: G0431_apc_StatisticNames = G0431_apc_StatisticNames_FR_FRA; break;
}
@@ -815,7 +815,7 @@ void InventoryMan::f351_drawChampionSkillsAndStatistics() {
switch (_vm->getGameLanguage()) { // localized
default:
case Common::EN_ANY:
- case Common::GR_GRE: // english and german versions are the same
+ case Common::DE_DEU: // english and german versions are the same
strcpy(L1097_ac_String, G0428_apc_SkillLevelNames[AL1092_i_SkillLevel - 2]);
strcat(L1097_ac_String, " ");
strcat(L1097_ac_String, g417_baseSkillName[AL1090_ui_SkillIndex]);