Added the character lookup table for the Spanish font

svn-id: r42920
This commit is contained in:
Paul Gilbert 2009-07-30 11:03:16 +00:00
parent affbe86026
commit 1fea43ab19
2 changed files with 56 additions and 1 deletions

View File

@ -168,6 +168,59 @@ int16 german_fontCharacterTable[256] = {
-1, -1, -1, -1
};
int16 spanish_fontCharacterTable[256] = {
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1,
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29,
30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43,
44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57,
58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71,
72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85,
86, 87, 88, 89, 90, 91, 92,
-1, -1, -1,
0x72, 0x80
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
0x7f, 0x79, 0x7b, 0x81, 0x82, 0x83,
-1, -1,
0x7d,
-1, -1, -1, -1,
0x7E,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1,
0x6A, 0x69,
-1, -1, -1, -1,
0x6B, 0x6C,
-1, -1,
0x6D, 0x6E,
-1, -1, -1, -1, -1, -1,
0x6F,
-1,
0x70,
-1, -1,
0x71, 0x72,
-1, -1,
0x74, 0x5D,
-1,
0x76,
-1,
0x5E,
-1,
0x75, 0x73, 0x60, 0x5F, 0x61, 0x62, 0x79, 0x78, 0x63, 0x64,
-1, -1,
0x7B, 0x7A,
0x65,
-1,
0x66,
-1, -1,
0x67,
-1,
0x68,
-1, -1, -1, -1
};
//
// Mouse data
//

View File

@ -41,9 +41,11 @@ extern int actor_invstat[][13];
extern short int english_fontCharacterTable[256];
extern short int german_fontCharacterTable[256];
extern short int spanish_fontCharacterTable[256];
#define fontCharacterTable (_vm->getLanguage() == Common::DE_DEU ? \
german_fontCharacterTable : english_fontCharacterTable)
german_fontCharacterTable : (_vm->getLanguage() == Common::ES_ESP ? \
spanish_fontCharacterTable : english_fontCharacterTable))
// Mouse cursor data
extern const byte mouseCursorNormal[];