aboutsummaryrefslogtreecommitdiff
path: root/engines/prince/option_text.h
diff options
context:
space:
mode:
authorlukaslw2014-06-14 12:51:50 +0200
committerlukaslw2014-06-22 20:09:01 +0200
commitdb19f9282cce98f8adf2aba07f12e3caf51f793c (patch)
tree253677f228d7578203feb019c4b6590a86c06135 /engines/prince/option_text.h
parent8536dcc7a3c50b50f76894c4b44f4108712cc257 (diff)
downloadscummvm-rg350-db19f9282cce98f8adf2aba07f12e3caf51f793c.tar.gz
scummvm-rg350-db19f9282cce98f8adf2aba07f12e3caf51f793c.tar.bz2
scummvm-rg350-db19f9282cce98f8adf2aba07f12e3caf51f793c.zip
PRINCE: German font loading, letters fix in options menu
Diffstat (limited to 'engines/prince/option_text.h')
-rw-r--r--engines/prince/option_text.h47
1 files changed, 25 insertions, 22 deletions
diff --git a/engines/prince/option_text.h b/engines/prince/option_text.h
index 7bd0f3bc99..ac5d7588b3 100644
--- a/engines/prince/option_text.h
+++ b/engines/prince/option_text.h
@@ -23,8 +23,6 @@
namespace Prince {
// PL - Mazovia coding (with U2 negation for special letters)
-// DE - Still problem with special letters
-
const char invOptionsTextPL[5][18] = {
"Obejrzyj",
{ 'U', -89, 'y', 'j', '\0' },
@@ -33,23 +31,6 @@ const char invOptionsTextPL[5][18] = {
"Daj"
};
-// TODO
-const char invOptionsTextDE[5][17] = {
- "Anschauen",
- "Benutzen",
- { 'Ö', 'f', 'f', 'n', 'e', 'n', '/', 'S', 't', 'o', 'ß', 'e', 'n', '\0' },
- { 'S', 'c', 'h', 'l', 'i', 'e', 'ß', 'e', 'n', '/', 'Z', 'i', 'e', 'h', 'e', 'n', '\0' },
- "Geben"
-};
-
-const char *invOptionsTextEN[] = {
- "Examine",
- "Use",
- "Open/Push",
- "Close/Pull",
- "Give"
-};
-
const char optionsTextPL[7][18] = {
{ 'P', 'o', 'd', 'e', 'j', 'd', -90, '\0' },
"Obejrzyj",
@@ -60,17 +41,39 @@ const char optionsTextPL[7][18] = {
"Porozmawiaj"
};
-// TODO
+// DE - Other font then for PL + ISO 8859-2 or Windows-1250
+// + special letter values changing (with U2 negation)
+// Normal value: 196, 214, 220, 223, 228, 246, 252
+// Prince change: 131, 132, 133, 127, 128, 129, 130
+// U2 neg: -125, -124, -123, 127, 128, -127, -126
+
+char invOptionsTextDE[5][17] = {
+ "Anschauen",
+ "Benutzen",
+ { -124, 'f', 'f', 'n', 'e', 'n', '/', 'S', 't', 'o', 127, 'e', 'n', '\0' },
+ { 'S', 'c', 'h', 'l', 'i', 'e', 127, 'e', 'n', '/', 'Z', 'i', 'e', 'h', 'e', 'n', '\0' },
+ "Geben"
+};
+
const char optionsTextDE[7][17] = {
"Hingehen",
"Anschauen",
"Wegnehmen",
"Benutzen",
- { 'Ö', 'f', 'f', 'n', 'e', 'n', '/', 'S', 't', 'o', 'ß', 'e', 'n', '\0' },
- { 'S', 'c', 'h', 'l', 'i', 'e', 'ß', 'e', 'n', '/', 'Z', 'i', 'e', 'h', 'e', 'n', '\0' },
+ { -124, 'f', 'f', 'n', 'e', 'n', '/', 'S', 't', 'o', 127, 'e', 'n', '\0' },
+ { 'S', 'c', 'h', 'l', 'i', 'e', 127, 'e', 'n', '/', 'Z', 'i', 'e', 'h', 'e', 'n', '\0' },
"Ansprechen"
};
+// EN
+const char *invOptionsTextEN[] = {
+ "Examine",
+ "Use",
+ "Open/Push",
+ "Close/Pull",
+ "Give"
+};
+
const char *optionsTextEN[] = {
"Walk to",
"Examine",