aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/tony/font.cpp540
1 files changed, 270 insertions, 270 deletions
diff --git a/engines/tony/font.cpp b/engines/tony/font.cpp
index 59a2e8cfc4..60c7b8d525 100644
--- a/engines/tony/font.cpp
+++ b/engines/tony/font.cpp
@@ -1047,32 +1047,32 @@ void RMFontCredits::Init(void) {
- cTable[''] = 52;
- cTable[''] = 53;
+ cTable[(byte)''] = 52;
+ cTable[(byte)''] = 53;
// cTable[''] = 54; // a ^
// cTable[''] = 55; // a pallini
- cTable[''] = 56;
- cTable[''] = 57;
+ cTable[(byte)''] = 56;
+ cTable[(byte)''] = 57;
// cTable[''] = 58; // e ^
// cTable[''] = 59; // e pallini
cTable[''] = 60;
cTable[''] = 61;
// cTable[''] = 62; // i ^
// cTable[''] = 63; // i pallini
- cTable[''] = 64;
- cTable[''] = 65;
+ cTable[(byte)''] = 64;
+ cTable[(byte)''] = 65;
// cTable[''] = 66; // o ^
// cTable[''] = 67; // o pallini
- cTable[''] = 68;
- cTable[''] = 69;
+ cTable[(byte)''] = 68;
+ cTable[(byte)''] = 69;
// cTable[''] = 70; // u ^
// cTable[''] = 71; // u pallini
// cTable[''] = 72; // y pallini
- cTable[''] = 73;
- cTable[''] = 74;
+ cTable[(byte)''] = 73;
+ cTable[(byte)''] = 74;
// cTable[''] = 75; // o barrato
// cTable[''] = 76; // ac
- cTable[''] = 77;
+ cTable[(byte)''] = 77;
// cTable[''] = 78; // ? rovesciato
cTable['?'] = 79;
// cTable[''] = 80; // ! rovesciato
@@ -1081,8 +1081,8 @@ void RMFontCredits::Init(void) {
// cTable[''] = 83; // 1/4
cTable['('] = 84;
cTable[')'] = 85;
- cTable[''] = 86;
- cTable[''] = 87;
+ cTable[(byte)''] = 86;
+ cTable[(byte)''] = 87;
// cTable[''] = 88; // AE
cTable[':'] = 89;
cTable['%'] = 90;
@@ -1102,7 +1102,7 @@ void RMFontCredits::Init(void) {
cTable['\''] = 111;
lTable[' '] = 11;
- lTable[''] = lTable['A'] = 19;
+ lTable[(byte)''] = lTable['A'] = 19;
lTable['B'] = 15;
lTable['C'] = 14;
lTable['D'] = 13;
@@ -1181,43 +1181,43 @@ void RMFontCredits::Init(void) {
//AaCcEeLlNnOoSsZzZz
//ꣳ󌜯
- cTable[''] = 112;
- cTable[''] = 113;
- cTable[''] = 114;
- cTable[''] = 115;
- cTable[''] = 116;
- cTable[''] = 117;
- cTable[''] = 118;
- cTable[''] = 119;
- cTable[''] = 120;
- cTable[''] = 121;
- cTable[''] = 122;
- cTable[''] = 123;
- cTable[''] = 124;
- cTable[''] = 125;
- cTable[''] = 126;
- cTable[''] = 127;
- cTable[''] = 128;
- cTable[''] = 129;
+ cTable[(byte)''] = 112;
+ cTable[(byte)''] = 113;
+ cTable[(byte)''] = 114;
+ cTable[(byte)''] = 115;
+ cTable[(byte)''] = 116;
+ cTable[(byte)''] = 117;
+ cTable[(byte)''] = 118;
+ cTable[(byte)''] = 119;
+ cTable[(byte)''] = 120;
+ cTable[(byte)''] = 121;
+ cTable[(byte)''] = 122;
+ cTable[(byte)''] = 123;
+ cTable[(byte)''] = 124;
+ cTable[(byte)''] = 125;
+ cTable[(byte)''] = 126;
+ cTable[(byte)''] = 127;
+ cTable[(byte)''] = 128;
+ cTable[(byte)''] = 129;
- lTable[''] = 20;
- lTable[''] = 12;
- lTable[''] = 15;
- lTable[''] = 10;
- lTable[''] = 15;
- lTable[''] = 10;
- lTable[''] = 14;
- lTable[''] = 11;
- lTable[''] = 16;
- lTable[''] = 10;
- lTable[''] = 15;
- lTable[''] = 11;
- lTable[''] = 15;
- lTable[''] = 10;
- lTable[''] = 15;
- lTable[''] = 10;
- lTable[''] = 15;
- lTable[''] = 10;
+ lTable[(byte)''] = 20;
+ lTable[(byte)''] = 12;
+ lTable[(byte)''] = 15;
+ lTable[(byte)''] = 10;
+ lTable[(byte)''] = 15;
+ lTable[(byte)''] = 10;
+ lTable[(byte)''] = 14;
+ lTable[(byte)''] = 11;
+ lTable[(byte)''] = 16;
+ lTable[(byte)''] = 10;
+ lTable[(byte)''] = 15;
+ lTable[(byte)''] = 11;
+ lTable[(byte)''] = 15;
+ lTable[(byte)''] = 10;
+ lTable[(byte)''] = 15;
+ lTable[(byte)''] = 10;
+ lTable[(byte)''] = 15;
+ lTable[(byte)''] = 10;
#ifdef FONT_RUSSIAN
@@ -1226,244 +1226,244 @@ void RMFontCredits::Init(void) {
// per le altre traduzioni. Per compilare Tony in altre lingue,
// commentare via queste definizioni.
- cTable[''] = 130;
- cTable[''] = 131;
- cTable[''] = 132;
- cTable[''] = 133;
- cTable[''] = 134;
- cTable[''] = 135;
- cTable[''] = 136;
- cTable[''] = 137;
- cTable[''] = 138;
- cTable[''] = 139;
- cTable[''] = 140;
- cTable[''] = 141;
- cTable[''] = 142;
- cTable[''] = 143;
- cTable[''] = 144;
- cTable[''] = 145;
- cTable[''] = 146;
- cTable[''] = 147;
- cTable[''] = 148;
- cTable[''] = 149;
- cTable[''] = 150;
- cTable[''] = 151;
- cTable[''] = 152;
- cTable[''] = 153;
- cTable[''] = 154;
- cTable[''] = 155;
- cTable[''] = 156;
- cTable[''] = 157;
- cTable[''] = 158;
- cTable[''] = 159;
- cTable[''] = 160;
- cTable[''] = 161;
- cTable[''] = 162;
-
- cTable[''] = 163;
- cTable[''] = 164;
- cTable[''] = 165;
- cTable[''] = 166;
- cTable[''] = 167;
- cTable[''] = 168;
- cTable[''] = 169;
- cTable[''] = 170;
- cTable[''] = 171;
- cTable[''] = 172;
- cTable[''] = 173;
- cTable[''] = 174;
- cTable[''] = 175;
- cTable[''] = 176;
- cTable[''] = 177;
- cTable[''] = 178;
- cTable[''] = 179;
- cTable[''] = 180;
- cTable[''] = 181;
- cTable[''] = 182;
- cTable[''] = 183;
- cTable[''] = 184;
- cTable[''] = 185;
- cTable[''] = 186;
- cTable[''] = 187;
- cTable[''] = 188;
- cTable[''] = 189;
- cTable[''] = 190;
- cTable[''] = 191;
- cTable[''] = 192;
- cTable[''] = 193;
- cTable[''] = 194;
- cTable[''] = 195;
-
- lTable[''] = 20;
- lTable[''] = 16;
- lTable[''] = 16;
- lTable[''] = 14;
- lTable[''] = 22;
- lTable[''] = 15;
- lTable[''] = 15;
- lTable[''] = 20;
- lTable[''] = 12;
- lTable[''] = 16;
- lTable[''] = 16;
- lTable[''] = 16;
- lTable[''] = 22;
- lTable[''] = 18;
- lTable[''] = 16;
- lTable[''] = 15;
- lTable[''] = 14;
- lTable[''] = 13;
- lTable[''] = 15;
- lTable[''] = 12;
- lTable[''] = 14;
- lTable[''] = 15;
- lTable[''] = 13;
- lTable[''] = 16;
- lTable[''] = 14;
- lTable[''] = 23;
- lTable[''] = 23;
- lTable[''] = 10;
- lTable[''] = 12;
- lTable[''] = 16;
- lTable[''] = 12;
- lTable[''] = 20;
- lTable[''] = 15;
-
- lTable[''] = 12;
- lTable[''] = 10;
- lTable[''] = 10;
- lTable[''] = 11;
- lTable[''] = 16;
- lTable[''] = 10;
- lTable[''] = 11;
- lTable[''] = 13;
- lTable[''] = 12;
- lTable[''] = 13;
- lTable[''] = 13;
- lTable[''] = 12;
- lTable[''] = 13;
- lTable[''] = 14;
- lTable[''] = 11;
- lTable[''] = 11;
- lTable[''] = 11;
- lTable[''] = 12;
- lTable[''] = 10;
- lTable[''] = 10;
- lTable[''] = 10;
- lTable[''] = 11;
- lTable[''] = 10;
- lTable[''] = 11;
- lTable[''] = 10;
- lTable[''] = 15;
- lTable[''] = 15;
- lTable[''] = 10;
- lTable[''] = 12;
- lTable[''] = 16;
- lTable[''] = 11;
- lTable[''] = 13;
- lTable[''] = 11;
+ cTable[(byte)''] = 130;
+ cTable[(byte)''] = 131;
+ cTable[(byte)''] = 132;
+ cTable[(byte)''] = 133;
+ cTable[(byte)''] = 134;
+ cTable[(byte)''] = 135;
+ cTable[(byte)''] = 136;
+ cTable[(byte)''] = 137;
+ cTable[(byte)''] = 138;
+ cTable[(byte)''] = 139;
+ cTable[(byte)''] = 140;
+ cTable[(byte)''] = 141;
+ cTable[(byte)''] = 142;
+ cTable[(byte)''] = 143;
+ cTable[(byte)''] = 144;
+ cTable[(byte)''] = 145;
+ cTable[(byte)''] = 146;
+ cTable[(byte)''] = 147;
+ cTable[(byte)''] = 148;
+ cTable[(byte)''] = 149;
+ cTable[(byte)''] = 150;
+ cTable[(byte)''] = 151;
+ cTable[(byte)''] = 152;
+ cTable[(byte)''] = 153;
+ cTable[(byte)''] = 154;
+ cTable[(byte)''] = 155;
+ cTable[(byte)''] = 156;
+ cTable[(byte)''] = 157;
+ cTable[(byte)''] = 158;
+ cTable[(byte)''] = 159;
+ cTable[(byte)''] = 160;
+ cTable[(byte)''] = 161;
+ cTable[(byte)''] = 162;
+
+ cTable[(byte)''] = 163;
+ cTable[(byte)''] = 164;
+ cTable[(byte)''] = 165;
+ cTable[(byte)''] = 166;
+ cTable[(byte)''] = 167;
+ cTable[(byte)''] = 168;
+ cTable[(byte)''] = 169;
+ cTable[(byte)''] = 170;
+ cTable[(byte)''] = 171;
+ cTable[(byte)''] = 172;
+ cTable[(byte)''] = 173;
+ cTable[(byte)''] = 174;
+ cTable[(byte)''] = 175;
+ cTable[(byte)''] = 176;
+ cTable[(byte)''] = 177;
+ cTable[(byte)''] = 178;
+ cTable[(byte)''] = 179;
+ cTable[(byte)''] = 180;
+ cTable[(byte)''] = 181;
+ cTable[(byte)''] = 182;
+ cTable[(byte)''] = 183;
+ cTable[(byte)''] = 184;
+ cTable[(byte)''] = 185;
+ cTable[(byte)''] = 186;
+ cTable[(byte)''] = 187;
+ cTable[(byte)''] = 188;
+ cTable[(byte)''] = 189;
+ cTable[(byte)''] = 190;
+ cTable[(byte)''] = 191;
+ cTable[(byte)''] = 192;
+ cTable[(byte)''] = 193;
+ cTable[(byte)''] = 194;
+ cTable[(byte)''] = 195;
+
+ lTable[(byte)''] = 20;
+ lTable[(byte)''] = 16;
+ lTable[(byte)''] = 16;
+ lTable[(byte)''] = 14;
+ lTable[(byte)''] = 22;
+ lTable[(byte)''] = 15;
+ lTable[(byte)''] = 15;
+ lTable[(byte)''] = 20;
+ lTable[(byte)''] = 12;
+ lTable[(byte)''] = 16;
+ lTable[(byte)''] = 16;
+ lTable[(byte)''] = 16;
+ lTable[(byte)''] = 22;
+ lTable[(byte)''] = 18;
+ lTable[(byte)''] = 16;
+ lTable[(byte)''] = 15;
+ lTable[(byte)''] = 14;
+ lTable[(byte)''] = 13;
+ lTable[(byte)''] = 15;
+ lTable[(byte)''] = 12;
+ lTable[(byte)''] = 14;
+ lTable[(byte)''] = 15;
+ lTable[(byte)''] = 13;
+ lTable[(byte)''] = 16;
+ lTable[(byte)''] = 14;
+ lTable[(byte)''] = 23;
+ lTable[(byte)''] = 23;
+ lTable[(byte)''] = 10;
+ lTable[(byte)''] = 12;
+ lTable[(byte)''] = 16;
+ lTable[(byte)''] = 12;
+ lTable[(byte)''] = 20;
+ lTable[(byte)''] = 15;
+
+ lTable[(byte)''] = 12;
+ lTable[(byte)''] = 10;
+ lTable[(byte)''] = 10;
+ lTable[(byte)''] = 11;
+ lTable[(byte)''] = 16;
+ lTable[(byte)''] = 10;
+ lTable[(byte)''] = 11;
+ lTable[(byte)''] = 13;
+ lTable[(byte)''] = 12;
+ lTable[(byte)''] = 13;
+ lTable[(byte)''] = 13;
+ lTable[(byte)''] = 12;
+ lTable[(byte)''] = 13;
+ lTable[(byte)''] = 14;
+ lTable[(byte)''] = 11;
+ lTable[(byte)''] = 11;
+ lTable[(byte)''] = 11;
+ lTable[(byte)''] = 12;
+ lTable[(byte)''] = 10;
+ lTable[(byte)''] = 10;
+ lTable[(byte)''] = 10;
+ lTable[(byte)''] = 11;
+ lTable[(byte)''] = 10;
+ lTable[(byte)''] = 11;
+ lTable[(byte)''] = 10;
+ lTable[(byte)''] = 15;
+ lTable[(byte)''] = 15;
+ lTable[(byte)''] = 10;
+ lTable[(byte)''] = 12;
+ lTable[(byte)''] = 16;
+ lTable[(byte)''] = 11;
+ lTable[(byte)''] = 13;
+ lTable[(byte)''] = 11;
#endif // FONT_RUSSIAN
#ifdef FONT_CZECH
- cTable[''] = 196;
- cTable[''] = 197;
- cTable[''] = 198;
- cTable[''] = 199;
- cTable[''] = 200;
- cTable[''] = 201;
- cTable[''] = 202;
- cTable[''] = 203;
- cTable[''] = 204;
- cTable[''] = 205;
- cTable[''] = 206;
- cTable[''] = 207;
- cTable[''] = 208;
- cTable[''] = 209;
- cTable[''] = 210;
-
- cTable[''] = 211;
- cTable[''] = 212;
- cTable[''] = 213;
- cTable[''] = 214;
- cTable[''] = 215;
- cTable[''] = 216;
- cTable[''] = 217;
- cTable[''] = 218;
- cTable[''] = 219;
- cTable[''] = 220;
- cTable[''] = 221;
- cTable[''] = 222;
- cTable[''] = 223;
- cTable[''] = 224;
- cTable[''] = 225;
-
- lTable[''] = 15;
- lTable[''] = 15;
- lTable[''] = 15;
- lTable[''] = 15;
- lTable[''] = 15;
- lTable[''] = 14;
- lTable[''] = 20;
- lTable[''] = 7;
- lTable[''] = 15;
- lTable[''] = 20;
- lTable[''] = 19;
- lTable[''] = 16;
- lTable[''] = 15;
- lTable[''] = 13;
- lTable[''] = 13;
-
- lTable[''] = 11;
- lTable[''] = 11;
- lTable[''] = 11;
- lTable[''] = 11;
- lTable[''] = 11;
- lTable[''] = 10;
- lTable[''] = 12;
- lTable[''] = 6;
- lTable[''] = 10;
- lTable[''] = 15;
- lTable[''] = 12;
- lTable[''] = 11;
- lTable[''] = 11;
- lTable[''] = 10;
- lTable[''] = 10;
+ cTable[(byte)''] = 196;
+ cTable[(byte)''] = 197;
+ cTable[(byte)''] = 198;
+ cTable[(byte)''] = 199;
+ cTable[(byte)''] = 200;
+ cTable[(byte)''] = 201;
+ cTable[(byte)''] = 202;
+ cTable[(byte)''] = 203;
+ cTable[(byte)''] = 204;
+ cTable[(byte)''] = 205;
+ cTable[(byte)''] = 206;
+ cTable[(byte)''] = 207;
+ cTable[(byte)''] = 208;
+ cTable[(byte)''] = 209;
+ cTable[(byte)''] = 210;
+
+ cTable[(byte)''] = 211;
+ cTable[(byte)''] = 212;
+ cTable[(byte)''] = 213;
+ cTable[(byte)''] = 214;
+ cTable[(byte)''] = 215;
+ cTable[(byte)''] = 216;
+ cTable[(byte)''] = 217;
+ cTable[(byte)''] = 218;
+ cTable[(byte)''] = 219;
+ cTable[(byte)''] = 220;
+ cTable[(byte)''] = 221;
+ cTable[(byte)''] = 222;
+ cTable[(byte)''] = 223;
+ cTable[(byte)''] = 224;
+ cTable[(byte)''] = 225;
+
+ lTable[(byte)''] = 15;
+ lTable[(byte)''] = 15;
+ lTable[(byte)''] = 15;
+ lTable[(byte)''] = 15;
+ lTable[(byte)''] = 15;
+ lTable[(byte)''] = 14;
+ lTable[(byte)''] = 20;
+ lTable[(byte)''] = 7;
+ lTable[(byte)''] = 15;
+ lTable[(byte)''] = 20;
+ lTable[(byte)''] = 19;
+ lTable[(byte)''] = 16;
+ lTable[(byte)''] = 15;
+ lTable[(byte)''] = 13;
+ lTable[(byte)''] = 13;
+
+ lTable[(byte)''] = 11;
+ lTable[(byte)''] = 11;
+ lTable[(byte)''] = 11;
+ lTable[(byte)''] = 11;
+ lTable[(byte)''] = 11;
+ lTable[(byte)''] = 10;
+ lTable[(byte)''] = 12;
+ lTable[(byte)''] = 6;
+ lTable[(byte)''] = 10;
+ lTable[(byte)''] = 15;
+ lTable[(byte)''] = 12;
+ lTable[(byte)''] = 11;
+ lTable[(byte)''] = 11;
+ lTable[(byte)''] = 10;
+ lTable[(byte)''] = 10;
#endif // FONT_CZECH
#ifdef FONT_FRENCH
- cTable[''] = 226;
- cTable[''] = 227;
- cTable[''] = 228;
- cTable[''] = 229;
- cTable[''] = 230;
- cTable[''] = 231;
- cTable[''] = 232;
- cTable[''] = 233;
-
- lTable[''] = 12;
- lTable[''] = 10;
- lTable[''] = 10;
- lTable[''] = 6;
- lTable[''] = 10;
- lTable[''] = 10;
- lTable[''] = 11;
- lTable[''] = 11;
+ cTable[(byte)''] = 226;
+ cTable[(byte)''] = 227;
+ cTable[(byte)''] = 228;
+ cTable[(byte)''] = 229;
+ cTable[(byte)''] = 230;
+ cTable[(byte)''] = 231;
+ cTable[(byte)''] = 232;
+ cTable[(byte)''] = 233;
+
+ lTable[(byte)''] = 12;
+ lTable[(byte)''] = 10;
+ lTable[(byte)''] = 10;
+ lTable[(byte)''] = 6;
+ lTable[(byte)''] = 10;
+ lTable[(byte)''] = 10;
+ lTable[(byte)''] = 11;
+ lTable[(byte)''] = 11;
#endif // FONT_FRENCH
#ifdef FONT_GERMAN
- cTable[''] = 234;
+ cTable[(byte)''] = 234;
// 'SS' = 235
// old chars overrides
- cTable[''] = cTable[''] = 55;
- cTable[''] = cTable[''] = 67;
- cTable[''] = cTable[''] = 71;
+ cTable[(byte)''] = cTable[(byte)''] = 55;
+ cTable[(byte)''] = cTable[(byte)''] = 67;
+ cTable[(byte)''] = cTable[(byte)''] = 71;
- lTable[''] = 11;
+ lTable[(byte)''] = 11;
#endif // FONT_GERMAN
}