-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathchar_tbl_latin.h
33 lines (32 loc) · 2.66 KB
/
char_tbl_latin.h
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
#include "bnk_pc.h"
// THIS IS NOT THE SIZE OF THE TABLE! This is the character count as stated in the charlist_XX.dat file
const u16 char_tbl_latin_size = 266;
// 0 bytes in this table signifies areas left blank on the font bitmap (font_header.cvbm/gvbm and font_body_nobdr.cvbm/gvbm)
// Volition's text encoding mostly follows Unicode for the first 0x100 bytes, but then...
const u16 char_tbl_latin[0x10000] = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
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, 93, 94, 95,
96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111,
112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
160, 161, 162, 163, 0, 0, 0, 0, 0, 169, 170, 0, 0, 0, 174, 0,
176, 0, 0, 0, 180, 0, 0, 0, 0, 0, 186, 0, 0, 0, 0, 191,
192, 193, 194, 0, 196, 0, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207,
0, 209, 210, 211, 212, 0, 214, 0, 0, 217, 218, 219, 220, 221, 0, 223,
224, 225, 226, 0, 228, 0, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239,
0, 241, 242, 243, 244, 0, 246, 0, 0, 249, 250, 251, 252, 253, 0, 0,
// ... things get a little weird...
260, 261, 262, 263, 268, 269, 270, 271, 280, 281, 282, 283, 321, 322, 323, 324,
327, 328, 338, 339, 344, 345, 346, 347, 352, 353, 356, 357, 366, 367, 377, 378,
// ... and a little weirder with an abrupt jump to cyrillic
379, 380, 381, 382, 1025, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050,
1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066,
1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082,
1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095, 1096, 1097, 1098,
1099, 1100, 1101, 1102, 1103, 1105, 8211, 8216, 8217, 8218, 8220, 8221, 8222, 8230, 8364, 8482
};