-
Notifications
You must be signed in to change notification settings - Fork 0
/
TR4G_Areas_inc.h
132 lines (129 loc) · 11 KB
/
TR4G_Areas_inc.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
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
126
127
128
129
130
131
132
static TR_AREA TR4G_office [] =
{
{ 0, 43008, 47104, -1280, 0, "", 6, 6, 0x0, 0, 0, -5, -4, 52, 52, 45, }, // 0x00
{ 1, 38912, 44032, -2560, 2560, "", 6, 12, 0x48, -1, 10, -10, -5, 59, 59, 45, }, // 0x01
{ 2, 47104, 50176, -1024, 0, "", 3, 3, 0x40, 0, 0, -5, -4, 66, 66, 45, }, // 0x02
{ 3, 48128, 49152, -1280, 0, "", 3, 7, 0x40, 0, 0, -5, -4, 66, 66, 45, }, // 0x03
{ 4, 48128, 54272, -1280, 0, "", 3, 5, 0x40, 0, 0, -5, -4, 73, 73, 45, }, // 0x04
{ 5, 43008, 55296, -2048, 0, "", 6, 13, 0x40, 0, 0, -8, -8, 58, 58, 45, }, // 0x05
{ 6, 45056, 66560, -2048, 0, "", 5, 6, 0x40, 0, 0, -8, -8, 63, 63, 45, }, // 0x06
{ 7, 38912, 55296, -2048, 0, "", 6, 13, 0x40, 0, 0, -8, -8, 62, 62, 45, }, // 0x07
{ -1, 0, 0, 0, NULL, 0, 0, 0, 0, 0, 0, 0, -1, }, // End
};
static TR_AREA TR4G_times [] =
{
{ 0, 65536, 15360, -3328, 512, "", 7, 7, 0x40, 0, 2, -13, -7, 46, 46, 45, }, // 0x00
{ 1, 62464, 20480, 512, 2048, "", 3, 7, 0x40, 8, 8, -2, 2, 66, 66, 45, }, // 0x01
{ 2, 79872, 17408, -7168, -5120, "", 20, 3, 0x40, -20, -20, -28, -28, 70, 70, 45, }, // 0x02
{ 3, 79872, 16384, -5120, -2048, "", 20, 5, 0x40, -8, -8, -20, -14, 46, 46, 45, }, // 0x03
{ 4, 60416, 15360, -512, 2048, "", 7, 7, 0x48, 2, 8, -2, 2, 42, 42, 45, }, // 0x04
{ 5, 74752, 15360, -3840, -3584, "", 3, 7, 0x40, -14, -14, -15, -15, 76, 76, 45, }, // 0x05
{ 6, 76800, 15360, -3840, -3584, "", 3, 7, 0x40, -14, -14, -15, -15, 76, 76, 45, }, // 0x06
{ 7, 71680, 15360, -3840, -3584, "", 4, 7, 0x40, -14, -14, -15, -15, 64, 64, 45, }, // 0x07
{ 8, 65536, 16384, 512, 2048, "", 6, 5, 0x40, 0, 8, -20, 5, 20, 20, 45, }, // 0x08
{ 9, 60416, 15360, -1280, -512, "", 7, 7, 0x40, -2, -2, -5, -4, 46, 46, 45, }, // 0x09
{ 10, 62464, 3072, -2560, -512, "", 3, 14, 0x40, -4, -2, -10, -4, 61, 61, 45, }, // 0x0A
{ 11, 61440, 38912, -3840, -512, "", 5, 4, 0x40, -11, -2, -15, -15, 55, 55, 45, }, // 0x0B
{ 12, 56320, 3072, -2560, -1024, "", 8, 3, 0x0, -4, -1, -12, -8, 66, 66, 45, }, // 0x0C
{ 13, 1024, 12288, -9216, -4096, "", 11, 9, 0x48, -23, -16, -36, -23, 37, 37, 45, }, // 0x0D
{ 14, 10240, 15360, -5888, -2048, "", 11, 3, 0x0, -16, 0, -29, -14, 63, 63, 45, }, // 0x0E
{ 15, 24576, 13312, -4608, 0, "", 10, 6, 0x40, 0, 0, -18, -6, 40, 40, 45, }, // 0x0F
{ 16, 26624, 13312, 0, 3072, "", 6, 6, 0x40, 4, 12, 0, 8, 33, 33, 45, }, // 0x10
{ 17, 19456, 14336, -3584, 0, "", 7, 4, 0x40, -8, 0, -18, -6, 53, 53, 45, }, // 0x11
{ 18, 63488, 10240, -2048, -512, "", 3, 3, 0x40, -2, -2, -8, -8, 77, 77, 45, }, // 0x12
{ 19, 61440, 8192, -2048, -512, "", 3, 3, 0x40, -2, -2, -8, -8, 77, 77, 45, }, // 0x13
{ 20, 27648, 8192, -3072, -1024, "", 6, 6, 0x40, -5, -4, -9, -9, 55, 55, 45, }, // 0x14
{ 21, 5120, 19456, -6656, -5120, "", 3, 6, 0x40, -20, -20, -29, -26, 66, 66, 45, }, // 0x15
{ 22, 5120, 8192, -6656, -5120, "", 3, 6, 0x40, -21, -20, -29, -26, 72, 72, 45, }, // 0x16
{ 23, 16384, 14336, -4096, 0, "", 3, 3, 0x40, -8, 0, -16, -16, 77, 77, 45, }, // 0x17
{ 24, 6144, 22528, -6656, -5120, "", 6, 3, 0x40, -20, -20, -33, -26, 66, 66, 45, }, // 0x18
{ 25, 10240, 15360, -8704, -5888, "", 4, 3, 0x40, -27, -23, -34, -34, 83, 83, 45, }, // 0x19
{ 26, 97280, 22528, -3840, -2304, "", 7, 7, 0x40, -15, -9, -15, -9, 42, 42, 45, }, // 0x1A
{ 27, 27648, 8192, -1024, 0, "", 6, 6, 0x40, 0, 0, -4, -4, 50, 50, 45, }, // 0x1B
{ 28, 30720, 4096, -2048, 2048, "", 3, 6, 0x48, -4, 8, -12, -4, 66, 66, 45, }, // 0x1C
{ 29, 31744, 11264, -4096, 1536, "", 8, 3, 0x40, -8, 6, -20, -4, 66, 66, 45, }, // 0x1D
{ 30, 32768, 14336, -3584, 0, "", 7, 4, 0x40, -8, 0, -20, -6, 50, 50, 45, }, // 0x1E
{ 31, 37888, 0, -3072, 0, "", 20, 10, 0x248, -21, 0, -12, -4, 33, 33, 45, }, // 0x1F
{ 32, 30720, 2048, -3072, -1024, "", 9, 4, 0x8, -8, -1, -12, -8, 69, 69, 45, }, // 0x20
{ 33, 98304, 17408, -3840, -256, "", 4, 7, 0x40, -9, -1, -15, -7, 71, 71, 45, }, // 0x21
{ 34, 97280, 22528, -5376, -3840, "", 7, 7, 0x40, -21, -15, -21, -15, 44, 44, 45, }, // 0x22
{ 35, 37888, 1024, -4864, -3072, "", 20, 8, 0x0, -13, -12, -18, -13, 32, 32, 45, }, // 0x23
{ 36, 37888, 0, 0, 3328, "", 20, 10, 0x1, 0, 13, 0, 4, 38, 38, 45, }, // 0x24
{ 37, 37888, 11264, -5120, -2048, "", 4, 7, 0x40, -8, -8, -20, -14, 53, 53, 45, }, // 0x25
{ 38, 10240, 21504, -11520, -5120, "", 17, 5, 0x40, -32, -20, -45, -26, 40, 40, 45, }, // 0x26
{ 39, 97280, 22528, -6912, -5376, "", 7, 7, 0x40, -27, -21, -27, -21, 44, 44, 45, }, // 0x27
{ 40, 97280, 22528, -11520, -9984, "", 7, 7, 0x48, -39, -39, -45, -45, 48, 48, 45, }, // 0x28
{ 41, 97280, 22528, -8448, -6912, "", 7, 7, 0x40, -33, -27, -33, -33, 44, 44, 45, }, // 0x29
{ 42, 97280, 22528, -9984, -8448, "", 7, 7, 0x40, -36, -33, -39, -39, 44, 44, 45, }, // 0x2A
{ 43, 101376, 17408, -13824, -8448, "", 3, 7, 0x48, -48, -33, -51, -39, 76, 76, 45, }, // 0x2B
{ 44, 97280, 17408, -13824, -8448, "", 3, 7, 0x40, -48, -33, -51, -39, 66, 66, 45, }, // 0x2C
{ 45, 101376, 17408, -13824, -8448, "", 3, 7, 0x40, -48, -33, -51, -39, 71, 71, 45, }, // 0x2D
{ 46, 25600, 21504, -9728, -8192, "", 5, 5, 0x40, -32, -32, -45, -38, 48, 48, 45, }, // 0x2E
{ 47, 25600, 21504, -11520, -9728, "", 5, 5, 0x40, -39, -38, -51, -45, 52, 52, 45, }, // 0x2F
{ 48, 28672, 22528, -9728, -8192, "", 5, 3, 0x40, -32, -32, -38, -38, 73, 73, 45, }, // 0x30
{ 49, 61440, 40960, -3840, -2560, "", 5, 4, 0x40, -11, -10, -15, -15, 65, 65, 45, }, // 0x31
{ 50, 61440, 43008, -3840, -2560, "", 4, 4, 0x40, -11, -2, -15, -15, 68, 68, 45, }, // 0x32
{ 51, 61440, 38912, -512, 768, "", 3, 6, 0x40, -1, 4, -20, -1, 50, 50, 45, }, // 0x33
{ 52, 60416, 41984, -3840, 768, "", 3, 5, 0x40, -10, 3, -15, -1, 66, 66, 45, }, // 0x34
{ 53, 61440, 38912, -512, 768, "", 3, 6, 0x40, 0, 4, -20, -1, 50, 50, 45, }, // 0x35
{ 54, 93184, 21504, -9984, -8448, "", 6, 3, 0x40, -36, -33, -39, -39, 72, 72, 45, }, // 0x36
{ 55, 97280, 27648, -3840, -2304, "", 3, 4, 0x40, -9, -9, -15, -12, 75, 75, 45, }, // 0x37
{ 56, 97280, 27648, -5120, -3840, "", 3, 4, 0x40, -18, -15, -21, -20, 75, 75, 45, }, // 0x38
{ 57, 25600, 24576, -16640, -9984, "", 5, 20, 0x40, -57, -39, -65, -45, 49, 49, 45, }, // 0x39
{ 58, 22528, 24576, -9728, -8192, "", 3, 5, 0x40, -32, -32, -45, -38, 73, 73, 45, }, // 0x3A
{ 59, 22528, 18432, -9728, -8192, "", 3, 5, 0x40, -32, -32, -45, -38, 73, 73, 45, }, // 0x3B
{ 60, 22528, 19456, -8192, -5120, "", 3, 3, 0x40, -26, -20, -32, -32, 66, 66, 45, }, // 0x3C
{ 61, 22528, 25600, -8192, -5120, "", 3, 3, 0x40, -26, -20, -32, -32, 66, 66, 45, }, // 0x3D
{ 62, 79872, 15360, -2048, -256, "", 20, 7, 0x40, -1, -1, -8, -7, 34, 34, 45, }, // 0x3E
{ 63, 59392, 25600, -4608, 768, "", 9, 15, 0x40, -3, 3, -18, -11, 30, 30, 45, }, // 0x3F
{ 64, 61440, 25600, 512, 2048, "", 5, 9, 0x40, 0, 8, -20, 2, 8, 8, 45, }, // 0x40
{ 65, 70656, 15360, -3584, 768, "", 11, 7, 0x40, -1, 3, -14, -7, 49, 49, 45, }, // 0x41
{ 66, 60416, 15360, -3072, -1280, "", 7, 7, 0x48, -5, -5, -12, -12, 48, 48, 45, }, // 0x42
{ -1, 0, 0, 0, NULL, 0, 0, 0, 0, 0, 0, 0, -1, }, // End
};
static TR_AREA TR4G_title [] =
{
{ 0, 69632, 74752, -3328, 512, "", 7, 7, 0x40, 0, 2, -13, -7, 46, 46, 45, }, // 0x00
{ 1, 66560, 79872, 512, 2048, "", 3, 12, 0x40, 8, 8, -2, 2, 66, 66, 45, }, // 0x01
{ 2, 83968, 76800, -7168, -5120, "", 20, 3, 0x40, -20, -20, -28, -28, 70, 70, 45, }, // 0x02
{ 3, 83968, 75776, -5120, -2048, "", 20, 5, 0x40, -8, -8, -20, -20, 46, 46, 45, }, // 0x03
{ 4, 64512, 74752, -512, 2048, "", 7, 7, 0x48, 2, 8, -2, 2, 42, 42, 45, }, // 0x04
{ 5, 78848, 74752, -3840, -3584, "", 3, 7, 0x40, -14, -14, -15, -15, 76, 76, 45, }, // 0x05
{ 6, 80896, 74752, -3840, -3584, "", 3, 7, 0x40, -14, -14, -15, -15, 76, 76, 45, }, // 0x06
{ 7, 75776, 74752, -3840, -3584, "", 4, 7, 0x40, -14, -14, -15, -15, 64, 64, 45, }, // 0x07
{ 8, 69632, 75776, 512, 2048, "", 6, 5, 0x48, 0, 8, -20, 5, 20, 20, 45, }, // 0x08
{ 9, 64512, 74752, -1280, -512, "", 7, 7, 0x40, -2, -2, -5, -5, 46, 46, 45, }, // 0x09
{ 10, 66560, 62464, -1280, -512, "", 3, 14, 0x40, -2, -2, -5, -5, 69, 69, 45, }, // 0x0A
{ 11, 65536, 100352, -3840, -512, "", 5, 4, 0x40, -2, -2, -15, -15, 55, 55, 45, }, // 0x0B
{ 12, 76800, 34816, -7680, -6144, "", 6, 4, 0x40, -24, -24, -30, -30, 58, 58, 45, }, // 0x0C
{ 13, 76800, 86016, -5120, 0, "", 11, 8, 0x48, -4, 0, -19, -6, 40, 40, 45, }, // 0x0D
{ 14, 86016, 88064, -1792, 0, "", 11, 3, 0x0, 0, 0, -13, -6, 69, 69, 45, }, // 0x0E
{ 15, 35840, 76800, -5120, 0, "", 9, 8, 0x40, -12, 0, -20, -15, 38, 38, 45, }, // 0x0F
{ 16, 35840, 76800, -6912, -5120, "", 9, 8, 0x40, -20, -20, -27, -25, 38, 38, 45, }, // 0x10
{ 17, 35840, 76800, -9472, -6912, "", 9, 8, 0x40, -27, -27, -37, -37, 41, 41, 45, }, // 0x11
{ 18, 24576, 78848, -6400, -5120, "", 13, 3, 0x40, -20, -20, -27, -25, 69, 69, 45, }, // 0x12
{ 19, 43008, 78848, -6400, -5120, "", 14, 3, 0x40, -20, -20, -27, -25, 69, 69, 45, }, // 0x13
{ 20, 67584, 13312, -5120, 0, "", 18, 18, 0x8, -8, 0, -20, -10, 38, 38, 45, }, // 0x14
{ 21, 70656, 16384, -11776, -11264, "", 12, 12, 0x8, -44, -44, -46, -46, 30, 30, 45, }, // 0x15
{ 22, 57344, 20480, -2560, 0, "", 12, 4, 0x8, 0, 0, -20, -10, 54, 54, 45, }, // 0x16
{ 23, 74752, 29696, -7680, -6144, "", 4, 12, 0x0, -24, -20, -36, -30, 50, 50, 45, }, // 0x17
{ 24, 67584, 13312, -11264, -5120, "", 18, 18, 0x8, -24, -20, -44, -36, 39, 39, 45, }, // 0x18
{ 25, 4096, 74752, -2048, 0, "", 5, 6, 0x48, 0, 0, -8, -8, 53, 53, 45, }, // 0x19
{ 26, 6144, 67584, -2048, 0, "", 3, 9, 0x40, 0, 0, -8, -8, 70, 70, 45, }, // 0x1A
{ 27, 7168, 77824, -2048, 0, "", 8, 3, 0x40, 0, 0, -8, -8, 70, 70, 45, }, // 0x1B
{ 28, 37888, 37888, -3072, 0, "", 13, 10, 0x8, -8, 0, -12, -4, 30, 30, 45, }, // 0x1C
{ 29, 25600, 40960, -3072, -2048, "", 14, 3, 0x0, -8, -1, -12, -12, 69, 69, 45, }, // 0x1D
{ 30, 49152, 40960, -1792, 0, "", 12, 4, 0x200, 0, 0, -12, -2, 50, 50, 45, }, // 0x1E
{ 31, 57344, 34816, -2048, 0, "", 4, 8, 0x240, 0, 0, -8, -5, 56, 56, 45, }, // 0x1F
{ 32, 37888, 37888, -4864, -3072, "", 13, 10, 0x0, -12, -12, -18, -13, 49, 49, 45, }, // 0x20
{ 33, 37888, 37888, 0, 3072, "", 13, 10, 0x8, 4, 12, 0, 1, 30, 30, 45, }, // 0x21
{ 34, 37888, 37888, 3072, 4864, "", 13, 10, 0x0, 13, 18, 12, 13, 30, 30, 45, }, // 0x22
{ 35, 49152, 40960, 0, 1536, "", 12, 4, 0x1, 2, 12, 0, 0, 50, 50, 45, }, // 0x23
{ 36, 57344, 34816, 0, 1024, "", 4, 8, 0x41, 3, 4, 0, 0, 56, 56, 45, }, // 0x24
{ 37, 83968, 74752, -2048, -256, "", 20, 7, 0x40, -1, -1, -8, -8, 35, 35, 45, }, // 0x25
{ 38, 63488, 90112, -4608, 512, "", 9, 12, 0x40, -3, 2, -18, -11, 32, 32, 45, }, // 0x26
{ 39, 65536, 90112, 512, 2048, "", 5, 6, 0x48, -19, 8, -20, 2, 13, 13, 45, }, // 0x27
{ 40, 74752, 74752, -3584, 0, "", 11, 7, 0x40, -1, 2, -14, -7, 49, 49, 45, }, // 0x28
{ 41, 64512, 74752, -3072, -1280, "", 7, 7, 0x48, -5, -5, -12, -12, 48, 48, 45, }, // 0x29
{ -1, 0, 0, 0, NULL, 0, 0, 0, 0, 0, 0, 0, -1, }, // End
};