0
|
1 |
#define MK(x,y, m) {TILE_XY(x,y), m}
|
|
2 |
|
|
3 |
#define MKEND {-0x8000, 0}
|
|
4 |
|
|
5 |
static const IndustryTileTable _tile_table_coal_mine_0[] = {
|
|
6 |
MK(1,1, 0),
|
|
7 |
MK(1,2, 2),
|
|
8 |
MK(0,0, 5),
|
|
9 |
MK(1,0, 6),
|
|
10 |
MK(2,0, 3),
|
|
11 |
MK(2,2, 3),
|
|
12 |
MKEND
|
|
13 |
};
|
|
14 |
|
|
15 |
static const IndustryTileTable _tile_table_coal_mine_1[] = {
|
|
16 |
MK(1,1, 0),
|
|
17 |
MK(1,2, 2),
|
|
18 |
MK(2,0, 0),
|
|
19 |
MK(2,1, 2),
|
|
20 |
MK(1,0, 3),
|
|
21 |
MK(0,0, 3),
|
|
22 |
MK(0,1, 4),
|
|
23 |
MK(0,2, 4),
|
|
24 |
MK(2,2, 4),
|
|
25 |
MKEND
|
|
26 |
};
|
|
27 |
|
|
28 |
static const IndustryTileTable _tile_table_coal_mine_2[] = {
|
|
29 |
MK(0,0, 0),
|
|
30 |
MK(0,1, 2),
|
|
31 |
MK(0,2, 5),
|
|
32 |
MK(1,0, 3),
|
|
33 |
MK(1,1, 3),
|
|
34 |
MK(1,2, 6),
|
|
35 |
MKEND
|
|
36 |
};
|
|
37 |
|
|
38 |
static const IndustryTileTable _tile_table_coal_mine_3[] = {
|
|
39 |
MK(0,1, 0),
|
|
40 |
MK(0,2, 2),
|
|
41 |
MK(0,3, 4),
|
|
42 |
MK(1,0, 5),
|
|
43 |
MK(1,1, 0),
|
|
44 |
MK(1,2, 2),
|
|
45 |
MK(1,3, 3),
|
|
46 |
MK(2,0, 6),
|
|
47 |
MK(2,1, 4),
|
|
48 |
MK(2,2, 3),
|
|
49 |
MKEND
|
|
50 |
};
|
|
51 |
|
|
52 |
static const IndustryTileTable * const _tile_table_coal_mine[] = {
|
|
53 |
_tile_table_coal_mine_0,
|
|
54 |
_tile_table_coal_mine_1,
|
|
55 |
_tile_table_coal_mine_2,
|
|
56 |
_tile_table_coal_mine_3,
|
|
57 |
};
|
|
58 |
|
|
59 |
static const IndustryTileTable _tile_table_power_station_0[] = {
|
|
60 |
MK(0,0, 7),
|
|
61 |
MK(0,1, 9),
|
|
62 |
MK(1,0, 7),
|
|
63 |
MK(1,1, 8),
|
|
64 |
MK(2,0, 7),
|
|
65 |
MK(2,1, 8),
|
|
66 |
MK(3,0, 10),
|
|
67 |
MK(3,1, 10),
|
|
68 |
MKEND
|
|
69 |
};
|
|
70 |
|
|
71 |
static const IndustryTileTable _tile_table_power_station_1[] = {
|
|
72 |
MK(0,1, 7),
|
|
73 |
MK(0,2, 7),
|
|
74 |
MK(1,0, 8),
|
|
75 |
MK(1,1, 8),
|
|
76 |
MK(1,2, 7),
|
|
77 |
MK(2,0, 9),
|
|
78 |
MK(2,1, 10),
|
|
79 |
MK(2,2, 9),
|
|
80 |
MKEND
|
|
81 |
};
|
|
82 |
|
|
83 |
static const IndustryTileTable _tile_table_power_station_2[] = {
|
|
84 |
MK(0,0, 7),
|
|
85 |
MK(0,1, 7),
|
|
86 |
MK(1,0, 9),
|
|
87 |
MK(1,1, 8),
|
|
88 |
MK(2,0, 10),
|
|
89 |
MK(2,1, 9),
|
|
90 |
MKEND
|
|
91 |
};
|
|
92 |
|
|
93 |
static const IndustryTileTable * const _tile_table_power_station[] = {
|
|
94 |
_tile_table_power_station_0,
|
|
95 |
_tile_table_power_station_1,
|
|
96 |
_tile_table_power_station_2,
|
|
97 |
};
|
|
98 |
|
|
99 |
static const IndustryTileTable _tile_table_sawmill_0[] = {
|
|
100 |
MK(1,0, 14),
|
|
101 |
MK(1,1, 12),
|
|
102 |
MK(1,2, 11),
|
|
103 |
MK(2,0, 14),
|
|
104 |
MK(2,1, 13),
|
|
105 |
MK(0,0, 15),
|
|
106 |
MK(0,1, 15),
|
|
107 |
MK(0,2, 12),
|
|
108 |
MKEND
|
|
109 |
};
|
|
110 |
|
|
111 |
static const IndustryTileTable _tile_table_sawmill_1[] = {
|
|
112 |
MK(0,0, 15),
|
|
113 |
MK(0,1, 11),
|
|
114 |
MK(0,2, 14),
|
|
115 |
MK(1,0, 15),
|
|
116 |
MK(1,1, 13),
|
|
117 |
MK(1,2, 12),
|
|
118 |
MK(2,0, 11),
|
|
119 |
MK(2,1, 13),
|
|
120 |
MKEND
|
|
121 |
};
|
|
122 |
|
|
123 |
static const IndustryTileTable * const _tile_table_sawmill[] = {
|
|
124 |
_tile_table_sawmill_0,
|
|
125 |
_tile_table_sawmill_1,
|
|
126 |
};
|
|
127 |
|
|
128 |
static const IndustryTileTable _tile_table_forest_0[] = {
|
|
129 |
MK(0,0, 16),
|
|
130 |
MK(0,1, 16),
|
|
131 |
MK(0,2, 16),
|
|
132 |
MK(0,3, 16),
|
|
133 |
MK(1,0, 16),
|
|
134 |
MK(1,1, 16),
|
|
135 |
MK(1,2, 16),
|
|
136 |
MK(1,3, 16),
|
|
137 |
MK(2,0, 16),
|
|
138 |
MK(2,1, 16),
|
|
139 |
MK(2,2, 16),
|
|
140 |
MK(2,3, 16),
|
|
141 |
MK(3,0, 16),
|
|
142 |
MK(3,1, 16),
|
|
143 |
MK(3,2, 16),
|
|
144 |
MK(3,3, 16),
|
|
145 |
MK(1,4, 16),
|
|
146 |
MK(2,4, 16),
|
|
147 |
MKEND
|
|
148 |
};
|
|
149 |
|
|
150 |
static const IndustryTileTable _tile_table_forest_1[] = {
|
|
151 |
MK(0,0, 16),
|
|
152 |
MK(1,0, 16),
|
|
153 |
MK(2,0, 16),
|
|
154 |
MK(3,0, 16),
|
|
155 |
MK(4,0, 16),
|
|
156 |
MK(0,1, 16),
|
|
157 |
MK(1,1, 16),
|
|
158 |
MK(2,1, 16),
|
|
159 |
MK(3,1, 16),
|
|
160 |
MK(4,1, 16),
|
|
161 |
MK(0,2, 16),
|
|
162 |
MK(1,2, 16),
|
|
163 |
MK(2,2, 16),
|
|
164 |
MK(3,2, 16),
|
|
165 |
MK(4,2, 16),
|
|
166 |
MK(0,3, 16),
|
|
167 |
MK(1,3, 16),
|
|
168 |
MK(2,3, 16),
|
|
169 |
MK(3,3, 16),
|
|
170 |
MK(4,3, 16),
|
|
171 |
MK(1,4, 16),
|
|
172 |
MK(2,4, 16),
|
|
173 |
MK(3,4, 16),
|
|
174 |
MKEND
|
|
175 |
};
|
|
176 |
|
|
177 |
static const IndustryTileTable * const _tile_table_forest[] = {
|
|
178 |
_tile_table_forest_0,
|
|
179 |
_tile_table_forest_1,
|
|
180 |
};
|
|
181 |
|
|
182 |
static const IndustryTileTable _tile_table_oil_refinery_0[] = {
|
|
183 |
MK(0,0, 20),
|
|
184 |
MK(0,1, 21),
|
|
185 |
MK(0,2, 22),
|
|
186 |
MK(0,3, 21),
|
|
187 |
MK(1,0, 20),
|
|
188 |
MK(1,1, 19),
|
|
189 |
MK(1,2, 22),
|
|
190 |
MK(1,3, 20),
|
|
191 |
MK(2,1, 18),
|
|
192 |
MK(2,2, 18),
|
|
193 |
MK(2,3, 18),
|
|
194 |
MK(3,2, 18),
|
|
195 |
MK(3,3, 18),
|
|
196 |
MK(2,0, 23),
|
|
197 |
MK(3,1, 23),
|
|
198 |
MKEND
|
|
199 |
};
|
|
200 |
|
|
201 |
static const IndustryTileTable _tile_table_oil_refinery_1[] = {
|
|
202 |
MK(0,0, 18),
|
|
203 |
MK(0,1, 18),
|
|
204 |
MK(0,2, 21),
|
|
205 |
MK(0,3, 22),
|
|
206 |
MK(0,4, 20),
|
|
207 |
MK(1,0, 18),
|
|
208 |
MK(1,1, 18),
|
|
209 |
MK(1,2, 19),
|
|
210 |
MK(1,3, 20),
|
|
211 |
MK(2,0, 18),
|
|
212 |
MK(2,1, 18),
|
|
213 |
MK(2,2, 19),
|
|
214 |
MK(2,3, 22),
|
|
215 |
MK(1,4, 23),
|
|
216 |
MK(2,4, 23),
|
|
217 |
MKEND
|
|
218 |
};
|
|
219 |
|
|
220 |
static const IndustryTileTable * const _tile_table_oil_refinery[] = {
|
|
221 |
_tile_table_oil_refinery_0,
|
|
222 |
_tile_table_oil_refinery_1,
|
|
223 |
};
|
|
224 |
|
|
225 |
static const IndustryTileTable _tile_table_oil_rig_0[] = {
|
|
226 |
MK(0,0, 24),
|
|
227 |
MK(0,1, 24),
|
|
228 |
MK(0,2, 25),
|
|
229 |
MK(1,0, 26),
|
|
230 |
MK(1,1, 27),
|
|
231 |
MK(1,2, 28),
|
|
232 |
MK(-4,-5, 255),
|
|
233 |
MK(-4,-4, 255),
|
|
234 |
MK(-4,-3, 255),
|
|
235 |
MK(-4,-2, 255),
|
|
236 |
MK(-4,-1, 255),
|
|
237 |
MK(-4,0, 255),
|
|
238 |
MK(-4,1, 255),
|
|
239 |
MK(-4,2, 255),
|
|
240 |
MK(-4,3, 255),
|
|
241 |
MK(-4,4, 255),
|
|
242 |
MK(-4,5, 255),
|
|
243 |
MK(-3,5, 255),
|
|
244 |
MK(-2,5, 255),
|
|
245 |
MK(-1,5, 255),
|
|
246 |
MK(0,6, 255),
|
|
247 |
MK(1,6, 255),
|
|
248 |
MK(2,6, 255),
|
|
249 |
MK(3,6, 255),
|
|
250 |
MK(4,6, 255),
|
|
251 |
MK(5,6, 255),
|
|
252 |
MK(5,5, 255),
|
|
253 |
MK(5,4, 255),
|
|
254 |
MK(5,3, 255),
|
|
255 |
MK(5,2, 255),
|
|
256 |
MK(5,1, 255),
|
|
257 |
MK(5,0, 255),
|
|
258 |
MK(5,-1, 255),
|
|
259 |
MK(5,-2, 255),
|
|
260 |
MK(5,-3, 255),
|
|
261 |
MK(5,-4, 255),
|
|
262 |
MK(4,-4, 255),
|
|
263 |
MK(3,-4, 255),
|
|
264 |
MK(2,-4, 255),
|
|
265 |
MK(1,-4, 255),
|
|
266 |
MK(0,-4, 255),
|
|
267 |
MK(-1,-5, 255),
|
|
268 |
MK(-2,-5, 255),
|
|
269 |
MK(-3,-5, 255),
|
|
270 |
MK(2,0, 255),
|
|
271 |
MKEND
|
|
272 |
};
|
|
273 |
|
|
274 |
static const IndustryTileTable * const _tile_table_oil_rig[] = {
|
|
275 |
_tile_table_oil_rig_0,
|
|
276 |
};
|
|
277 |
|
|
278 |
static const IndustryTileTable _tile_table_factory_0[] = {
|
|
279 |
MK(0,0, 39),
|
|
280 |
MK(0,1, 40),
|
|
281 |
MK(1,0, 41),
|
|
282 |
MK(1,1, 42),
|
|
283 |
MK(0,2, 39),
|
|
284 |
MK(0,3, 40),
|
|
285 |
MK(1,2, 41),
|
|
286 |
MK(1,3, 42),
|
|
287 |
MK(2,1, 39),
|
|
288 |
MK(2,2, 40),
|
|
289 |
MK(3,1, 41),
|
|
290 |
MK(3,2, 42),
|
|
291 |
MKEND
|
|
292 |
};
|
|
293 |
|
|
294 |
static const IndustryTileTable _tile_table_factory_1[] = {
|
|
295 |
MK(0,0, 39),
|
|
296 |
MK(0,1, 40),
|
|
297 |
MK(1,0, 41),
|
|
298 |
MK(1,1, 42),
|
|
299 |
MK(2,0, 39),
|
|
300 |
MK(2,1, 40),
|
|
301 |
MK(3,0, 41),
|
|
302 |
MK(3,1, 42),
|
|
303 |
MK(1,2, 39),
|
|
304 |
MK(1,3, 40),
|
|
305 |
MK(2,2, 41),
|
|
306 |
MK(2,3, 42),
|
|
307 |
MKEND
|
|
308 |
};
|
|
309 |
|
|
310 |
static const IndustryTileTable * const _tile_table_factory[] = {
|
|
311 |
_tile_table_factory_0,
|
|
312 |
_tile_table_factory_1,
|
|
313 |
};
|
|
314 |
|
|
315 |
static const IndustryTileTable _tile_table_printing_works_0[] = {
|
|
316 |
MK(0,0, 43),
|
|
317 |
MK(0,1, 44),
|
|
318 |
MK(1,0, 45),
|
|
319 |
MK(1,1, 46),
|
|
320 |
MK(0,2, 43),
|
|
321 |
MK(0,3, 44),
|
|
322 |
MK(1,2, 45),
|
|
323 |
MK(1,3, 46),
|
|
324 |
MK(2,1, 43),
|
|
325 |
MK(2,2, 44),
|
|
326 |
MK(3,1, 45),
|
|
327 |
MK(3,2, 46),
|
|
328 |
MKEND
|
|
329 |
};
|
|
330 |
|
|
331 |
static const IndustryTileTable _tile_table_printing_works_1[] = {
|
|
332 |
MK(0,0, 43),
|
|
333 |
MK(0,1, 44),
|
|
334 |
MK(1,0, 45),
|
|
335 |
MK(1,1, 46),
|
|
336 |
MK(2,0, 43),
|
|
337 |
MK(2,1, 44),
|
|
338 |
MK(3,0, 45),
|
|
339 |
MK(3,1, 46),
|
|
340 |
MK(1,2, 43),
|
|
341 |
MK(1,3, 44),
|
|
342 |
MK(2,2, 45),
|
|
343 |
MK(2,3, 46),
|
|
344 |
MKEND
|
|
345 |
};
|
|
346 |
|
|
347 |
static const IndustryTileTable * const _tile_table_printing_works[] = {
|
|
348 |
_tile_table_printing_works_0,
|
|
349 |
_tile_table_printing_works_1,
|
|
350 |
};
|
|
351 |
|
|
352 |
static const IndustryTileTable _tile_table_steel_mill_0[] = {
|
|
353 |
MK(2,1, 52),
|
|
354 |
MK(2,2, 53),
|
|
355 |
MK(3,1, 54),
|
|
356 |
MK(3,2, 55),
|
|
357 |
MK(0,0, 56),
|
|
358 |
MK(1,0, 57),
|
|
359 |
MK(0,1, 56),
|
|
360 |
MK(1,1, 57),
|
|
361 |
MK(0,2, 56),
|
|
362 |
MK(1,2, 57),
|
|
363 |
MK(2,0, 56),
|
|
364 |
MK(3,0, 57),
|
|
365 |
MKEND
|
|
366 |
};
|
|
367 |
|
|
368 |
static const IndustryTileTable _tile_table_steel_mill_1[] = {
|
|
369 |
MK(0,0, 52),
|
|
370 |
MK(0,1, 53),
|
|
371 |
MK(1,0, 54),
|
|
372 |
MK(1,1, 55),
|
|
373 |
MK(2,0, 52),
|
|
374 |
MK(2,1, 53),
|
|
375 |
MK(3,0, 54),
|
|
376 |
MK(3,1, 55),
|
|
377 |
MK(0,2, 56),
|
|
378 |
MK(1,2, 57),
|
|
379 |
MK(2,2, 56),
|
|
380 |
MK(3,2, 57),
|
|
381 |
MK(1,3, 56),
|
|
382 |
MK(2,3, 57),
|
|
383 |
MKEND
|
|
384 |
};
|
|
385 |
|
|
386 |
static const IndustryTileTable * const _tile_table_steel_mill[] = {
|
|
387 |
_tile_table_steel_mill_0,
|
|
388 |
_tile_table_steel_mill_1,
|
|
389 |
};
|
|
390 |
|
|
391 |
static const IndustryTileTable _tile_table_farm_0[] = {
|
|
392 |
MK(1,0, 33),
|
|
393 |
MK(1,1, 34),
|
|
394 |
MK(1,2, 36),
|
|
395 |
MK(0,0, 37),
|
|
396 |
MK(0,1, 37),
|
|
397 |
MK(0,2, 36),
|
|
398 |
MK(2,0, 35),
|
|
399 |
MK(2,1, 38),
|
|
400 |
MK(2,2, 38),
|
|
401 |
MKEND
|
|
402 |
};
|
|
403 |
|
|
404 |
static const IndustryTileTable _tile_table_farm_1[] = {
|
|
405 |
MK(1,1, 33),
|
|
406 |
MK(1,2, 34),
|
|
407 |
MK(0,0, 35),
|
|
408 |
MK(0,1, 36),
|
|
409 |
MK(0,2, 36),
|
|
410 |
MK(0,3, 35),
|
|
411 |
MK(1,0, 37),
|
|
412 |
MK(1,3, 38),
|
|
413 |
MK(2,0, 37),
|
|
414 |
MK(2,1, 37),
|
|
415 |
MK(2,2, 38),
|
|
416 |
MK(2,3, 38),
|
|
417 |
MKEND
|
|
418 |
};
|
|
419 |
|
|
420 |
static const IndustryTileTable _tile_table_farm_2[] = {
|
|
421 |
MK(2,0, 33),
|
|
422 |
MK(2,1, 34),
|
|
423 |
MK(0,0, 36),
|
|
424 |
MK(0,1, 36),
|
|
425 |
MK(0,2, 37),
|
|
426 |
MK(0,3, 37),
|
|
427 |
MK(1,0, 35),
|
|
428 |
MK(1,1, 38),
|
|
429 |
MK(1,2, 38),
|
|
430 |
MK(1,3, 37),
|
|
431 |
MK(2,2, 37),
|
|
432 |
MK(2,3, 35),
|
|
433 |
MKEND
|
|
434 |
};
|
|
435 |
|
|
436 |
static const IndustryTileTable * const _tile_table_farm[] = {
|
|
437 |
_tile_table_farm_0,
|
|
438 |
_tile_table_farm_1,
|
|
439 |
_tile_table_farm_2,
|
|
440 |
};
|
|
441 |
|
|
442 |
static const IndustryTileTable _tile_table_copper_mine_0[] = {
|
|
443 |
MK(0,0, 47),
|
|
444 |
MK(0,1, 49),
|
|
445 |
MK(0,2, 51),
|
|
446 |
MK(1,0, 47),
|
|
447 |
MK(1,1, 49),
|
|
448 |
MK(1,2, 50),
|
|
449 |
MK(2,0, 51),
|
|
450 |
MK(2,1, 51),
|
|
451 |
MKEND
|
|
452 |
};
|
|
453 |
|
|
454 |
static const IndustryTileTable _tile_table_copper_mine_1[] = {
|
|
455 |
MK(0,0, 50),
|
|
456 |
MK(0,1, 47),
|
|
457 |
MK(0,2, 49),
|
|
458 |
MK(1,0, 47),
|
|
459 |
MK(1,1, 49),
|
|
460 |
MK(1,2, 51),
|
|
461 |
MK(2,0, 51),
|
|
462 |
MK(2,1, 47),
|
|
463 |
MK(2,2, 49),
|
|
464 |
MKEND
|
|
465 |
};
|
|
466 |
|
|
467 |
static const IndustryTileTable * const _tile_table_copper_mine[] = {
|
|
468 |
_tile_table_copper_mine_0,
|
|
469 |
_tile_table_copper_mine_1,
|
|
470 |
};
|
|
471 |
|
|
472 |
static const IndustryTileTable _tile_table_oil_well_0[] = {
|
|
473 |
MK(0,0, 29),
|
|
474 |
MK(1,0, 29),
|
|
475 |
MK(2,0, 29),
|
|
476 |
MK(0,1, 29),
|
|
477 |
MK(0,2, 29),
|
|
478 |
MKEND
|
|
479 |
};
|
|
480 |
|
|
481 |
static const IndustryTileTable _tile_table_oil_well_1[] = {
|
|
482 |
MK(0,0, 29),
|
|
483 |
MK(1,0, 29),
|
|
484 |
MK(1,1, 29),
|
|
485 |
MK(2,2, 29),
|
|
486 |
MK(2,3, 29),
|
|
487 |
MKEND
|
|
488 |
};
|
|
489 |
|
|
490 |
static const IndustryTileTable * const _tile_table_oil_well[] = {
|
|
491 |
_tile_table_oil_well_0,
|
|
492 |
_tile_table_oil_well_1,
|
|
493 |
};
|
|
494 |
|
|
495 |
static const IndustryTileTable _tile_table_bank_0[] = {
|
|
496 |
MK(0,0, 58),
|
|
497 |
MK(1,0, 59),
|
|
498 |
MKEND
|
|
499 |
};
|
|
500 |
|
|
501 |
static const IndustryTileTable * const _tile_table_bank[] = {
|
|
502 |
_tile_table_bank_0,
|
|
503 |
};
|
|
504 |
|
|
505 |
static const IndustryTileTable _tile_table_food_process_0[] = {
|
|
506 |
MK(0,0, 60),
|
|
507 |
MK(1,0, 60),
|
|
508 |
MK(2,0, 60),
|
|
509 |
MK(0,1, 60),
|
|
510 |
MK(1,1, 60),
|
|
511 |
MK(2,1, 60),
|
|
512 |
MK(0,2, 61),
|
|
513 |
MK(1,2, 61),
|
|
514 |
MK(2,2, 63),
|
|
515 |
MK(0,3, 62),
|
|
516 |
MK(1,3, 62),
|
|
517 |
MK(2,3, 63),
|
|
518 |
MKEND
|
|
519 |
};
|
|
520 |
|
|
521 |
static const IndustryTileTable _tile_table_food_process_1[] = {
|
|
522 |
MK(0,0, 61),
|
|
523 |
MK(1,0, 60),
|
|
524 |
MK(2,0, 61),
|
|
525 |
MK(3,0, 61),
|
|
526 |
MK(0,1, 62),
|
|
527 |
MK(1,1, 63),
|
|
528 |
MK(2,1, 63),
|
|
529 |
MK(3,1, 63),
|
|
530 |
MK(0,2, 60),
|
|
531 |
MK(1,2, 60),
|
|
532 |
MK(2,2, 60),
|
|
533 |
MK(3,2, 60),
|
|
534 |
MK(0,3, 62),
|
|
535 |
MK(1,3, 62),
|
|
536 |
MKEND
|
|
537 |
};
|
|
538 |
|
|
539 |
static const IndustryTileTable * const _tile_table_food_process[] = {
|
|
540 |
_tile_table_food_process_0,
|
|
541 |
_tile_table_food_process_1,
|
|
542 |
};
|
|
543 |
|
|
544 |
static const IndustryTileTable _tile_table_paper_mill_0[] = {
|
|
545 |
MK(0,0, 64),
|
|
546 |
MK(1,0, 65),
|
|
547 |
MK(2,0, 66),
|
|
548 |
MK(3,0, 67),
|
|
549 |
MK(0,1, 68),
|
|
550 |
MK(1,1, 69),
|
|
551 |
MK(2,1, 67),
|
|
552 |
MK(3,1, 67),
|
|
553 |
MK(0,2, 66),
|
|
554 |
MK(1,2, 71),
|
|
555 |
MK(2,2, 71),
|
|
556 |
MK(3,2, 70),
|
|
557 |
MKEND
|
|
558 |
};
|
|
559 |
|
|
560 |
static const IndustryTileTable * const _tile_table_paper_mill[] = {
|
|
561 |
_tile_table_paper_mill_0,
|
|
562 |
};
|
|
563 |
|
|
564 |
static const IndustryTileTable _tile_table_gold_mine_0[] = {
|
|
565 |
MK(0,0, 72),
|
|
566 |
MK(0,1, 73),
|
|
567 |
MK(0,2, 74),
|
|
568 |
MK(0,3, 75),
|
|
569 |
MK(1,0, 76),
|
|
570 |
MK(1,1, 77),
|
|
571 |
MK(1,2, 78),
|
|
572 |
MK(1,3, 79),
|
|
573 |
MK(2,0, 80),
|
|
574 |
MK(2,1, 81),
|
|
575 |
MK(2,2, 82),
|
|
576 |
MK(2,3, 83),
|
|
577 |
MK(3,0, 84),
|
|
578 |
MK(3,1, 85),
|
|
579 |
MK(3,2, 86),
|
|
580 |
MK(3,3, 87),
|
|
581 |
MKEND
|
|
582 |
};
|
|
583 |
|
|
584 |
static const IndustryTileTable * const _tile_table_gold_mine[] = {
|
|
585 |
_tile_table_gold_mine_0,
|
|
586 |
};
|
|
587 |
|
|
588 |
static const IndustryTileTable _tile_table_bank2_0[] = {
|
|
589 |
MK(0,0, 89),
|
|
590 |
MK(1,0, 90),
|
|
591 |
MKEND
|
|
592 |
};
|
|
593 |
|
|
594 |
static const IndustryTileTable * const _tile_table_bank2[] = {
|
|
595 |
_tile_table_bank2_0,
|
|
596 |
};
|
|
597 |
|
|
598 |
static const IndustryTileTable _tile_table_diamond_mine_0[] = {
|
|
599 |
MK(0,0, 91),
|
|
600 |
MK(0,1, 92),
|
|
601 |
MK(0,2, 93),
|
|
602 |
MK(1,0, 94),
|
|
603 |
MK(1,1, 95),
|
|
604 |
MK(1,2, 96),
|
|
605 |
MK(2,0, 97),
|
|
606 |
MK(2,1, 98),
|
|
607 |
MK(2,2, 99),
|
|
608 |
MKEND
|
|
609 |
};
|
|
610 |
|
|
611 |
static const IndustryTileTable * const _tile_table_diamond_mine[] = {
|
|
612 |
_tile_table_diamond_mine_0,
|
|
613 |
};
|
|
614 |
|
|
615 |
static const IndustryTileTable _tile_table_iron_mine_0[] = {
|
|
616 |
MK(0,0, 100),
|
|
617 |
MK(0,1, 101),
|
|
618 |
MK(0,2, 102),
|
|
619 |
MK(0,3, 103),
|
|
620 |
MK(1,0, 104),
|
|
621 |
MK(1,1, 105),
|
|
622 |
MK(1,2, 106),
|
|
623 |
MK(1,3, 107),
|
|
624 |
MK(2,0, 108),
|
|
625 |
MK(2,1, 109),
|
|
626 |
MK(2,2, 110),
|
|
627 |
MK(2,3, 111),
|
|
628 |
MK(3,0, 112),
|
|
629 |
MK(3,1, 113),
|
|
630 |
MK(3,2, 114),
|
|
631 |
MK(3,3, 115),
|
|
632 |
MKEND
|
|
633 |
};
|
|
634 |
|
|
635 |
static const IndustryTileTable * const _tile_table_iron_mine[] = {
|
|
636 |
_tile_table_iron_mine_0,
|
|
637 |
};
|
|
638 |
|
|
639 |
static const IndustryTileTable _tile_table_fruit_plantation_0[] = {
|
|
640 |
MK(0,0, 116),
|
|
641 |
MK(0,1, 116),
|
|
642 |
MK(0,2, 116),
|
|
643 |
MK(0,3, 116),
|
|
644 |
MK(1,0, 116),
|
|
645 |
MK(1,1, 116),
|
|
646 |
MK(1,2, 116),
|
|
647 |
MK(1,3, 116),
|
|
648 |
MK(2,0, 116),
|
|
649 |
MK(2,1, 116),
|
|
650 |
MK(2,2, 116),
|
|
651 |
MK(2,3, 116),
|
|
652 |
MK(3,0, 116),
|
|
653 |
MK(3,1, 116),
|
|
654 |
MK(3,2, 116),
|
|
655 |
MK(3,3, 116),
|
|
656 |
MK(4,0, 116),
|
|
657 |
MK(4,1, 116),
|
|
658 |
MK(4,2, 116),
|
|
659 |
MK(4,3, 116),
|
|
660 |
MKEND
|
|
661 |
};
|
|
662 |
|
|
663 |
static const IndustryTileTable * const _tile_table_fruit_plantation[] = {
|
|
664 |
_tile_table_fruit_plantation_0,
|
|
665 |
};
|
|
666 |
|
|
667 |
static const IndustryTileTable _tile_table_rubber_plantation_0[] = {
|
|
668 |
MK(0,0, 117),
|
|
669 |
MK(0,1, 117),
|
|
670 |
MK(0,2, 117),
|
|
671 |
MK(0,3, 117),
|
|
672 |
MK(1,0, 117),
|
|
673 |
MK(1,1, 117),
|
|
674 |
MK(1,2, 117),
|
|
675 |
MK(1,3, 117),
|
|
676 |
MK(2,0, 117),
|
|
677 |
MK(2,1, 117),
|
|
678 |
MK(2,2, 117),
|
|
679 |
MK(2,3, 117),
|
|
680 |
MK(3,0, 117),
|
|
681 |
MK(3,1, 117),
|
|
682 |
MK(3,2, 117),
|
|
683 |
MK(3,3, 117),
|
|
684 |
MK(4,0, 117),
|
|
685 |
MK(4,1, 117),
|
|
686 |
MK(4,2, 117),
|
|
687 |
MK(4,3, 117),
|
|
688 |
MKEND
|
|
689 |
};
|
|
690 |
|
|
691 |
static const IndustryTileTable * const _tile_table_rubber_plantation[] = {
|
|
692 |
_tile_table_rubber_plantation_0,
|
|
693 |
};
|
|
694 |
|
|
695 |
static const IndustryTileTable _tile_table_water_supply_0[] = {
|
|
696 |
MK(0,0, 118),
|
|
697 |
MK(0,1, 119),
|
|
698 |
MK(1,0, 118),
|
|
699 |
MK(1,1, 119),
|
|
700 |
MKEND
|
|
701 |
};
|
|
702 |
|
|
703 |
static const IndustryTileTable * const _tile_table_water_supply[] = {
|
|
704 |
_tile_table_water_supply_0,
|
|
705 |
};
|
|
706 |
|
|
707 |
static const IndustryTileTable _tile_table_water_tower_0[] = {
|
|
708 |
MK(0,0, 120),
|
|
709 |
MKEND
|
|
710 |
};
|
|
711 |
|
|
712 |
static const IndustryTileTable * const _tile_table_water_tower[] = {
|
|
713 |
_tile_table_water_tower_0,
|
|
714 |
};
|
|
715 |
|
|
716 |
static const IndustryTileTable _tile_table_factory2_0[] = {
|
|
717 |
MK(0,0, 121),
|
|
718 |
MK(0,1, 122),
|
|
719 |
MK(1,0, 123),
|
|
720 |
MK(1,1, 124),
|
|
721 |
MK(0,2, 121),
|
|
722 |
MK(0,3, 122),
|
|
723 |
MK(1,2, 123),
|
|
724 |
MK(1,3, 124),
|
|
725 |
MKEND
|
|
726 |
};
|
|
727 |
|
|
728 |
static const IndustryTileTable _tile_table_factory2_1[] = {
|
|
729 |
MK(0,0, 121),
|
|
730 |
MK(0,1, 122),
|
|
731 |
MK(1,0, 123),
|
|
732 |
MK(1,1, 124),
|
|
733 |
MK(2,0, 121),
|
|
734 |
MK(2,1, 122),
|
|
735 |
MK(3,0, 123),
|
|
736 |
MK(3,1, 124),
|
|
737 |
MKEND
|
|
738 |
};
|
|
739 |
|
|
740 |
static const IndustryTileTable * const _tile_table_factory2[] = {
|
|
741 |
_tile_table_factory2_0,
|
|
742 |
_tile_table_factory2_1,
|
|
743 |
};
|
|
744 |
|
|
745 |
static const IndustryTileTable _tile_table_farm2_0[] = {
|
|
746 |
MK(1,0, 33),
|
|
747 |
MK(1,1, 34),
|
|
748 |
MK(1,2, 36),
|
|
749 |
MK(0,0, 37),
|
|
750 |
MK(0,1, 37),
|
|
751 |
MK(0,2, 36),
|
|
752 |
MK(2,0, 35),
|
|
753 |
MK(2,1, 38),
|
|
754 |
MK(2,2, 38),
|
|
755 |
MKEND
|
|
756 |
};
|
|
757 |
|
|
758 |
static const IndustryTileTable _tile_table_farm2_1[] = {
|
|
759 |
MK(1,1, 33),
|
|
760 |
MK(1,2, 34),
|
|
761 |
MK(0,0, 35),
|
|
762 |
MK(0,1, 36),
|
|
763 |
MK(0,2, 36),
|
|
764 |
MK(0,3, 35),
|
|
765 |
MK(1,0, 37),
|
|
766 |
MK(1,3, 38),
|
|
767 |
MK(2,0, 37),
|
|
768 |
MK(2,1, 37),
|
|
769 |
MK(2,2, 38),
|
|
770 |
MK(2,3, 38),
|
|
771 |
MKEND
|
|
772 |
};
|
|
773 |
|
|
774 |
static const IndustryTileTable _tile_table_farm2_2[] = {
|
|
775 |
MK(2,0, 33),
|
|
776 |
MK(2,1, 34),
|
|
777 |
MK(0,0, 36),
|
|
778 |
MK(0,1, 36),
|
|
779 |
MK(0,2, 37),
|
|
780 |
MK(0,3, 37),
|
|
781 |
MK(1,0, 35),
|
|
782 |
MK(1,1, 38),
|
|
783 |
MK(1,2, 38),
|
|
784 |
MK(1,3, 37),
|
|
785 |
MK(2,2, 37),
|
|
786 |
MK(2,3, 35),
|
|
787 |
MKEND
|
|
788 |
};
|
|
789 |
|
|
790 |
static const IndustryTileTable * const _tile_table_farm2[] = {
|
|
791 |
_tile_table_farm2_0,
|
|
792 |
_tile_table_farm2_1,
|
|
793 |
_tile_table_farm2_2,
|
|
794 |
};
|
|
795 |
|
|
796 |
static const IndustryTileTable _tile_table_lumber_mill_0[] = {
|
|
797 |
MK(0,0, 125),
|
|
798 |
MK(0,1, 126),
|
|
799 |
MK(1,0, 127),
|
|
800 |
MK(1,1, 128),
|
|
801 |
MKEND
|
|
802 |
};
|
|
803 |
|
|
804 |
static const IndustryTileTable * const _tile_table_lumber_mill[] = {
|
|
805 |
_tile_table_lumber_mill_0,
|
|
806 |
};
|
|
807 |
|
|
808 |
static const IndustryTileTable _tile_table_cotton_candy_0[] = {
|
|
809 |
MK(0,0, 129),
|
|
810 |
MK(0,1, 129),
|
|
811 |
MK(0,2, 129),
|
|
812 |
MK(0,3, 129),
|
|
813 |
MK(1,0, 129),
|
|
814 |
MK(1,1, 129),
|
|
815 |
MK(1,2, 129),
|
|
816 |
MK(1,3, 129),
|
|
817 |
MK(2,0, 129),
|
|
818 |
MK(2,1, 129),
|
|
819 |
MK(2,2, 129),
|
|
820 |
MK(2,3, 129),
|
|
821 |
MK(3,0, 129),
|
|
822 |
MK(3,1, 129),
|
|
823 |
MK(3,2, 129),
|
|
824 |
MK(3,3, 129),
|
|
825 |
MK(1,4, 129),
|
|
826 |
MK(2,4, 129),
|
|
827 |
MKEND
|
|
828 |
};
|
|
829 |
|
|
830 |
static const IndustryTileTable _tile_table_cotton_candy_1[] = {
|
|
831 |
MK(0,0, 129),
|
|
832 |
MK(1,0, 129),
|
|
833 |
MK(2,0, 129),
|
|
834 |
MK(3,0, 129),
|
|
835 |
MK(4,0, 129),
|
|
836 |
MK(0,1, 129),
|
|
837 |
MK(1,1, 129),
|
|
838 |
MK(2,1, 129),
|
|
839 |
MK(3,1, 129),
|
|
840 |
MK(4,1, 129),
|
|
841 |
MK(0,2, 129),
|
|
842 |
MK(1,2, 129),
|
|
843 |
MK(2,2, 129),
|
|
844 |
MK(3,2, 129),
|
|
845 |
MK(4,2, 129),
|
|
846 |
MK(0,3, 129),
|
|
847 |
MK(1,3, 129),
|
|
848 |
MK(2,3, 129),
|
|
849 |
MK(3,3, 129),
|
|
850 |
MK(4,3, 129),
|
|
851 |
MK(1,4, 129),
|
|
852 |
MK(2,4, 129),
|
|
853 |
MK(3,4, 129),
|
|
854 |
MKEND
|
|
855 |
};
|
|
856 |
|
|
857 |
static const IndustryTileTable * const _tile_table_cotton_candy[] = {
|
|
858 |
_tile_table_cotton_candy_0,
|
|
859 |
_tile_table_cotton_candy_1,
|
|
860 |
};
|
|
861 |
|
|
862 |
static const IndustryTileTable _tile_table_candy_factory_0[] = {
|
|
863 |
MK(0,0, 131),
|
|
864 |
MK(0,1, 132),
|
|
865 |
MK(1,0, 133),
|
|
866 |
MK(1,1, 134),
|
|
867 |
MK(0,2, 131),
|
|
868 |
MK(0,3, 132),
|
|
869 |
MK(1,2, 133),
|
|
870 |
MK(1,3, 134),
|
|
871 |
MK(2,1, 131),
|
|
872 |
MK(2,2, 132),
|
|
873 |
MK(3,1, 133),
|
|
874 |
MK(3,2, 134),
|
|
875 |
MKEND
|
|
876 |
};
|
|
877 |
|
|
878 |
static const IndustryTileTable _tile_table_candy_factory_1[] = {
|
|
879 |
MK(0,0, 131),
|
|
880 |
MK(0,1, 132),
|
|
881 |
MK(1,0, 133),
|
|
882 |
MK(1,1, 134),
|
|
883 |
MK(2,0, 131),
|
|
884 |
MK(2,1, 132),
|
|
885 |
MK(3,0, 133),
|
|
886 |
MK(3,1, 134),
|
|
887 |
MK(1,2, 131),
|
|
888 |
MK(1,3, 132),
|
|
889 |
MK(2,2, 133),
|
|
890 |
MK(2,3, 134),
|
|
891 |
MKEND
|
|
892 |
};
|
|
893 |
|
|
894 |
static const IndustryTileTable * const _tile_table_candy_factory[] = {
|
|
895 |
_tile_table_candy_factory_0,
|
|
896 |
_tile_table_candy_factory_1,
|
|
897 |
};
|
|
898 |
|
|
899 |
static const IndustryTileTable _tile_table_battery_farm_0[] = {
|
|
900 |
MK(0,0, 135),
|
|
901 |
MK(0,1, 135),
|
|
902 |
MK(0,2, 135),
|
|
903 |
MK(0,3, 135),
|
|
904 |
MK(1,0, 135),
|
|
905 |
MK(1,1, 135),
|
|
906 |
MK(1,2, 135),
|
|
907 |
MK(1,3, 135),
|
|
908 |
MK(2,0, 135),
|
|
909 |
MK(2,1, 135),
|
|
910 |
MK(2,2, 135),
|
|
911 |
MK(2,3, 135),
|
|
912 |
MK(3,0, 135),
|
|
913 |
MK(3,1, 135),
|
|
914 |
MK(3,2, 135),
|
|
915 |
MK(3,3, 135),
|
|
916 |
MK(4,0, 135),
|
|
917 |
MK(4,1, 135),
|
|
918 |
MK(4,2, 135),
|
|
919 |
MK(4,3, 135),
|
|
920 |
MKEND
|
|
921 |
};
|
|
922 |
|
|
923 |
static const IndustryTileTable * const _tile_table_battery_farm[] = {
|
|
924 |
_tile_table_battery_farm_0,
|
|
925 |
};
|
|
926 |
|
|
927 |
static const IndustryTileTable _tile_table_cola_wells_0[] = {
|
|
928 |
MK(0,0, 137),
|
|
929 |
MK(0,1, 137),
|
|
930 |
MK(0,2, 137),
|
|
931 |
MK(1,0, 137),
|
|
932 |
MK(1,1, 137),
|
|
933 |
MK(1,2, 137),
|
|
934 |
MK(2,1, 137),
|
|
935 |
MK(2,2, 137),
|
|
936 |
MKEND
|
|
937 |
};
|
|
938 |
|
|
939 |
static const IndustryTileTable _tile_table_cola_wells_1[] = {
|
|
940 |
MK(0,1, 137),
|
|
941 |
MK(0,2, 137),
|
|
942 |
MK(0,3, 137),
|
|
943 |
MK(1,0, 137),
|
|
944 |
MK(1,1, 137),
|
|
945 |
MK(1,2, 137),
|
|
946 |
MK(2,1, 137),
|
|
947 |
MKEND
|
|
948 |
};
|
|
949 |
|
|
950 |
static const IndustryTileTable * const _tile_table_cola_wells[] = {
|
|
951 |
_tile_table_cola_wells_0,
|
|
952 |
_tile_table_cola_wells_1,
|
|
953 |
};
|
|
954 |
|
|
955 |
static const IndustryTileTable _tile_table_toy_shop_0[] = {
|
|
956 |
MK(0,0, 138),
|
|
957 |
MK(0,1, 139),
|
|
958 |
MK(1,0, 140),
|
|
959 |
MK(1,1, 141),
|
|
960 |
MKEND
|
|
961 |
};
|
|
962 |
|
|
963 |
static const IndustryTileTable * const _tile_table_toy_shop[] = {
|
|
964 |
_tile_table_toy_shop_0,
|
|
965 |
};
|
|
966 |
|
|
967 |
static const IndustryTileTable _tile_table_toy_factory_0[] = {
|
|
968 |
MK(0,0, 147),
|
|
969 |
MK(0,1, 142),
|
|
970 |
MK(1,0, 147),
|
|
971 |
MK(1,1, 143),
|
|
972 |
MK(2,0, 147),
|
|
973 |
MK(2,1, 144),
|
|
974 |
MK(3,0, 146),
|
|
975 |
MK(3,1, 145),
|
|
976 |
MKEND
|
|
977 |
};
|
|
978 |
|
|
979 |
static const IndustryTileTable * const _tile_table_toy_factory[] = {
|
|
980 |
_tile_table_toy_factory_0,
|
|
981 |
};
|
|
982 |
|
|
983 |
static const IndustryTileTable _tile_table_plastic_fountain_0[] = {
|
|
984 |
MK(0,0, 148),
|
|
985 |
MK(0,1, 151),
|
|
986 |
MK(0,2, 154),
|
|
987 |
MKEND
|
|
988 |
};
|
|
989 |
|
|
990 |
static const IndustryTileTable _tile_table_plastic_fountain_1[] = {
|
|
991 |
MK(0,0, 148),
|
|
992 |
MK(1,0, 151),
|
|
993 |
MK(2,0, 154),
|
|
994 |
MKEND
|
|
995 |
};
|
|
996 |
|
|
997 |
static const IndustryTileTable * const _tile_table_plastic_fountain[] = {
|
|
998 |
_tile_table_plastic_fountain_0,
|
|
999 |
_tile_table_plastic_fountain_1,
|
|
1000 |
};
|
|
1001 |
|
|
1002 |
static const IndustryTileTable _tile_table_fizzy_drink_0[] = {
|
|
1003 |
MK(0,0, 156),
|
|
1004 |
MK(0,1, 157),
|
|
1005 |
MK(1,0, 158),
|
|
1006 |
MK(1,1, 159),
|
|
1007 |
MKEND
|
|
1008 |
};
|
|
1009 |
|
|
1010 |
static const IndustryTileTable * const _tile_table_fizzy_drink[] = {
|
|
1011 |
_tile_table_fizzy_drink_0,
|
|
1012 |
};
|
|
1013 |
|
|
1014 |
static const IndustryTileTable _tile_table_bubble_generator_0[] = {
|
|
1015 |
MK(0,0, 163),
|
|
1016 |
MK(0,1, 160),
|
|
1017 |
MK(1,0, 163),
|
|
1018 |
MK(1,1, 161),
|
|
1019 |
MK(2,0, 163),
|
|
1020 |
MK(2,1, 162),
|
|
1021 |
MK(0,2, 163),
|
|
1022 |
MK(0,3, 160),
|
|
1023 |
MK(1,2, 163),
|
|
1024 |
MK(1,3, 161),
|
|
1025 |
MK(2,2, 163),
|
|
1026 |
MK(2,3, 162),
|
|
1027 |
MKEND
|
|
1028 |
};
|
|
1029 |
|
|
1030 |
static const IndustryTileTable * const _tile_table_bubble_generator[] = {
|
|
1031 |
_tile_table_bubble_generator_0,
|
|
1032 |
};
|
|
1033 |
|
|
1034 |
static const IndustryTileTable _tile_table_toffee_quarry_0[] = {
|
|
1035 |
MK(0,0, 164),
|
|
1036 |
MK(1,0, 165),
|
|
1037 |
MK(2,0, 166),
|
|
1038 |
MKEND
|
|
1039 |
};
|
|
1040 |
|
|
1041 |
static const IndustryTileTable * const _tile_table_toffee_quarry[] = {
|
|
1042 |
_tile_table_toffee_quarry_0,
|
|
1043 |
};
|
|
1044 |
|
|
1045 |
static const IndustryTileTable _tile_table_sugar_mine_0[] = {
|
|
1046 |
MK(0,0, 167),
|
|
1047 |
MK(0,1, 168),
|
|
1048 |
MK(1,0, 169),
|
|
1049 |
MK(1,1, 170),
|
|
1050 |
MK(2,0, 171),
|
|
1051 |
MK(2,1, 172),
|
|
1052 |
MK(3,0, 173),
|
|
1053 |
MK(3,1, 174),
|
|
1054 |
MKEND
|
|
1055 |
};
|
|
1056 |
|
|
1057 |
static const IndustryTileTable * const _tile_table_sugar_mine[] = {
|
|
1058 |
_tile_table_sugar_mine_0,
|
|
1059 |
};
|
|
1060 |
|
|
1061 |
#undef MK
|
|
1062 |
#undef MKEND
|
|
1063 |
|
|
1064 |
#define MK(tbl, a,b,c, p1,p2, r1,r2, a1,a2,a3, proc) {tbl,lengthof(tbl),a,b,c,{p1,p2},{r1,r2},{a1,a2,a3},proc}
|
|
1065 |
|
|
1066 |
static const IndustrySpec _industry_spec[37] = {
|
|
1067 |
/* name not close to produce prodrate accepts checkproc */
|
|
1068 |
MK(_tile_table_coal_mine, 1,255,255, 1,255, 15, 0, 255,255,255, 0),
|
|
1069 |
MK(_tile_table_power_station, 0,255,255, 255,255, 0, 0, 1,255,255, 0),
|
|
1070 |
MK(_tile_table_sawmill, 3,255,255, 5,255, 0, 0, 7,255,255, 0),
|
|
1071 |
MK(_tile_table_forest, 2, 14,255, 7,255, 13, 0, 255,255,255, 1),
|
|
1072 |
MK(_tile_table_oil_refinery, 5,255,255, 5,255, 0, 0, 3,255,255, 2),
|
|
1073 |
MK(_tile_table_oil_rig, 4,255,255, 3, 0, 15, 2, 255,255,255, 2),
|
|
1074 |
MK(_tile_table_factory, 9, 8,255, 5,255, 0, 0, 4, 6, 9, 0),
|
|
1075 |
MK(_tile_table_printing_works, 14,255,255, 5,255, 0, 0, 9,255,255, 0),
|
|
1076 |
MK(_tile_table_steel_mill, 18, 6,255, 9,255, 0, 0, 8,255,255, 0),
|
|
1077 |
MK(_tile_table_farm, 6, 13,255, 6, 4, 10,10, 255,255,255, 3),
|
|
1078 |
MK(_tile_table_copper_mine, 23,255,255, 8,255, 10, 0, 255,255,255, 0),
|
|
1079 |
MK(_tile_table_oil_well, 4,255,255, 3,255, 12, 0, 255,255,255, 0),
|
|
1080 |
MK(_tile_table_bank, 12,255,255, 10,255, 6, 0, 10,255,255, 0),
|
|
1081 |
MK(_tile_table_food_process, 9, 19, 24, 11,255, 0, 0, 4, 6,255, 0),
|
|
1082 |
MK(_tile_table_paper_mill, 3, 7,255, 9,255, 0, 0, 7,255,255, 0),
|
|
1083 |
MK(_tile_table_gold_mine, 16,255,255, 10,255, 7, 0, 255,255,255, 0),
|
|
1084 |
MK(_tile_table_bank2, 15, 17,255, 255,255, 0, 0, 10,255,255, 0),
|
|
1085 |
MK(_tile_table_diamond_mine, 16,255,255, 10,255, 7, 0, 255,255,255, 0),
|
|
1086 |
MK(_tile_table_iron_mine, 8,255,255, 8,255, 10, 0, 255,255,255, 0),
|
|
1087 |
MK(_tile_table_fruit_plantation, 13,255,255, 4,255, 10, 0, 255,255,255, 4),
|
|
1088 |
MK(_tile_table_rubber_plantation,23,255,255, 1,255, 10, 0, 255,255,255, 4),
|
|
1089 |
MK(_tile_table_water_supply, 22,255,255, 9,255, 12, 0, 255,255,255, 5),
|
|
1090 |
MK(_tile_table_water_tower, 21,255,255, 255,255, 0, 0, 9,255,255, 5),
|
|
1091 |
MK(_tile_table_factory2, 10, 20, 25, 5,255, 0, 0, 1, 8, 7, 4),
|
|
1092 |
MK(_tile_table_farm2, 13,255,255, 6,255, 11, 0, 255,255,255, 4),
|
|
1093 |
MK(_tile_table_lumber_mill, 23,255,255, 7,255, 0, 0, 255,255,255, 6),
|
|
1094 |
MK(_tile_table_cotton_candy, 27,255,255, 8,255, 13, 0, 255,255,255, 0),
|
|
1095 |
MK(_tile_table_candy_factory, 26, 35, 36, 5,255, 0, 0, 1, 6, 8, 0),
|
|
1096 |
MK(_tile_table_battery_farm, 31,255,255, 4,255, 11, 0, 255,255,255, 0),
|
|
1097 |
MK(_tile_table_cola_wells, 33,255,255, 7,255, 12, 0, 255,255,255, 0),
|
|
1098 |
MK(_tile_table_toy_shop, 31,255,255, 255,255, 0, 0, 3,255,255, 0),
|
|
1099 |
MK(_tile_table_toy_factory, 30, 28, 32, 3,255, 0, 0, 10, 4,255, 0),
|
|
1100 |
MK(_tile_table_plastic_fountain, 31,255,255, 10,255, 14, 0, 255,255,255, 0),
|
|
1101 |
MK(_tile_table_fizzy_drink, 29, 34,255, 11,255, 0, 0, 7, 9,255, 0),
|
|
1102 |
MK(_tile_table_bubble_generator, 33,255,255, 9,255, 13, 0, 255,255,255, 7),
|
|
1103 |
MK(_tile_table_toffee_quarry, 27,255,255, 6,255, 10, 0, 255,255,255, 0),
|
|
1104 |
MK(_tile_table_sugar_mine, 27,255,255, 1,255, 11, 0, 255,255,255, 0),
|
|
1105 |
};
|
|
1106 |
#undef MK
|
|
1107 |
|
|
1108 |
const byte _industry_type_costs[37] = {
|
|
1109 |
210, 30, 28, 200, 31, 240, 26, 26, 27, 250, 205, 220, 193, 26,
|
|
1110 |
28, 208, 19, 213, 220, 225, 218, 199, 14, 26, 250, 17, 195, 26,
|
|
1111 |
187, 193, 17, 20, 192, 22, 203, 213, 210
|
|
1112 |
};
|
|
1113 |
|
|
1114 |
|
|
1115 |
static const byte _industry_create_table_0[] = {
|
|
1116 |
4, 4,
|
|
1117 |
5, 3,
|
|
1118 |
5, 2,
|
|
1119 |
8, 0,
|
|
1120 |
5, 1,
|
|
1121 |
4, 11,
|
|
1122 |
5, 18,
|
|
1123 |
9, 9,
|
|
1124 |
5, 8,
|
|
1125 |
5, 6,
|
|
1126 |
0
|
|
1127 |
};
|
|
1128 |
|
|
1129 |
static const byte _industry_create_table_1[] = {
|
|
1130 |
4, 4,
|
|
1131 |
5, 3,
|
|
1132 |
5, 14,
|
|
1133 |
8, 0,
|
|
1134 |
5, 1,
|
|
1135 |
5, 11,
|
|
1136 |
5, 13,
|
|
1137 |
9, 9,
|
|
1138 |
4, 15,
|
|
1139 |
5, 7,
|
|
1140 |
6, 16,
|
|
1141 |
0
|
|
1142 |
};
|
|
1143 |
|
|
1144 |
static const byte _industry_create_table_2[] = {
|
|
1145 |
4, 4,
|
|
1146 |
5, 11,
|
|
1147 |
5, 16,
|
|
1148 |
4, 13,
|
|
1149 |
4, 17,
|
|
1150 |
4, 10,
|
|
1151 |
4, 19,
|
|
1152 |
4, 20,
|
|
1153 |
4, 21,
|
|
1154 |
8, 22,
|
|
1155 |
4, 13,
|
|
1156 |
4, 23,
|
|
1157 |
2, 24,
|
|
1158 |
0
|
|
1159 |
};
|
|
1160 |
|
|
1161 |
static const byte _industry_create_table_3[] = {
|
|
1162 |
5, 26,
|
|
1163 |
5, 27,
|
|
1164 |
4, 28,
|
|
1165 |
5, 29,
|
|
1166 |
4, 30,
|
|
1167 |
5, 31,
|
|
1168 |
5, 32,
|
|
1169 |
4, 33,
|
|
1170 |
5, 34,
|
|
1171 |
5, 35,
|
|
1172 |
4, 36,
|
|
1173 |
0
|
|
1174 |
};
|
|
1175 |
|
|
1176 |
static const byte * const _industry_create_table[4] = {
|
|
1177 |
_industry_create_table_0,
|
|
1178 |
_industry_create_table_1,
|
|
1179 |
_industry_create_table_2,
|
|
1180 |
_industry_create_table_3,
|
|
1181 |
};
|
|
1182 |
|
|
1183 |
|
|
1184 |
static const int8 _industry_map5_accepts_1[] = {
|
|
1185 |
-1, -1, -1, 0, -1, -1, -1, -1,
|
|
1186 |
0, -1, -1, 0, 0, 0, -1, -1,
|
|
1187 |
-1, -1, -1, -1, -1, -1, -1, 0,
|
|
1188 |
-1, -1, -1, -1, -1, -1, -1, -1,
|
|
1189 |
-1, 0, 0, -1, -1, -1, -1, 6,
|
|
1190 |
6, 6, 6, -1, -1, -1, -1, -1,
|
|
1191 |
-1, -1, 0, 0, 0, 0, 0, 0,
|
|
1192 |
0, 0, 0, 0, 6, 6, 6, 6,
|
|
1193 |
-1, -1, -1, -1, -1, -1, -1, -1,
|
|
1194 |
-1, -1, -1, -1, -1, -1, -1, -1,
|
|
1195 |
-1, -1, -1, -1, -1, -1, -1, -1,
|
|
1196 |
-1, -1, -1, -1, -1, -1, -1, -1,
|
|
1197 |
-1, -1, -1, -1, -1, -1, -1, -1,
|
|
1198 |
-1, -1, -1, -1, -1, -1, -1, -1,
|
|
1199 |
-1, -1, -1, -1, -1, -1, -1, -1,
|
|
1200 |
-1, 8, 8, 8, 8, -1, -1, -1,
|
|
1201 |
-1, -1, -1, 8, 8, 8, 8, -1,
|
|
1202 |
-1, -1, -1, -1, -1, -1, 4, 4,
|
|
1203 |
4, 4, 4, 4, -1, -1, -1, -1,
|
|
1204 |
-1, -1, -1, -1, 9, 9, 9, 9,
|
|
1205 |
-1, -1, -1, -1, -1, -1, -1, -1,
|
|
1206 |
-1, -1, -1, -1, -1, -1, -1,
|
|
1207 |
};
|
|
1208 |
|
|
1209 |
|
|
1210 |
static const int8 _industry_map5_accepts_2[] = {
|
|
1211 |
-1, -1, -1, -1, -1, -1, -1, -1,
|
|
1212 |
-1, -1, -1, -1, -1, -1, -1, -1,
|
|
1213 |
-1, -1, -1, -1, -1, -1, -1, -1,
|
|
1214 |
-1, -1, -1, -1, -1, -1, -1, -1,
|
|
1215 |
-1, -1, -1, -1, -1, -1, -1, 9,
|
|
1216 |
9, 9, 9, -1, -1, -1, -1, -1,
|
|
1217 |
-1, -1, -1, -1, -1, -1, -1, -1,
|
|
1218 |
-1, -1, -1, -1, -1, -1, -1, -1,
|
|
1219 |
-1, -1, -1, -1, -1, -1, -1, -1,
|
|
1220 |
-1, -1, -1, -1, -1, -1, -1, -1,
|
|
1221 |
-1, -1, -1, -1, -1, -1, -1, -1,
|
|
1222 |
-1, -1, -1, -1, -1, -1, -1, -1,
|
|
1223 |
-1, -1, -1, -1, -1, -1, -1, -1,
|
|
1224 |
-1, -1, -1, -1, -1, -1, -1, -1,
|
|
1225 |
-1, -1, -1, -1, -1, -1, -1, -1,
|
|
1226 |
-1, 7, 7, 7, 7, -1, -1, -1,
|
|
1227 |
-1, -1, -1, 6, 6, 6, 6, -1,
|
|
1228 |
-1, -1, -1, -1, -1, -1, -1, -1,
|
|
1229 |
-1, -1, -1, -1, -1, -1, -1, -1,
|
|
1230 |
-1, -1, -1, -1, -1, -1, -1, -1,
|
|
1231 |
-1, -1, -1, -1, -1, -1, -1, -1,
|
|
1232 |
-1, -1, -1, -1, -1, -1, -1,
|
|
1233 |
};
|
|
1234 |
|
|
1235 |
static const int8 _industry_map5_accepts_3[] = {
|
|
1236 |
-1, -1, -1, -1, -1, -1, -1, -1,
|
|
1237 |
1, -1, -1, -1, -1, 7, -1, -1,
|
|
1238 |
-1, -1, -1, -1, 3, -1, -1, -1,
|
|
1239 |
0, 2, -1, -1, -1, -1, -1, -1,
|
|
1240 |
-1, -1, -1, -1, -1, -1, -1, 4,
|
|
1241 |
4, 4, 4, 9, 9, 9, 9, -1,
|
|
1242 |
-1, -1, -1, -1, 8, 8, 8, 8,
|
|
1243 |
8, 8, 10, 10, 4, 4, 4, 4,
|
|
1244 |
7, 7, 7, 7, 7, 7, 7, 7,
|
|
1245 |
-1, -1, -1, -1, -1, -1, -1, -1,
|
|
1246 |
-1, -1, -1, -1, -1, -1, -1, -1,
|
|
1247 |
-1, 10, 10, -1, -1, -1, -1, -1,
|
|
1248 |
-1, -1, -1, -1, -1, -1, -1, -1,
|
|
1249 |
-1, -1, -1, -1, -1, -1, -1, -1,
|
|
1250 |
-1, -1, -1, -1, -1, -1, -1, -1,
|
|
1251 |
9, 1, 1, 1, 1, -1, -1, -1,
|
|
1252 |
-1, -1, -1, 1, 1, 1, 1, -1,
|
|
1253 |
-1, -1, 3, 3, 3, 3, 10, 10,
|
|
1254 |
10, 10, 10, 10, -1, -1, -1, -1,
|
|
1255 |
-1, -1, -1, -1, 7, 7, 7, 7,
|
|
1256 |
-1, -1, -1, -1, -1, -1, -1, -1,
|
|
1257 |
-1, -1, -1, -1, -1, -1, -1,
|
|
1258 |
};
|