palpic2png.c: improve, make usable with ppic binary files
[rofl0r-openDOW.git] / maps / map_safrica.c
blob53b4e4a794af3367958dc6014dcd2d8b2c911a71
1 #include "../map.h"
3 #define SCREEN_COUNT 25
4 #define BONUS_COUNT 9
6 const struct {
7 struct map header;
8 struct map_screen screens[SCREEN_COUNT];
9 mapscreen_index bonus_index[BONUS_COUNT];
10 struct map_fglayer bonus_screens[BONUS_COUNT];
11 } map_safrica = {
12 .header = {
13 .maptype = MT_URBAN,
14 .mission_text = {
15 " our political leader has been",
16 "abducted by right wing activists",
17 "who are holding him prisoner.",
18 "will you free him for $9000?",
19 "",
21 .rewardk = 9,
22 .client_face = 11,
23 .mini_pic = 0,
24 .boss_id = 3,
25 .worldmap_coords = VEC(141,98),
26 .bonuslayer_count = BONUS_COUNT,
27 .enemy_type = ET_WESTERN,
28 .enemy_palette = {
29 PRGB( 0, 0, 0),
30 PRGB( 51, 85, 85),
31 PRGB( 51, 119, 51),
32 PRGB(119, 85, 17),
33 PRGB(187, 153, 85),
34 PRGB(187, 119, 85),
35 PRGB(0x99,0x33,0x11),
36 PRGB( 17, 51, 51),
38 .screen_map = {
39 #define X MAPSCREEN_BLOCKED
40 [ 0] = { X, X, X, X, X, X, X },
41 [ 1] = { X, X, X, X, X, X, X },
42 [ 2] = { X,24, X, X, X, X, X },
43 [ 3] = { X,23, X, X, X, X, X },
44 [ 4] = { X,22, X, X, X, X, X },
45 [ 5] = { X,21, X, X, X, X, X },
46 [ 6] = { X,20, X, X, X, X, X },
47 [ 7] = { X,19, X, X, X, X, X },
48 [ 8] = { X,18,18,18,18,18, X },
49 [ 9] = { X,18,18,18,18,17, X },
50 [10] = { X, X, X, X, X,16, X },
51 [11] = { X, X, X, X, X,15, X },
52 [12] = { X, X, X, X, X,14, X },
53 [13] = { X, X, X, X, X,13, X },
54 [14] = { X,12,12,12,12,12, X },
55 [15] = { X,11,12,12,12,12, X },
56 [16] = { X,10, X, X, X, X, X },
57 [17] = { X, 9, X, X, X, X, X },
58 [18] = { X, 8, X, X, X, X, X },
59 [19] = { X, 7, X, X, X, X, X },
60 [20] = { X, 6, 6, 6, 6, 6, X },
61 [21] = { X, 6, 6, 6, 6, 5, X },
62 [22] = { X, X, X, X, X, 4, X },
63 [23] = { X, X, X, X, X, 3, X },
64 [24] = { X, X, X, X, X, 2, X },
65 [25] = { X, X, X, X, X, 1, X },
66 [26] = { X, X, X, X, X, 0, X },
67 [27] = { X, X, X, X, X, 0, X },
68 #undef X
71 .screens = {
72 [0] = {
73 .bg = {{
74 {1,1,1,},
75 {1,1,1,},
76 {1,1,1,},
77 {1,1,1,},
78 {1,1,1,},
79 {1,1,1,},
80 }},
81 .fg = {{
82 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
83 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
84 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
85 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
86 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
87 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
88 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
89 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
90 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
91 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
92 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
93 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
94 }},
96 [1] = {
97 .bg = {{
98 {3,1,1,},
99 {3,1,1,},
100 {3,1,1,},
101 {1,1,1,},
102 {1,1,1,},
103 {1,1,1,},
105 .fg = {{
106 {178,178,178,178,182, 0, 0, 0, 0, 0, 0,206,},
107 {178,178,178,178,182, 0, 50, 50, 50, 50, 50,206,},
108 { 0,136, 0, 0,182, 0, 50, 50, 50, 50, 50,206,},
109 { 0, 0, 0, 0,182,140, 69,148,149,150, 70,206,},
110 {139,174, 0,192,182, 0, 69,151,152,153, 70,206,},
111 {127,127,127,172,182, 0, 0,187, 0,187,111,111,},
112 {179,179,179,179,171, 0, 0, 0, 0, 0, 0, 0,},
113 {187, 0, 0, 0, 0, 0, 0, 0, 0, 0,140, 0,},
114 { 0, 0, 0, 0,140, 0, 0, 0, 0, 0, 0, 0,},
115 { 95, 95, 0, 0, 0, 0,187, 0, 0, 0, 95, 95,},
116 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
117 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
120 [2] = {
121 .bg = {{
122 {3,3,3,},
123 {3,3,3,},
124 {3,3,3,},
125 {3,1,1,},
126 {3,1,1,},
127 {3,1,1,},
129 .fg = {{
130 {180,180,180,180,180,180,180,183, 16, 17, 0, 0,},
131 { 0,172, 0, 0, 0,136,136, 0, 0, 0, 0, 0,},
132 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
133 { 0,174, 0, 0, 0, 0, 0, 0, 0,139, 0,174,},
134 { 0, 0, 0, 0,137, 0, 0, 0, 0, 0, 0, 0,},
135 { 0, 0, 0, 0, 0, 0, 0,136, 0, 0,172, 0,},
136 {136, 0, 0,172,186,179,179,179,179,179,179,179,},
137 { 0, 0, 0, 0,182,140, 96, 97, 0, 0, 0, 96,},
138 { 0,174, 0, 0,182, 0, 98, 99,140, 0, 86, 98,},
139 { 0, 0, 0, 0,182, 0, 0, 0, 0,140, 87,206,},
140 { 0, 0,136, 0,182, 0,187,141, 0, 0, 0,206,},
141 {178,178,178,178,182, 0, 0, 0, 0, 0, 0,206,},
144 [3] = {
145 .bg = {{
146 {2,2,3,},
147 {2,2,3,},
148 {2,2,3,},
149 {2,2,3,},
150 {2,2,3,},
151 {2,2,3,},
153 .fg = {{
154 {197, 0, 0, 0, 0, 0, 0,186,179,179,179,179,},
155 { 0, 0, 0,190, 0,190, 0,182,172, 0, 0,208,},
156 {208, 0, 0, 0, 0, 0, 0,182,125, 0,192,174,},
157 { 0,193, 0, 0, 0,139, 0,182,125,136, 0, 0,},
158 { 0, 0, 0,189, 0, 0, 0,182, 92, 1, 0, 0,},
159 {190, 0, 0, 0, 0,189, 0,182, 2, 3, 0, 0,},
160 { 0,189, 0,136, 0, 0, 0,182, 4, 5, 0, 0,},
161 { 0, 0, 0, 0, 0,190, 0,182, 6, 7, 0,174,},
162 { 0, 0, 0,197, 0, 0,193,182, 8, 9, 0, 0,},
163 { 0,193, 0, 0,194, 0, 0,182, 10, 11, 0,136,},
164 {190, 0, 0, 0, 0, 0,139,182, 12, 13, 0, 0,},
165 { 0, 0, 0,189, 0, 0,190,182, 14, 15, 0, 0,},
168 [4] = {
169 .bg = {{
170 {2,2,2,},
171 {2,2,2,},
172 {2,2,2,},
173 {2,2,2,},
174 {2,2,2,},
175 {2,2,2,},
177 .fg = {{
178 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,197, 0,},
179 {193, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
180 { 0, 0, 0, 0,208, 0, 0, 0, 0, 0, 0,192,},
181 { 0, 0, 0,197, 0, 0, 0, 0, 0, 0, 0, 0,},
182 { 0, 0,191, 0, 0, 0,193, 0, 0, 0,190, 0,},
183 { 0, 0, 0,193, 0, 0, 0, 0,194, 0, 0, 0,},
184 {197, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
185 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
186 { 0,195, 0, 0, 0, 0,209, 0, 0, 0, 0,193,},
187 { 0, 0, 0, 0,192, 0, 0, 0, 96, 97, 96, 97,},
188 { 0, 0, 0, 0, 0, 0, 0, 52, 98, 99, 98, 99,},
189 { 91, 91, 91, 91, 91, 0,208, 91, 91, 91, 91, 91,},
192 [5] = {
193 .bg = {{
194 {4,4,4,},
195 {2,2,2,},
196 {2,2,2,},
197 {2,2,2,},
198 {2,2,2,},
199 {2,2,2,},
201 .fg = {{
202 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
203 {203,203,203,203,203,203,203,203,203,203,203,203,},
204 {107,107,107, 0,192, 0, 0, 0, 0, 0, 0, 0,},
205 {201,201,201, 0, 0, 0,107,107,107,107, 0,198,},
206 { 0, 0, 0, 0, 0, 0,201,201,201,201,208, 0,},
207 { 0, 0, 0, 0, 0,193, 0, 0, 0, 0, 0, 0,},
208 {192, 0,208, 0, 0, 0, 0,191, 0, 0, 0, 0,},
209 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,198,},
210 { 0, 0, 0, 0, 0, 0,193, 0, 0,190, 0, 0,},
211 { 0, 0, 0,197, 0, 0, 0, 0, 0, 0, 0, 0,},
212 { 0, 0, 0, 0, 0,189, 0, 0, 0, 0, 0, 0,},
213 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
216 [6] = {
217 .bg = {{
218 {4,4,4,},
219 {4,4,4,},
220 {4,4,4,},
221 {4,4,4,},
222 {4,4,4,},
223 {4,4,4,},
225 .fg = {{
226 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
227 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
228 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
229 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
230 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
231 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
232 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
233 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
234 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
235 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
236 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
237 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
240 [7] = {
241 .bg = {{
242 {3,3,3,},
243 {3,3,3,},
244 {3,3,3,},
245 {3,3,3,},
246 {4,4,4,},
247 {4,4,4,},
249 .fg = {{
250 { 0, 0, 0, 0,137, 0, 0,130, 0, 0, 0,130,},
251 { 24, 25, 26,113, 24, 25, 26,130, 0, 0, 0,130,},
252 { 18, 27, 20, 0, 18, 19, 20,130, 0, 0, 0,130,},
253 { 18, 19, 20, 0, 18, 19, 20,130, 0,174, 0,130,},
254 { 18, 19, 20, 0, 18, 27, 20,130, 0, 0, 0,130,},
255 { 18, 27, 20, 0, 18, 19, 20,130, 0, 0,137,130,},
256 { 28, 29, 30, 0, 28, 29, 30,130, 0, 0, 0,130,},
257 { 21, 22, 23, 0, 21, 22, 23,130,172,136,136,130,},
258 {179,179,179,179,179,179,179,179,179,179,179,179,},
259 { 0, 0,187, 0, 0, 0, 0, 0, 0, 0,187, 0,},
260 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
261 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
264 [8] = {
265 .bg = {{
266 {3,3,3,},
267 {3,3,3,},
268 {3,3,3,},
269 {3,3,3,},
270 {2,2,2,},
271 {3,3,3,},
273 .fg = {{
274 {130, 0,208,130, 0, 0,130, 0, 0,130, 4, 5,},
275 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
276 {137, 0, 0, 0,174, 0, 0, 0,195, 0, 0,174,},
277 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
278 { 0,130, 39, 40,130, 0, 0,130, 0, 0,130, 37,},
279 { 0,130, 41, 42,130, 0, 0,130, 0, 0,130, 8,},
280 { 0,130, 43, 44,130,195, 0,130,136,172,130, 10,},
281 {179,179,179,179,179,179,179,179,179,179,179,179,},
282 {197, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,197,},
283 { 91, 91, 91, 91, 0, 0, 0, 0, 0, 0, 91, 91,},
284 {180,180,180,180,180,180,180,180,180,180,180,180,},
285 { 0,136, 0, 0, 0, 0, 0,130, 0,136,172,130,},
288 [9] = {
289 .bg = {{
290 {2,2,2,},
291 {2,2,2,},
292 {2,2,2,},
293 {2,2,2,},
294 {2,2,2,},
295 {3,3,3,},
297 .fg = {{
298 { 0,139,106,106,106,106,106, 0,141, 0, 0, 87,},
299 { 0, 0,201,201,201,201,201, 0, 0, 0, 0,197,},
300 {197, 0, 0, 0, 0, 0, 0, 0, 0, 0,190, 0,},
301 { 84, 0, 0,193, 0, 0, 0, 0, 0, 0, 0, 0,},
302 { 85, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
303 {197, 0, 0, 0, 0, 0, 0, 0,139, 0, 0, 0,},
304 { 0, 0, 0, 0,141, 0, 0, 0, 0,192, 0, 0,},
305 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,139,},
306 { 91, 91, 91, 91, 0, 0, 0, 0, 0, 0, 0, 0,},
307 {180,180,180,180,180,180,180,180,180,180,180,180,},
308 {130,136,172,130,136, 0,130,139, 0,130, 92, 1,},
309 {130, 0, 0,130, 0, 0,130, 0, 0,130, 2, 3,},
312 [10] = {
313 .bg = {{
314 {2,2,2,},
315 {2,2,2,},
316 {2,2,2,},
317 {2,2,2,},
318 {2,2,2,},
319 {2,2,2,},
321 .fg = {{
322 {139, 0, 0, 0, 0,208, 0, 0, 0, 0, 0, 87,},
323 { 0, 0, 0, 0, 0, 0, 0,193, 0, 0,139,197,},
324 {197,191, 0, 0, 0,139, 0, 0, 0, 0,141,139,},
325 {106,106,106,106,106, 0, 0, 0,106,106,106,106,},
326 {201,201,201,201,201, 0, 0, 0,201,201,201,201,},
327 { 0, 0, 0, 0,190, 0, 0, 0, 0, 0,141, 0,},
328 { 0, 0, 0, 0, 0, 0, 0, 0, 0,139, 0,139,},
329 {197, 0, 0, 0,139, 0, 0,106,106,106,106,106,},
330 { 0,141, 0, 0, 0, 0, 0,201,201,201,201,201,},
331 {141, 0, 0, 0, 0,193, 0, 0, 0, 0, 0, 0,},
332 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,197,},
333 { 0,191, 0, 0, 0, 0, 0, 0, 0, 0, 0, 86,},
336 [11] = {
337 .bg = {{
338 {5,5,5,},
339 {1,1,1,},
340 {1,1,1,},
341 {3,3,3,},
342 {3,3,3,},
343 {2,2,2,},
345 .fg = {{
346 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
347 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
348 {179,179,179,179,179,179,179,179,179,179,179,179,},
349 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
350 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
351 {180,180,180,180,180,180,180,180,180,180,180,180,},
352 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
353 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
354 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
355 {179,179,179,179,179,179,179,179,179,179,179,179,},
356 {106,106,106,106,106, 0, 0,106,106,106,106,106,},
357 {201,201,201,201,201, 0, 0,201,201,201,201, 86,},
360 [12] = {
361 .bg = {{
362 {5,5,5,},
363 {5,5,5,},
364 {5,5,5,},
365 {5,5,5,},
366 {5,5,5,},
367 {5,5,5,},
369 .fg = {{
370 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
371 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
372 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
373 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
374 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
375 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
376 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
377 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
378 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
379 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
380 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
381 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
384 [13] = {
385 .bg = {{
386 {2,2,2,},
387 {2,2,2,},
388 {2,2,2,},
389 {5,5,5,},
390 {5,5,5,},
391 {5,5,5,},
393 .fg = {{
394 {202, 0,195, 0,193, 0, 0, 0, 0,201,201,201,},
395 {202, 0, 0, 0, 0, 0,197, 0, 0, 0,195,202,},
396 {202, 0, 0,139, 0, 0, 0, 0, 0, 0, 0,202,},
397 {202,139, 0, 0, 0,106,106,106,197, 0, 0,202,},
398 {202, 0, 0, 0, 0,201,201,201, 0, 0, 0,202,},
399 {202, 0, 0,209, 0, 0, 0, 0, 0, 0, 0,202,},
400 {204,204,204,204,204,204,204,204,204,204,204,204,},
401 {193, 0, 0, 0, 0, 0,140, 0, 0, 0, 0, 0,},
402 { 0, 0, 0, 0, 0, 0, 0, 0, 0,140, 0, 0,},
403 { 0, 0,139, 0, 0, 0, 0,193, 0, 0, 0,139,},
404 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
405 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
408 [14] = {
409 .bg = {{
410 {2,2,2,},
411 {2,2,2,},
412 {2,2,2,},
413 {2,2,2,},
414 {2,2,2,},
415 {2,2,2,},
417 .fg = {{
418 {202, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,202,},
419 {202, 0, 0, 0,139, 0, 0, 0, 0,197, 0,202,},
420 {202, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,202,},
421 {202, 0, 0, 0, 0,193, 0,194, 0, 0, 0,202,},
422 {202,192,195, 0, 0, 0, 0, 0, 0, 0,192,202,},
423 {202, 0, 0, 0, 0,197, 0, 0, 0, 0, 0,202,},
424 {202, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,202,},
425 {202, 0,193, 0, 0, 0, 0,209, 0, 0, 0,202,},
426 {202, 0, 0, 0, 0,193, 0, 0, 0,197, 0,202,},
427 {202, 0, 0, 0, 0, 0, 0, 0,139, 0, 0,202,},
428 {202, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,202,},
429 {202,192, 0, 0, 0, 0, 0, 0, 0,106,106,106,},
432 [15] = {
433 .bg = {{
434 {2,2,2,},
435 {2,2,2,},
436 {2,2,2,},
437 {2,2,2,},
438 {2,2,2,},
439 {2,2,2,},
441 .fg = {{
442 {202, 0, 0, 0,209, 0, 0, 0, 0, 0, 0,202,},
443 {202, 0, 0, 0, 0, 0, 0,139, 0, 0, 0,202,},
444 {202, 0,197, 0, 0, 0, 0, 0, 0, 0, 0,202,},
445 {202, 0, 0, 0,139, 0,106,106,106,106, 0,202,},
446 {202, 0,193, 0, 0, 0,201,201,201,201, 0,202,},
447 {202,141, 0, 0, 0, 0, 0, 0, 0, 0, 0,202,},
448 {202, 0, 0, 0, 0, 0, 0,139, 0, 0, 0,202,},
449 {202,197, 0, 0,209, 0, 0, 0, 0,197, 0,202,},
450 {202, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,202,},
451 {202, 0,193, 0, 0,106,106,106,106, 0, 0,202,},
452 {202, 0, 0, 0, 0,201,201,201,201, 0, 0,202,},
453 {202, 0, 0,197, 0, 0,141, 0, 0, 0, 0,202,},
456 [16] = {
457 .bg = {{
458 {3,3,3,},
459 {2,2,2,},
460 {2,2,2,},
461 {2,2,2,},
462 {2,2,2,},
463 {2,2,2,},
465 .fg = {{
466 { 0, 0, 0, 0, 0, 0,139, 0, 0,174, 0,140,},
467 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
468 {180,180,180,180,180,180,180,180,180,180,180,180,},
469 {201,201, 0, 0,201,201,201, 0, 0,201,201,202,},
470 {202,197, 0, 0,193, 0, 0, 0, 0, 0, 0,202,},
471 {202, 0, 0, 0, 0,141, 0,193, 0, 0, 0,202,},
472 {202, 0, 0, 0, 0, 0, 0, 0, 0,197, 0,202,},
473 {202, 0, 0,139, 0, 0, 0, 0,141, 0, 0,202,},
474 { 91, 91, 0, 0, 0, 0,197, 0, 0, 0, 91, 91,},
475 {201,201, 0, 0,141, 0, 0, 0, 0, 0,201,201,},
476 {202, 0, 0,139, 0, 0, 0,139, 0, 0, 0,202,},
477 {202, 0, 0, 0, 0, 0,193, 0, 0,197, 0,202,},
480 [17] = {
481 .bg = {{
482 {0,0,0,},
483 {2,2,2,},
484 {2,2,2,},
485 {2,2,2,},
486 {2,2,2,},
487 {3,3,3,},
489 .fg = {{
490 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
491 {107,138,203,203,173,107,107,107,107,107,107,107,},
492 { 0, 0, 0, 0,191, 0, 0, 0, 0, 0, 0, 0,},
493 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
494 {192, 0, 0, 50, 50, 50, 50, 50, 50, 50, 50, 50,},
495 { 0,190, 0, 50, 50, 50, 50, 50, 50, 50, 50, 50,},
496 { 0, 0, 0, 73,154,155,156, 60, 60,160,161,162,},
497 { 0,189, 0, 73,157,158,159, 55, 60,163,164,165,},
498 { 0,193, 0, 0, 0, 0, 0,192, 0,193, 0, 0,},
499 {180,180,180,180,180,180,180,180,180,180,180,180,},
500 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
501 {187, 0,137, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
504 [18] = {
505 .bg = {{
506 {0,0,0,},
507 {0,0,0,},
508 {0,0,0,},
509 {0,0,0,},
510 {0,0,0,},
511 {0,0,0,},
513 .fg = {{
514 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
515 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
516 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
517 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
518 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
519 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
520 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
521 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
522 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
523 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
524 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
525 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
528 [19] = {
529 .bg = {{
530 {2,2,2,},
531 {2,2,2,},
532 {2,2,2,},
533 {2,2,2,},
534 {0,0,0,},
535 {0,0,0,},
537 .fg = {{
538 {202, 0, 0,193, 0, 0,190, 0, 0, 0,192,202,},
539 {202,141, 0, 0, 0, 0, 0,198,106,106,106,106,},
540 { 84, 0, 0,194, 0, 0, 0, 0,201,201,201,202,},
541 { 85, 0, 0, 0, 0,139, 0,192, 0, 0,193,202,},
542 {202, 0, 0,197, 0, 0, 0, 0, 0, 0, 0,202,},
543 {202,141, 0, 0, 0, 0, 0, 0, 0, 0, 0,202,},
544 {202, 0, 0, 0, 0, 0,208, 0,193, 0,141,202,},
545 {202, 0,192, 0, 0, 0, 0, 0, 0, 0,192,202,},
546 {204,204,204,204,204,204,204,204,204,204,204,204,},
547 { 91, 91, 91,187, 0, 0,187, 0, 0, 91, 91, 91,},
548 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
549 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
552 [20] = {
553 .bg = {{
554 {2,2,2,},
555 {2,2,2,},
556 {2,2,2,},
557 {2,2,2,},
558 {2,2,2,},
559 {2,2,2,},
561 .fg = {{
562 {202, 0, 0, 0, 0, 0, 0, 0,194, 0, 0,202,},
563 {202,139, 0, 0, 0, 0, 0, 0, 0,190, 0,202,},
564 {202, 0, 0, 0, 0,198,106,106,106,106,177,202,},
565 {202, 0,193, 0, 0, 0,201,201,201,201,193,202,},
566 {202, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 86,},
567 {202, 0,141, 0, 0, 0, 0,141, 0, 0, 0, 87,},
568 {202, 0, 0, 0,193, 0, 0, 0, 0, 0, 0,202,},
569 {202,141, 0, 0, 0, 0, 0, 0, 0,193,197,202,},
570 {202,198,106,106,106,106,106,177, 0, 0, 0,202,},
571 {202,197,201,201,201,201,201, 0, 0, 0, 0,202,},
572 {202, 0, 0, 0, 0, 0, 0, 0,193, 0, 0,202,},
573 {202,141, 0, 0, 0, 0, 0, 0, 0, 0, 0,202,},
576 [21] = {
577 .bg = {{
578 {2,2,2,},
579 {2,2,2,},
580 {2,2,2,},
581 {2,2,2,},
582 {2,2,2,},
583 {2,2,2,},
585 .fg = {{
586 {202, 0, 0, 0, 0,141, 0, 0, 0, 0, 0, 86,},
587 {202, 0,195, 0, 0, 0, 0, 0, 0, 0, 0, 87,},
588 {202, 0, 0, 0, 0,198,106,106,106,106,106,106,},
589 {202, 0,139, 0, 0, 0,201,201,201,201,201,201,},
590 {202, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,202,},
591 {202, 0, 0,194, 0, 0,193, 0, 0, 0, 0,202,},
592 {202, 0, 0,209, 0, 0, 0, 0,197, 0, 0,202,},
593 {202, 0,207, 0, 0, 0, 0, 0, 0, 0, 0,202,},
594 {106,106,106,106,177, 0,141, 0, 0, 0, 0,202,},
595 {201,201,201,201, 0, 0, 0, 0, 0,193, 0,202,},
596 {202, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,202,},
597 {202, 0, 0,197, 0, 0,208, 0, 0, 0, 0,202,},
600 [22] = {
601 .bg = {{
602 {2,2,2,},
603 {2,2,2,},
604 {2,2,2,},
605 {2,2,2,},
606 {2,2,2,},
607 {2,2,2,},
609 .fg = {{
610 {201,201,201,201, 0, 0,194, 0,201,201,201,201,},
611 {197, 0, 0, 0, 0, 0, 0, 0,193, 0, 0,197,},
612 {106,106,106,177, 0, 0, 0, 0,198,106,106,106,},
613 {201,201,201, 0, 0, 0, 0, 0, 0,201,201,201,},
614 {202, 0, 0, 0, 0, 0,139, 0, 0, 0, 0,202,},
615 { 84, 0, 0,209, 0, 0, 0, 0,193, 0, 0,202,},
616 { 85, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,202,},
617 {202, 0,141, 0, 0, 0, 0, 0, 0, 0, 0,202,},
618 {202, 0, 0, 0, 0, 0,194, 0, 0, 0, 0,202,},
619 {202,190, 0, 0, 0, 0, 0, 0, 0,208, 0,202,},
620 {202,193, 0, 0,197, 0, 0, 0, 0, 0, 0,202,},
621 {202, 0, 0, 0, 0, 0, 0, 0,193, 0,193,202,},
624 [23] = {
625 .bg = {{
626 {5,5,5,},
627 {5,5,5,},
628 {2,2,2,},
629 {2,2,2,},
630 {2,2,2,},
631 {2,2,2,},
633 .fg = {{
634 { 54, 54, 54, 54, 0, 71,154,155,156, 47,167,166,},
635 {148,148,149, 54,101, 71,157,158,159, 55,168,169,},
636 {152,151,152, 70, 0, 0,193, 0, 0, 0, 0, 0,},
637 {203,203,203,203,203,203,203,203,203,203,203,203,},
638 {197, 0, 0, 0, 0, 0, 0, 0,141, 0, 0, 0,},
639 { 84, 0, 0, 0,193, 0, 0, 0, 0, 0, 0,194,},
640 { 85, 0, 0, 0, 0, 0, 0,197, 0, 0, 0, 0,},
641 {197, 0,141, 0, 0, 0, 0, 0, 0,139, 0, 0,},
642 { 0, 0, 0, 0, 0, 0, 0,195, 0, 0, 0, 0,},
643 { 0, 0,195, 0, 0,189, 0, 0, 0,193, 0,198,},
644 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
645 {106,106,106,106, 0,139, 0, 0,106,106,106,106,},
648 [24] = {
649 .bg = {{
650 {5,5,5,},
651 {5,5,5,},
652 {5,5,5,},
653 {5,5,5,},
654 {5,5,5,},
655 {5,5,5,},
657 .fg = {{
658 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
659 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
660 { 78, 80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
661 { 82, 83, 80, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
662 { 82, 83, 83, 80, 0, 0, 0, 0, 0, 0, 0, 0,},
663 { 82, 83, 83, 83, 0, 0, 0, 0, 0, 0, 0, 0,},
664 { 82, 83, 83, 83, 0, 0, 0, 0, 0, 0, 0, 0,},
665 { 82, 83, 83, 83, 0, 0, 0, 0, 0, 0, 0, 0,},
666 { 82, 83, 83, 83, 0, 0, 0, 0, 0, 0, 0, 0,},
667 { 82, 83, 83, 83, 0, 0,189, 0, 0, 0, 0, 0,},
668 { 82, 83, 83, 83, 0, 50, 50, 50, 50, 50, 50, 50,},
669 { 54, 54, 83, 83, 0, 50, 50, 50, 50, 50, 50, 50,},
674 .bonus_index = {
675 1,2,7,11,13,16,17,23,24
677 .bonus_screens = {
678 [0] = {{
679 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,108,},
680 { 0, 0, 0, 0, 0, 0, 0, 0, 0,105, 0,108,},
681 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,110,},
682 { 0, 0, 0, 0, 0, 0, 0, 88, 89, 90, 0, 84,},
683 { 0, 0, 0, 0, 0, 0, 0, 48,114, 49, 0, 85,},
684 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
685 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
686 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
687 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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,},
745 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
746 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
748 [5] = {{
749 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
750 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
751 { 91, 91, 0, 0, 91, 91, 91, 0, 0, 91, 91, 91,},
752 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
753 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
754 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
755 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
756 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
757 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
758 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
759 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
760 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
762 [6] = {{
763 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
764 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
765 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
766 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
767 { 0, 0, 0, 0, 0,105, 0, 0, 0, 0, 0, 0,},
768 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
769 { 0, 0, 0, 0, 62, 64, 63, 65, 75, 62, 64, 63,},
770 { 0, 0, 0, 0, 56, 59, 57, 0, 0, 56, 59, 57,},
771 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
772 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
773 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
774 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
776 [7] = {{
777 { 61, 61, 81, 83, 0, 0,115,116,117, 0,115,117,},
778 { 90, 88, 90, 81, 0, 0,118,119,120, 0,118,120,},
779 { 49, 48, 49, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
780 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
781 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
782 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
783 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
784 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
785 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
786 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
787 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
788 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
790 [8] = {{
791 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
792 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
793 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
794 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
795 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
796 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
797 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
798 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
799 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
800 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
801 { 0, 0, 0, 0, 0, 0,105, 0, 0, 0, 0, 0,},
802 { 79, 81, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
807 #undef SCREEN_COUNT
808 #undef BONUS_COUNT