author | belugas |
Wed, 26 Apr 2006 21:10:01 +0000 | |
changeset 3669 | 753648f181a0 |
parent 3663 | 548dfb4ad4cc |
child 3689 | 50a3fd4ba752 |
permissions | -rw-r--r-- |
2186 | 1 |
/* $Id$ */ |
2 |
||
3654
c09872510a61
(svn r4568) CodeChange : Bring definitions and uses of DrawTypesStructures toguether.
belugas
parents:
3494
diff
changeset
|
3 |
|
c09872510a61
(svn r4568) CodeChange : Bring definitions and uses of DrawTypesStructures toguether.
belugas
parents:
3494
diff
changeset
|
4 |
typedef struct IndustryTileTable { |
c09872510a61
(svn r4568) CodeChange : Bring definitions and uses of DrawTypesStructures toguether.
belugas
parents:
3494
diff
changeset
|
5 |
TileIndexDiffC ti; |
c09872510a61
(svn r4568) CodeChange : Bring definitions and uses of DrawTypesStructures toguether.
belugas
parents:
3494
diff
changeset
|
6 |
IndustryGfx gfx; |
c09872510a61
(svn r4568) CodeChange : Bring definitions and uses of DrawTypesStructures toguether.
belugas
parents:
3494
diff
changeset
|
7 |
} IndustryTileTable; |
c09872510a61
(svn r4568) CodeChange : Bring definitions and uses of DrawTypesStructures toguether.
belugas
parents:
3494
diff
changeset
|
8 |
|
c09872510a61
(svn r4568) CodeChange : Bring definitions and uses of DrawTypesStructures toguether.
belugas
parents:
3494
diff
changeset
|
9 |
typedef struct IndustrySpec { |
3669
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
10 |
/** Tables with the 'layout' of different composition of GFXes */ |
3654
c09872510a61
(svn r4568) CodeChange : Bring definitions and uses of DrawTypesStructures toguether.
belugas
parents:
3494
diff
changeset
|
11 |
const IndustryTileTable *const *table; |
3669
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
12 |
/** Number of elements in the table */ |
3654
c09872510a61
(svn r4568) CodeChange : Bring definitions and uses of DrawTypesStructures toguether.
belugas
parents:
3494
diff
changeset
|
13 |
byte num_table; |
3669
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
14 |
/** Industries this industry cannot be close to */ |
3663
548dfb4ad4cc
(svn r4578) CodeChange : Cleanup of industry_cmd (Step-2).
belugas
parents:
3662
diff
changeset
|
15 |
IndustryType conflicting[3]; |
3669
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
16 |
/** index to a procedure to check for conflicting circumstances */ |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
17 |
byte check_proc; |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
18 |
|
3654
c09872510a61
(svn r4568) CodeChange : Bring definitions and uses of DrawTypesStructures toguether.
belugas
parents:
3494
diff
changeset
|
19 |
CargoID produced_cargo[2]; |
c09872510a61
(svn r4568) CodeChange : Bring definitions and uses of DrawTypesStructures toguether.
belugas
parents:
3494
diff
changeset
|
20 |
byte production_rate[2]; |
3669
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
21 |
/** The minimum amount of cargo transported to the stations; if the |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
22 |
* waiting cargo is less than this number, no cargo is moved to it*/ |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
23 |
byte minimal_cargo; |
3654
c09872510a61
(svn r4568) CodeChange : Bring definitions and uses of DrawTypesStructures toguether.
belugas
parents:
3494
diff
changeset
|
24 |
CargoID accepts_cargo[3]; |
3669
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
25 |
|
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
26 |
StringID closure_text; |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
27 |
StringID production_up_text; |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
28 |
StringID production_down_text; |
3654
c09872510a61
(svn r4568) CodeChange : Bring definitions and uses of DrawTypesStructures toguether.
belugas
parents:
3494
diff
changeset
|
29 |
} IndustrySpec; |
c09872510a61
(svn r4568) CodeChange : Bring definitions and uses of DrawTypesStructures toguether.
belugas
parents:
3494
diff
changeset
|
30 |
|
909
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
0
diff
changeset
|
31 |
#define MK(x,y, m) {{x, y}, m} |
0 | 32 |
|
909
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
0
diff
changeset
|
33 |
#define MKEND {{-0x80, 0}, 0} |
0 | 34 |
|
35 |
static const IndustryTileTable _tile_table_coal_mine_0[] = { |
|
36 |
MK(1,1, 0), |
|
37 |
MK(1,2, 2), |
|
38 |
MK(0,0, 5), |
|
39 |
MK(1,0, 6), |
|
40 |
MK(2,0, 3), |
|
41 |
MK(2,2, 3), |
|
42 |
MKEND |
|
43 |
}; |
|
44 |
||
45 |
static const IndustryTileTable _tile_table_coal_mine_1[] = { |
|
46 |
MK(1,1, 0), |
|
47 |
MK(1,2, 2), |
|
48 |
MK(2,0, 0), |
|
49 |
MK(2,1, 2), |
|
50 |
MK(1,0, 3), |
|
51 |
MK(0,0, 3), |
|
52 |
MK(0,1, 4), |
|
53 |
MK(0,2, 4), |
|
54 |
MK(2,2, 4), |
|
55 |
MKEND |
|
56 |
}; |
|
57 |
||
58 |
static const IndustryTileTable _tile_table_coal_mine_2[] = { |
|
59 |
MK(0,0, 0), |
|
60 |
MK(0,1, 2), |
|
61 |
MK(0,2, 5), |
|
62 |
MK(1,0, 3), |
|
63 |
MK(1,1, 3), |
|
64 |
MK(1,2, 6), |
|
65 |
MKEND |
|
66 |
}; |
|
67 |
||
68 |
static const IndustryTileTable _tile_table_coal_mine_3[] = { |
|
69 |
MK(0,1, 0), |
|
70 |
MK(0,2, 2), |
|
71 |
MK(0,3, 4), |
|
72 |
MK(1,0, 5), |
|
73 |
MK(1,1, 0), |
|
74 |
MK(1,2, 2), |
|
75 |
MK(1,3, 3), |
|
76 |
MK(2,0, 6), |
|
77 |
MK(2,1, 4), |
|
78 |
MK(2,2, 3), |
|
79 |
MKEND |
|
80 |
}; |
|
81 |
||
82 |
static const IndustryTileTable * const _tile_table_coal_mine[] = { |
|
83 |
_tile_table_coal_mine_0, |
|
84 |
_tile_table_coal_mine_1, |
|
85 |
_tile_table_coal_mine_2, |
|
86 |
_tile_table_coal_mine_3, |
|
87 |
}; |
|
88 |
||
89 |
static const IndustryTileTable _tile_table_power_station_0[] = { |
|
90 |
MK(0,0, 7), |
|
91 |
MK(0,1, 9), |
|
92 |
MK(1,0, 7), |
|
93 |
MK(1,1, 8), |
|
94 |
MK(2,0, 7), |
|
95 |
MK(2,1, 8), |
|
96 |
MK(3,0, 10), |
|
97 |
MK(3,1, 10), |
|
98 |
MKEND |
|
99 |
}; |
|
100 |
||
101 |
static const IndustryTileTable _tile_table_power_station_1[] = { |
|
102 |
MK(0,1, 7), |
|
103 |
MK(0,2, 7), |
|
104 |
MK(1,0, 8), |
|
105 |
MK(1,1, 8), |
|
106 |
MK(1,2, 7), |
|
107 |
MK(2,0, 9), |
|
108 |
MK(2,1, 10), |
|
109 |
MK(2,2, 9), |
|
110 |
MKEND |
|
111 |
}; |
|
112 |
||
113 |
static const IndustryTileTable _tile_table_power_station_2[] = { |
|
114 |
MK(0,0, 7), |
|
115 |
MK(0,1, 7), |
|
116 |
MK(1,0, 9), |
|
117 |
MK(1,1, 8), |
|
118 |
MK(2,0, 10), |
|
119 |
MK(2,1, 9), |
|
120 |
MKEND |
|
121 |
}; |
|
122 |
||
123 |
static const IndustryTileTable * const _tile_table_power_station[] = { |
|
124 |
_tile_table_power_station_0, |
|
125 |
_tile_table_power_station_1, |
|
126 |
_tile_table_power_station_2, |
|
127 |
}; |
|
128 |
||
129 |
static const IndustryTileTable _tile_table_sawmill_0[] = { |
|
130 |
MK(1,0, 14), |
|
131 |
MK(1,1, 12), |
|
132 |
MK(1,2, 11), |
|
133 |
MK(2,0, 14), |
|
134 |
MK(2,1, 13), |
|
135 |
MK(0,0, 15), |
|
136 |
MK(0,1, 15), |
|
137 |
MK(0,2, 12), |
|
138 |
MKEND |
|
139 |
}; |
|
140 |
||
141 |
static const IndustryTileTable _tile_table_sawmill_1[] = { |
|
142 |
MK(0,0, 15), |
|
143 |
MK(0,1, 11), |
|
144 |
MK(0,2, 14), |
|
145 |
MK(1,0, 15), |
|
146 |
MK(1,1, 13), |
|
147 |
MK(1,2, 12), |
|
148 |
MK(2,0, 11), |
|
149 |
MK(2,1, 13), |
|
150 |
MKEND |
|
151 |
}; |
|
152 |
||
153 |
static const IndustryTileTable * const _tile_table_sawmill[] = { |
|
154 |
_tile_table_sawmill_0, |
|
155 |
_tile_table_sawmill_1, |
|
156 |
}; |
|
157 |
||
158 |
static const IndustryTileTable _tile_table_forest_0[] = { |
|
159 |
MK(0,0, 16), |
|
160 |
MK(0,1, 16), |
|
161 |
MK(0,2, 16), |
|
162 |
MK(0,3, 16), |
|
163 |
MK(1,0, 16), |
|
164 |
MK(1,1, 16), |
|
165 |
MK(1,2, 16), |
|
166 |
MK(1,3, 16), |
|
167 |
MK(2,0, 16), |
|
168 |
MK(2,1, 16), |
|
169 |
MK(2,2, 16), |
|
170 |
MK(2,3, 16), |
|
171 |
MK(3,0, 16), |
|
172 |
MK(3,1, 16), |
|
173 |
MK(3,2, 16), |
|
174 |
MK(3,3, 16), |
|
175 |
MK(1,4, 16), |
|
176 |
MK(2,4, 16), |
|
177 |
MKEND |
|
178 |
}; |
|
179 |
||
180 |
static const IndustryTileTable _tile_table_forest_1[] = { |
|
181 |
MK(0,0, 16), |
|
182 |
MK(1,0, 16), |
|
183 |
MK(2,0, 16), |
|
184 |
MK(3,0, 16), |
|
185 |
MK(4,0, 16), |
|
186 |
MK(0,1, 16), |
|
187 |
MK(1,1, 16), |
|
188 |
MK(2,1, 16), |
|
189 |
MK(3,1, 16), |
|
190 |
MK(4,1, 16), |
|
191 |
MK(0,2, 16), |
|
192 |
MK(1,2, 16), |
|
193 |
MK(2,2, 16), |
|
194 |
MK(3,2, 16), |
|
195 |
MK(4,2, 16), |
|
196 |
MK(0,3, 16), |
|
197 |
MK(1,3, 16), |
|
198 |
MK(2,3, 16), |
|
199 |
MK(3,3, 16), |
|
200 |
MK(4,3, 16), |
|
201 |
MK(1,4, 16), |
|
202 |
MK(2,4, 16), |
|
203 |
MK(3,4, 16), |
|
204 |
MKEND |
|
205 |
}; |
|
206 |
||
207 |
static const IndustryTileTable * const _tile_table_forest[] = { |
|
208 |
_tile_table_forest_0, |
|
209 |
_tile_table_forest_1, |
|
210 |
}; |
|
211 |
||
212 |
static const IndustryTileTable _tile_table_oil_refinery_0[] = { |
|
213 |
MK(0,0, 20), |
|
214 |
MK(0,1, 21), |
|
215 |
MK(0,2, 22), |
|
216 |
MK(0,3, 21), |
|
217 |
MK(1,0, 20), |
|
218 |
MK(1,1, 19), |
|
219 |
MK(1,2, 22), |
|
220 |
MK(1,3, 20), |
|
221 |
MK(2,1, 18), |
|
222 |
MK(2,2, 18), |
|
223 |
MK(2,3, 18), |
|
224 |
MK(3,2, 18), |
|
225 |
MK(3,3, 18), |
|
226 |
MK(2,0, 23), |
|
227 |
MK(3,1, 23), |
|
228 |
MKEND |
|
229 |
}; |
|
230 |
||
231 |
static const IndustryTileTable _tile_table_oil_refinery_1[] = { |
|
232 |
MK(0,0, 18), |
|
233 |
MK(0,1, 18), |
|
234 |
MK(0,2, 21), |
|
235 |
MK(0,3, 22), |
|
236 |
MK(0,4, 20), |
|
237 |
MK(1,0, 18), |
|
238 |
MK(1,1, 18), |
|
239 |
MK(1,2, 19), |
|
240 |
MK(1,3, 20), |
|
241 |
MK(2,0, 18), |
|
242 |
MK(2,1, 18), |
|
243 |
MK(2,2, 19), |
|
244 |
MK(2,3, 22), |
|
245 |
MK(1,4, 23), |
|
246 |
MK(2,4, 23), |
|
247 |
MKEND |
|
248 |
}; |
|
249 |
||
250 |
static const IndustryTileTable * const _tile_table_oil_refinery[] = { |
|
251 |
_tile_table_oil_refinery_0, |
|
252 |
_tile_table_oil_refinery_1, |
|
253 |
}; |
|
254 |
||
255 |
static const IndustryTileTable _tile_table_oil_rig_0[] = { |
|
256 |
MK(0,0, 24), |
|
257 |
MK(0,1, 24), |
|
258 |
MK(0,2, 25), |
|
259 |
MK(1,0, 26), |
|
260 |
MK(1,1, 27), |
|
261 |
MK(1,2, 28), |
|
262 |
MK(-4,-5, 255), |
|
263 |
MK(-4,-4, 255), |
|
264 |
MK(-4,-3, 255), |
|
265 |
MK(-4,-2, 255), |
|
266 |
MK(-4,-1, 255), |
|
267 |
MK(-4,0, 255), |
|
268 |
MK(-4,1, 255), |
|
269 |
MK(-4,2, 255), |
|
270 |
MK(-4,3, 255), |
|
271 |
MK(-4,4, 255), |
|
272 |
MK(-4,5, 255), |
|
273 |
MK(-3,5, 255), |
|
274 |
MK(-2,5, 255), |
|
275 |
MK(-1,5, 255), |
|
276 |
MK(0,6, 255), |
|
277 |
MK(1,6, 255), |
|
278 |
MK(2,6, 255), |
|
279 |
MK(3,6, 255), |
|
280 |
MK(4,6, 255), |
|
281 |
MK(5,6, 255), |
|
282 |
MK(5,5, 255), |
|
283 |
MK(5,4, 255), |
|
284 |
MK(5,3, 255), |
|
285 |
MK(5,2, 255), |
|
286 |
MK(5,1, 255), |
|
287 |
MK(5,0, 255), |
|
288 |
MK(5,-1, 255), |
|
289 |
MK(5,-2, 255), |
|
290 |
MK(5,-3, 255), |
|
291 |
MK(5,-4, 255), |
|
292 |
MK(4,-4, 255), |
|
293 |
MK(3,-4, 255), |
|
294 |
MK(2,-4, 255), |
|
295 |
MK(1,-4, 255), |
|
296 |
MK(0,-4, 255), |
|
297 |
MK(-1,-5, 255), |
|
298 |
MK(-2,-5, 255), |
|
299 |
MK(-3,-5, 255), |
|
300 |
MK(2,0, 255), |
|
301 |
MKEND |
|
302 |
}; |
|
303 |
||
304 |
static const IndustryTileTable * const _tile_table_oil_rig[] = { |
|
305 |
_tile_table_oil_rig_0, |
|
306 |
}; |
|
307 |
||
308 |
static const IndustryTileTable _tile_table_factory_0[] = { |
|
309 |
MK(0,0, 39), |
|
310 |
MK(0,1, 40), |
|
311 |
MK(1,0, 41), |
|
312 |
MK(1,1, 42), |
|
313 |
MK(0,2, 39), |
|
314 |
MK(0,3, 40), |
|
315 |
MK(1,2, 41), |
|
316 |
MK(1,3, 42), |
|
317 |
MK(2,1, 39), |
|
318 |
MK(2,2, 40), |
|
319 |
MK(3,1, 41), |
|
320 |
MK(3,2, 42), |
|
321 |
MKEND |
|
322 |
}; |
|
323 |
||
324 |
static const IndustryTileTable _tile_table_factory_1[] = { |
|
325 |
MK(0,0, 39), |
|
326 |
MK(0,1, 40), |
|
327 |
MK(1,0, 41), |
|
328 |
MK(1,1, 42), |
|
329 |
MK(2,0, 39), |
|
330 |
MK(2,1, 40), |
|
331 |
MK(3,0, 41), |
|
332 |
MK(3,1, 42), |
|
333 |
MK(1,2, 39), |
|
334 |
MK(1,3, 40), |
|
335 |
MK(2,2, 41), |
|
336 |
MK(2,3, 42), |
|
337 |
MKEND |
|
338 |
}; |
|
339 |
||
340 |
static const IndustryTileTable * const _tile_table_factory[] = { |
|
341 |
_tile_table_factory_0, |
|
342 |
_tile_table_factory_1, |
|
343 |
}; |
|
344 |
||
345 |
static const IndustryTileTable _tile_table_printing_works_0[] = { |
|
346 |
MK(0,0, 43), |
|
347 |
MK(0,1, 44), |
|
348 |
MK(1,0, 45), |
|
349 |
MK(1,1, 46), |
|
350 |
MK(0,2, 43), |
|
351 |
MK(0,3, 44), |
|
352 |
MK(1,2, 45), |
|
353 |
MK(1,3, 46), |
|
354 |
MK(2,1, 43), |
|
355 |
MK(2,2, 44), |
|
356 |
MK(3,1, 45), |
|
357 |
MK(3,2, 46), |
|
358 |
MKEND |
|
359 |
}; |
|
360 |
||
361 |
static const IndustryTileTable _tile_table_printing_works_1[] = { |
|
362 |
MK(0,0, 43), |
|
363 |
MK(0,1, 44), |
|
364 |
MK(1,0, 45), |
|
365 |
MK(1,1, 46), |
|
366 |
MK(2,0, 43), |
|
367 |
MK(2,1, 44), |
|
368 |
MK(3,0, 45), |
|
369 |
MK(3,1, 46), |
|
370 |
MK(1,2, 43), |
|
371 |
MK(1,3, 44), |
|
372 |
MK(2,2, 45), |
|
373 |
MK(2,3, 46), |
|
374 |
MKEND |
|
375 |
}; |
|
376 |
||
377 |
static const IndustryTileTable * const _tile_table_printing_works[] = { |
|
378 |
_tile_table_printing_works_0, |
|
379 |
_tile_table_printing_works_1, |
|
380 |
}; |
|
381 |
||
382 |
static const IndustryTileTable _tile_table_steel_mill_0[] = { |
|
383 |
MK(2,1, 52), |
|
384 |
MK(2,2, 53), |
|
385 |
MK(3,1, 54), |
|
386 |
MK(3,2, 55), |
|
387 |
MK(0,0, 56), |
|
388 |
MK(1,0, 57), |
|
389 |
MK(0,1, 56), |
|
390 |
MK(1,1, 57), |
|
391 |
MK(0,2, 56), |
|
392 |
MK(1,2, 57), |
|
393 |
MK(2,0, 56), |
|
394 |
MK(3,0, 57), |
|
395 |
MKEND |
|
396 |
}; |
|
397 |
||
398 |
static const IndustryTileTable _tile_table_steel_mill_1[] = { |
|
399 |
MK(0,0, 52), |
|
400 |
MK(0,1, 53), |
|
401 |
MK(1,0, 54), |
|
402 |
MK(1,1, 55), |
|
403 |
MK(2,0, 52), |
|
404 |
MK(2,1, 53), |
|
405 |
MK(3,0, 54), |
|
406 |
MK(3,1, 55), |
|
407 |
MK(0,2, 56), |
|
408 |
MK(1,2, 57), |
|
409 |
MK(2,2, 56), |
|
410 |
MK(3,2, 57), |
|
411 |
MK(1,3, 56), |
|
412 |
MK(2,3, 57), |
|
413 |
MKEND |
|
414 |
}; |
|
415 |
||
416 |
static const IndustryTileTable * const _tile_table_steel_mill[] = { |
|
417 |
_tile_table_steel_mill_0, |
|
418 |
_tile_table_steel_mill_1, |
|
419 |
}; |
|
420 |
||
421 |
static const IndustryTileTable _tile_table_farm_0[] = { |
|
422 |
MK(1,0, 33), |
|
423 |
MK(1,1, 34), |
|
424 |
MK(1,2, 36), |
|
425 |
MK(0,0, 37), |
|
426 |
MK(0,1, 37), |
|
427 |
MK(0,2, 36), |
|
428 |
MK(2,0, 35), |
|
429 |
MK(2,1, 38), |
|
430 |
MK(2,2, 38), |
|
431 |
MKEND |
|
432 |
}; |
|
433 |
||
434 |
static const IndustryTileTable _tile_table_farm_1[] = { |
|
435 |
MK(1,1, 33), |
|
436 |
MK(1,2, 34), |
|
437 |
MK(0,0, 35), |
|
438 |
MK(0,1, 36), |
|
439 |
MK(0,2, 36), |
|
440 |
MK(0,3, 35), |
|
441 |
MK(1,0, 37), |
|
442 |
MK(1,3, 38), |
|
443 |
MK(2,0, 37), |
|
444 |
MK(2,1, 37), |
|
445 |
MK(2,2, 38), |
|
446 |
MK(2,3, 38), |
|
447 |
MKEND |
|
448 |
}; |
|
449 |
||
450 |
static const IndustryTileTable _tile_table_farm_2[] = { |
|
451 |
MK(2,0, 33), |
|
452 |
MK(2,1, 34), |
|
453 |
MK(0,0, 36), |
|
454 |
MK(0,1, 36), |
|
455 |
MK(0,2, 37), |
|
456 |
MK(0,3, 37), |
|
457 |
MK(1,0, 35), |
|
458 |
MK(1,1, 38), |
|
459 |
MK(1,2, 38), |
|
460 |
MK(1,3, 37), |
|
461 |
MK(2,2, 37), |
|
462 |
MK(2,3, 35), |
|
463 |
MKEND |
|
464 |
}; |
|
465 |
||
466 |
static const IndustryTileTable * const _tile_table_farm[] = { |
|
467 |
_tile_table_farm_0, |
|
468 |
_tile_table_farm_1, |
|
469 |
_tile_table_farm_2, |
|
470 |
}; |
|
471 |
||
472 |
static const IndustryTileTable _tile_table_copper_mine_0[] = { |
|
473 |
MK(0,0, 47), |
|
474 |
MK(0,1, 49), |
|
475 |
MK(0,2, 51), |
|
476 |
MK(1,0, 47), |
|
477 |
MK(1,1, 49), |
|
478 |
MK(1,2, 50), |
|
479 |
MK(2,0, 51), |
|
480 |
MK(2,1, 51), |
|
481 |
MKEND |
|
482 |
}; |
|
483 |
||
484 |
static const IndustryTileTable _tile_table_copper_mine_1[] = { |
|
485 |
MK(0,0, 50), |
|
486 |
MK(0,1, 47), |
|
487 |
MK(0,2, 49), |
|
488 |
MK(1,0, 47), |
|
489 |
MK(1,1, 49), |
|
490 |
MK(1,2, 51), |
|
491 |
MK(2,0, 51), |
|
492 |
MK(2,1, 47), |
|
493 |
MK(2,2, 49), |
|
494 |
MKEND |
|
495 |
}; |
|
496 |
||
497 |
static const IndustryTileTable * const _tile_table_copper_mine[] = { |
|
498 |
_tile_table_copper_mine_0, |
|
499 |
_tile_table_copper_mine_1, |
|
500 |
}; |
|
501 |
||
502 |
static const IndustryTileTable _tile_table_oil_well_0[] = { |
|
503 |
MK(0,0, 29), |
|
504 |
MK(1,0, 29), |
|
505 |
MK(2,0, 29), |
|
506 |
MK(0,1, 29), |
|
507 |
MK(0,2, 29), |
|
508 |
MKEND |
|
509 |
}; |
|
510 |
||
511 |
static const IndustryTileTable _tile_table_oil_well_1[] = { |
|
512 |
MK(0,0, 29), |
|
513 |
MK(1,0, 29), |
|
514 |
MK(1,1, 29), |
|
515 |
MK(2,2, 29), |
|
516 |
MK(2,3, 29), |
|
517 |
MKEND |
|
518 |
}; |
|
519 |
||
520 |
static const IndustryTileTable * const _tile_table_oil_well[] = { |
|
521 |
_tile_table_oil_well_0, |
|
522 |
_tile_table_oil_well_1, |
|
523 |
}; |
|
524 |
||
525 |
static const IndustryTileTable _tile_table_bank_0[] = { |
|
526 |
MK(0,0, 58), |
|
527 |
MK(1,0, 59), |
|
528 |
MKEND |
|
529 |
}; |
|
530 |
||
531 |
static const IndustryTileTable * const _tile_table_bank[] = { |
|
532 |
_tile_table_bank_0, |
|
533 |
}; |
|
534 |
||
535 |
static const IndustryTileTable _tile_table_food_process_0[] = { |
|
536 |
MK(0,0, 60), |
|
537 |
MK(1,0, 60), |
|
538 |
MK(2,0, 60), |
|
539 |
MK(0,1, 60), |
|
540 |
MK(1,1, 60), |
|
541 |
MK(2,1, 60), |
|
542 |
MK(0,2, 61), |
|
543 |
MK(1,2, 61), |
|
544 |
MK(2,2, 63), |
|
545 |
MK(0,3, 62), |
|
546 |
MK(1,3, 62), |
|
547 |
MK(2,3, 63), |
|
548 |
MKEND |
|
549 |
}; |
|
550 |
||
551 |
static const IndustryTileTable _tile_table_food_process_1[] = { |
|
552 |
MK(0,0, 61), |
|
553 |
MK(1,0, 60), |
|
554 |
MK(2,0, 61), |
|
555 |
MK(3,0, 61), |
|
556 |
MK(0,1, 62), |
|
557 |
MK(1,1, 63), |
|
558 |
MK(2,1, 63), |
|
559 |
MK(3,1, 63), |
|
560 |
MK(0,2, 60), |
|
561 |
MK(1,2, 60), |
|
562 |
MK(2,2, 60), |
|
563 |
MK(3,2, 60), |
|
564 |
MK(0,3, 62), |
|
565 |
MK(1,3, 62), |
|
566 |
MKEND |
|
567 |
}; |
|
568 |
||
569 |
static const IndustryTileTable * const _tile_table_food_process[] = { |
|
570 |
_tile_table_food_process_0, |
|
571 |
_tile_table_food_process_1, |
|
572 |
}; |
|
573 |
||
574 |
static const IndustryTileTable _tile_table_paper_mill_0[] = { |
|
575 |
MK(0,0, 64), |
|
576 |
MK(1,0, 65), |
|
577 |
MK(2,0, 66), |
|
578 |
MK(3,0, 67), |
|
579 |
MK(0,1, 68), |
|
580 |
MK(1,1, 69), |
|
581 |
MK(2,1, 67), |
|
582 |
MK(3,1, 67), |
|
583 |
MK(0,2, 66), |
|
584 |
MK(1,2, 71), |
|
585 |
MK(2,2, 71), |
|
586 |
MK(3,2, 70), |
|
587 |
MKEND |
|
588 |
}; |
|
589 |
||
590 |
static const IndustryTileTable * const _tile_table_paper_mill[] = { |
|
591 |
_tile_table_paper_mill_0, |
|
592 |
}; |
|
593 |
||
594 |
static const IndustryTileTable _tile_table_gold_mine_0[] = { |
|
595 |
MK(0,0, 72), |
|
596 |
MK(0,1, 73), |
|
597 |
MK(0,2, 74), |
|
598 |
MK(0,3, 75), |
|
599 |
MK(1,0, 76), |
|
600 |
MK(1,1, 77), |
|
601 |
MK(1,2, 78), |
|
602 |
MK(1,3, 79), |
|
603 |
MK(2,0, 80), |
|
604 |
MK(2,1, 81), |
|
605 |
MK(2,2, 82), |
|
606 |
MK(2,3, 83), |
|
607 |
MK(3,0, 84), |
|
608 |
MK(3,1, 85), |
|
609 |
MK(3,2, 86), |
|
610 |
MK(3,3, 87), |
|
611 |
MKEND |
|
612 |
}; |
|
613 |
||
614 |
static const IndustryTileTable * const _tile_table_gold_mine[] = { |
|
615 |
_tile_table_gold_mine_0, |
|
616 |
}; |
|
617 |
||
618 |
static const IndustryTileTable _tile_table_bank2_0[] = { |
|
619 |
MK(0,0, 89), |
|
620 |
MK(1,0, 90), |
|
621 |
MKEND |
|
622 |
}; |
|
623 |
||
624 |
static const IndustryTileTable * const _tile_table_bank2[] = { |
|
625 |
_tile_table_bank2_0, |
|
626 |
}; |
|
627 |
||
628 |
static const IndustryTileTable _tile_table_diamond_mine_0[] = { |
|
629 |
MK(0,0, 91), |
|
630 |
MK(0,1, 92), |
|
631 |
MK(0,2, 93), |
|
632 |
MK(1,0, 94), |
|
633 |
MK(1,1, 95), |
|
634 |
MK(1,2, 96), |
|
635 |
MK(2,0, 97), |
|
636 |
MK(2,1, 98), |
|
637 |
MK(2,2, 99), |
|
638 |
MKEND |
|
639 |
}; |
|
640 |
||
641 |
static const IndustryTileTable * const _tile_table_diamond_mine[] = { |
|
642 |
_tile_table_diamond_mine_0, |
|
643 |
}; |
|
644 |
||
645 |
static const IndustryTileTable _tile_table_iron_mine_0[] = { |
|
646 |
MK(0,0, 100), |
|
647 |
MK(0,1, 101), |
|
648 |
MK(0,2, 102), |
|
649 |
MK(0,3, 103), |
|
650 |
MK(1,0, 104), |
|
651 |
MK(1,1, 105), |
|
652 |
MK(1,2, 106), |
|
653 |
MK(1,3, 107), |
|
654 |
MK(2,0, 108), |
|
655 |
MK(2,1, 109), |
|
656 |
MK(2,2, 110), |
|
657 |
MK(2,3, 111), |
|
658 |
MK(3,0, 112), |
|
659 |
MK(3,1, 113), |
|
660 |
MK(3,2, 114), |
|
661 |
MK(3,3, 115), |
|
662 |
MKEND |
|
663 |
}; |
|
664 |
||
665 |
static const IndustryTileTable * const _tile_table_iron_mine[] = { |
|
666 |
_tile_table_iron_mine_0, |
|
667 |
}; |
|
668 |
||
669 |
static const IndustryTileTable _tile_table_fruit_plantation_0[] = { |
|
670 |
MK(0,0, 116), |
|
671 |
MK(0,1, 116), |
|
672 |
MK(0,2, 116), |
|
673 |
MK(0,3, 116), |
|
674 |
MK(1,0, 116), |
|
675 |
MK(1,1, 116), |
|
676 |
MK(1,2, 116), |
|
677 |
MK(1,3, 116), |
|
678 |
MK(2,0, 116), |
|
679 |
MK(2,1, 116), |
|
680 |
MK(2,2, 116), |
|
681 |
MK(2,3, 116), |
|
682 |
MK(3,0, 116), |
|
683 |
MK(3,1, 116), |
|
684 |
MK(3,2, 116), |
|
685 |
MK(3,3, 116), |
|
686 |
MK(4,0, 116), |
|
687 |
MK(4,1, 116), |
|
688 |
MK(4,2, 116), |
|
689 |
MK(4,3, 116), |
|
690 |
MKEND |
|
691 |
}; |
|
692 |
||
693 |
static const IndustryTileTable * const _tile_table_fruit_plantation[] = { |
|
694 |
_tile_table_fruit_plantation_0, |
|
695 |
}; |
|
696 |
||
697 |
static const IndustryTileTable _tile_table_rubber_plantation_0[] = { |
|
698 |
MK(0,0, 117), |
|
699 |
MK(0,1, 117), |
|
700 |
MK(0,2, 117), |
|
701 |
MK(0,3, 117), |
|
702 |
MK(1,0, 117), |
|
703 |
MK(1,1, 117), |
|
704 |
MK(1,2, 117), |
|
705 |
MK(1,3, 117), |
|
706 |
MK(2,0, 117), |
|
707 |
MK(2,1, 117), |
|
708 |
MK(2,2, 117), |
|
709 |
MK(2,3, 117), |
|
710 |
MK(3,0, 117), |
|
711 |
MK(3,1, 117), |
|
712 |
MK(3,2, 117), |
|
713 |
MK(3,3, 117), |
|
714 |
MK(4,0, 117), |
|
715 |
MK(4,1, 117), |
|
716 |
MK(4,2, 117), |
|
717 |
MK(4,3, 117), |
|
718 |
MKEND |
|
719 |
}; |
|
720 |
||
721 |
static const IndustryTileTable * const _tile_table_rubber_plantation[] = { |
|
722 |
_tile_table_rubber_plantation_0, |
|
723 |
}; |
|
724 |
||
725 |
static const IndustryTileTable _tile_table_water_supply_0[] = { |
|
726 |
MK(0,0, 118), |
|
727 |
MK(0,1, 119), |
|
728 |
MK(1,0, 118), |
|
729 |
MK(1,1, 119), |
|
730 |
MKEND |
|
731 |
}; |
|
732 |
||
733 |
static const IndustryTileTable * const _tile_table_water_supply[] = { |
|
734 |
_tile_table_water_supply_0, |
|
735 |
}; |
|
736 |
||
737 |
static const IndustryTileTable _tile_table_water_tower_0[] = { |
|
738 |
MK(0,0, 120), |
|
739 |
MKEND |
|
740 |
}; |
|
741 |
||
742 |
static const IndustryTileTable * const _tile_table_water_tower[] = { |
|
743 |
_tile_table_water_tower_0, |
|
744 |
}; |
|
745 |
||
746 |
static const IndustryTileTable _tile_table_factory2_0[] = { |
|
747 |
MK(0,0, 121), |
|
748 |
MK(0,1, 122), |
|
749 |
MK(1,0, 123), |
|
750 |
MK(1,1, 124), |
|
751 |
MK(0,2, 121), |
|
752 |
MK(0,3, 122), |
|
753 |
MK(1,2, 123), |
|
754 |
MK(1,3, 124), |
|
755 |
MKEND |
|
756 |
}; |
|
757 |
||
758 |
static const IndustryTileTable _tile_table_factory2_1[] = { |
|
759 |
MK(0,0, 121), |
|
760 |
MK(0,1, 122), |
|
761 |
MK(1,0, 123), |
|
762 |
MK(1,1, 124), |
|
763 |
MK(2,0, 121), |
|
764 |
MK(2,1, 122), |
|
765 |
MK(3,0, 123), |
|
766 |
MK(3,1, 124), |
|
767 |
MKEND |
|
768 |
}; |
|
769 |
||
770 |
static const IndustryTileTable * const _tile_table_factory2[] = { |
|
771 |
_tile_table_factory2_0, |
|
772 |
_tile_table_factory2_1, |
|
773 |
}; |
|
774 |
||
775 |
static const IndustryTileTable _tile_table_farm2_0[] = { |
|
776 |
MK(1,0, 33), |
|
777 |
MK(1,1, 34), |
|
778 |
MK(1,2, 36), |
|
779 |
MK(0,0, 37), |
|
780 |
MK(0,1, 37), |
|
781 |
MK(0,2, 36), |
|
782 |
MK(2,0, 35), |
|
783 |
MK(2,1, 38), |
|
784 |
MK(2,2, 38), |
|
785 |
MKEND |
|
786 |
}; |
|
787 |
||
788 |
static const IndustryTileTable _tile_table_farm2_1[] = { |
|
789 |
MK(1,1, 33), |
|
790 |
MK(1,2, 34), |
|
791 |
MK(0,0, 35), |
|
792 |
MK(0,1, 36), |
|
793 |
MK(0,2, 36), |
|
794 |
MK(0,3, 35), |
|
795 |
MK(1,0, 37), |
|
796 |
MK(1,3, 38), |
|
797 |
MK(2,0, 37), |
|
798 |
MK(2,1, 37), |
|
799 |
MK(2,2, 38), |
|
800 |
MK(2,3, 38), |
|
801 |
MKEND |
|
802 |
}; |
|
803 |
||
804 |
static const IndustryTileTable _tile_table_farm2_2[] = { |
|
805 |
MK(2,0, 33), |
|
806 |
MK(2,1, 34), |
|
807 |
MK(0,0, 36), |
|
808 |
MK(0,1, 36), |
|
809 |
MK(0,2, 37), |
|
810 |
MK(0,3, 37), |
|
811 |
MK(1,0, 35), |
|
812 |
MK(1,1, 38), |
|
813 |
MK(1,2, 38), |
|
814 |
MK(1,3, 37), |
|
815 |
MK(2,2, 37), |
|
816 |
MK(2,3, 35), |
|
817 |
MKEND |
|
818 |
}; |
|
819 |
||
820 |
static const IndustryTileTable * const _tile_table_farm2[] = { |
|
821 |
_tile_table_farm2_0, |
|
822 |
_tile_table_farm2_1, |
|
823 |
_tile_table_farm2_2, |
|
824 |
}; |
|
825 |
||
826 |
static const IndustryTileTable _tile_table_lumber_mill_0[] = { |
|
827 |
MK(0,0, 125), |
|
828 |
MK(0,1, 126), |
|
829 |
MK(1,0, 127), |
|
830 |
MK(1,1, 128), |
|
831 |
MKEND |
|
832 |
}; |
|
833 |
||
834 |
static const IndustryTileTable * const _tile_table_lumber_mill[] = { |
|
835 |
_tile_table_lumber_mill_0, |
|
836 |
}; |
|
837 |
||
838 |
static const IndustryTileTable _tile_table_cotton_candy_0[] = { |
|
839 |
MK(0,0, 129), |
|
840 |
MK(0,1, 129), |
|
841 |
MK(0,2, 129), |
|
842 |
MK(0,3, 129), |
|
843 |
MK(1,0, 129), |
|
844 |
MK(1,1, 129), |
|
845 |
MK(1,2, 129), |
|
846 |
MK(1,3, 129), |
|
847 |
MK(2,0, 129), |
|
848 |
MK(2,1, 129), |
|
849 |
MK(2,2, 129), |
|
850 |
MK(2,3, 129), |
|
851 |
MK(3,0, 129), |
|
852 |
MK(3,1, 129), |
|
853 |
MK(3,2, 129), |
|
854 |
MK(3,3, 129), |
|
855 |
MK(1,4, 129), |
|
856 |
MK(2,4, 129), |
|
857 |
MKEND |
|
858 |
}; |
|
859 |
||
860 |
static const IndustryTileTable _tile_table_cotton_candy_1[] = { |
|
861 |
MK(0,0, 129), |
|
862 |
MK(1,0, 129), |
|
863 |
MK(2,0, 129), |
|
864 |
MK(3,0, 129), |
|
865 |
MK(4,0, 129), |
|
866 |
MK(0,1, 129), |
|
867 |
MK(1,1, 129), |
|
868 |
MK(2,1, 129), |
|
869 |
MK(3,1, 129), |
|
870 |
MK(4,1, 129), |
|
871 |
MK(0,2, 129), |
|
872 |
MK(1,2, 129), |
|
873 |
MK(2,2, 129), |
|
874 |
MK(3,2, 129), |
|
875 |
MK(4,2, 129), |
|
876 |
MK(0,3, 129), |
|
877 |
MK(1,3, 129), |
|
878 |
MK(2,3, 129), |
|
879 |
MK(3,3, 129), |
|
880 |
MK(4,3, 129), |
|
881 |
MK(1,4, 129), |
|
882 |
MK(2,4, 129), |
|
883 |
MK(3,4, 129), |
|
884 |
MKEND |
|
885 |
}; |
|
886 |
||
887 |
static const IndustryTileTable * const _tile_table_cotton_candy[] = { |
|
888 |
_tile_table_cotton_candy_0, |
|
889 |
_tile_table_cotton_candy_1, |
|
890 |
}; |
|
891 |
||
892 |
static const IndustryTileTable _tile_table_candy_factory_0[] = { |
|
893 |
MK(0,0, 131), |
|
894 |
MK(0,1, 132), |
|
895 |
MK(1,0, 133), |
|
896 |
MK(1,1, 134), |
|
897 |
MK(0,2, 131), |
|
898 |
MK(0,3, 132), |
|
899 |
MK(1,2, 133), |
|
900 |
MK(1,3, 134), |
|
901 |
MK(2,1, 131), |
|
902 |
MK(2,2, 132), |
|
903 |
MK(3,1, 133), |
|
904 |
MK(3,2, 134), |
|
905 |
MKEND |
|
906 |
}; |
|
907 |
||
908 |
static const IndustryTileTable _tile_table_candy_factory_1[] = { |
|
909 |
MK(0,0, 131), |
|
910 |
MK(0,1, 132), |
|
911 |
MK(1,0, 133), |
|
912 |
MK(1,1, 134), |
|
913 |
MK(2,0, 131), |
|
914 |
MK(2,1, 132), |
|
915 |
MK(3,0, 133), |
|
916 |
MK(3,1, 134), |
|
917 |
MK(1,2, 131), |
|
918 |
MK(1,3, 132), |
|
919 |
MK(2,2, 133), |
|
920 |
MK(2,3, 134), |
|
921 |
MKEND |
|
922 |
}; |
|
923 |
||
924 |
static const IndustryTileTable * const _tile_table_candy_factory[] = { |
|
925 |
_tile_table_candy_factory_0, |
|
926 |
_tile_table_candy_factory_1, |
|
927 |
}; |
|
928 |
||
929 |
static const IndustryTileTable _tile_table_battery_farm_0[] = { |
|
930 |
MK(0,0, 135), |
|
931 |
MK(0,1, 135), |
|
932 |
MK(0,2, 135), |
|
933 |
MK(0,3, 135), |
|
934 |
MK(1,0, 135), |
|
935 |
MK(1,1, 135), |
|
936 |
MK(1,2, 135), |
|
937 |
MK(1,3, 135), |
|
938 |
MK(2,0, 135), |
|
939 |
MK(2,1, 135), |
|
940 |
MK(2,2, 135), |
|
941 |
MK(2,3, 135), |
|
942 |
MK(3,0, 135), |
|
943 |
MK(3,1, 135), |
|
944 |
MK(3,2, 135), |
|
945 |
MK(3,3, 135), |
|
946 |
MK(4,0, 135), |
|
947 |
MK(4,1, 135), |
|
948 |
MK(4,2, 135), |
|
949 |
MK(4,3, 135), |
|
950 |
MKEND |
|
951 |
}; |
|
952 |
||
953 |
static const IndustryTileTable * const _tile_table_battery_farm[] = { |
|
954 |
_tile_table_battery_farm_0, |
|
955 |
}; |
|
956 |
||
957 |
static const IndustryTileTable _tile_table_cola_wells_0[] = { |
|
958 |
MK(0,0, 137), |
|
959 |
MK(0,1, 137), |
|
960 |
MK(0,2, 137), |
|
961 |
MK(1,0, 137), |
|
962 |
MK(1,1, 137), |
|
963 |
MK(1,2, 137), |
|
964 |
MK(2,1, 137), |
|
965 |
MK(2,2, 137), |
|
966 |
MKEND |
|
967 |
}; |
|
968 |
||
969 |
static const IndustryTileTable _tile_table_cola_wells_1[] = { |
|
970 |
MK(0,1, 137), |
|
971 |
MK(0,2, 137), |
|
972 |
MK(0,3, 137), |
|
973 |
MK(1,0, 137), |
|
974 |
MK(1,1, 137), |
|
975 |
MK(1,2, 137), |
|
976 |
MK(2,1, 137), |
|
977 |
MKEND |
|
978 |
}; |
|
979 |
||
980 |
static const IndustryTileTable * const _tile_table_cola_wells[] = { |
|
981 |
_tile_table_cola_wells_0, |
|
982 |
_tile_table_cola_wells_1, |
|
983 |
}; |
|
984 |
||
985 |
static const IndustryTileTable _tile_table_toy_shop_0[] = { |
|
986 |
MK(0,0, 138), |
|
987 |
MK(0,1, 139), |
|
988 |
MK(1,0, 140), |
|
989 |
MK(1,1, 141), |
|
990 |
MKEND |
|
991 |
}; |
|
992 |
||
993 |
static const IndustryTileTable * const _tile_table_toy_shop[] = { |
|
994 |
_tile_table_toy_shop_0, |
|
995 |
}; |
|
996 |
||
997 |
static const IndustryTileTable _tile_table_toy_factory_0[] = { |
|
998 |
MK(0,0, 147), |
|
999 |
MK(0,1, 142), |
|
1000 |
MK(1,0, 147), |
|
1001 |
MK(1,1, 143), |
|
1002 |
MK(2,0, 147), |
|
1003 |
MK(2,1, 144), |
|
1004 |
MK(3,0, 146), |
|
1005 |
MK(3,1, 145), |
|
1006 |
MKEND |
|
1007 |
}; |
|
1008 |
||
1009 |
static const IndustryTileTable * const _tile_table_toy_factory[] = { |
|
1010 |
_tile_table_toy_factory_0, |
|
1011 |
}; |
|
1012 |
||
1013 |
static const IndustryTileTable _tile_table_plastic_fountain_0[] = { |
|
1014 |
MK(0,0, 148), |
|
1015 |
MK(0,1, 151), |
|
1016 |
MK(0,2, 154), |
|
1017 |
MKEND |
|
1018 |
}; |
|
1019 |
||
1020 |
static const IndustryTileTable _tile_table_plastic_fountain_1[] = { |
|
1021 |
MK(0,0, 148), |
|
1022 |
MK(1,0, 151), |
|
1023 |
MK(2,0, 154), |
|
1024 |
MKEND |
|
1025 |
}; |
|
1026 |
||
1027 |
static const IndustryTileTable * const _tile_table_plastic_fountain[] = { |
|
1028 |
_tile_table_plastic_fountain_0, |
|
1029 |
_tile_table_plastic_fountain_1, |
|
1030 |
}; |
|
1031 |
||
1032 |
static const IndustryTileTable _tile_table_fizzy_drink_0[] = { |
|
1033 |
MK(0,0, 156), |
|
1034 |
MK(0,1, 157), |
|
1035 |
MK(1,0, 158), |
|
1036 |
MK(1,1, 159), |
|
1037 |
MKEND |
|
1038 |
}; |
|
1039 |
||
1040 |
static const IndustryTileTable * const _tile_table_fizzy_drink[] = { |
|
1041 |
_tile_table_fizzy_drink_0, |
|
1042 |
}; |
|
1043 |
||
1044 |
static const IndustryTileTable _tile_table_bubble_generator_0[] = { |
|
1045 |
MK(0,0, 163), |
|
1046 |
MK(0,1, 160), |
|
1047 |
MK(1,0, 163), |
|
1048 |
MK(1,1, 161), |
|
1049 |
MK(2,0, 163), |
|
1050 |
MK(2,1, 162), |
|
1051 |
MK(0,2, 163), |
|
1052 |
MK(0,3, 160), |
|
1053 |
MK(1,2, 163), |
|
1054 |
MK(1,3, 161), |
|
1055 |
MK(2,2, 163), |
|
1056 |
MK(2,3, 162), |
|
1057 |
MKEND |
|
1058 |
}; |
|
1059 |
||
1060 |
static const IndustryTileTable * const _tile_table_bubble_generator[] = { |
|
1061 |
_tile_table_bubble_generator_0, |
|
1062 |
}; |
|
1063 |
||
1064 |
static const IndustryTileTable _tile_table_toffee_quarry_0[] = { |
|
1065 |
MK(0,0, 164), |
|
1066 |
MK(1,0, 165), |
|
1067 |
MK(2,0, 166), |
|
1068 |
MKEND |
|
1069 |
}; |
|
1070 |
||
1071 |
static const IndustryTileTable * const _tile_table_toffee_quarry[] = { |
|
1072 |
_tile_table_toffee_quarry_0, |
|
1073 |
}; |
|
1074 |
||
1075 |
static const IndustryTileTable _tile_table_sugar_mine_0[] = { |
|
1076 |
MK(0,0, 167), |
|
1077 |
MK(0,1, 168), |
|
1078 |
MK(1,0, 169), |
|
1079 |
MK(1,1, 170), |
|
1080 |
MK(2,0, 171), |
|
1081 |
MK(2,1, 172), |
|
1082 |
MK(3,0, 173), |
|
1083 |
MK(3,1, 174), |
|
1084 |
MKEND |
|
1085 |
}; |
|
1086 |
||
1087 |
static const IndustryTileTable * const _tile_table_sugar_mine[] = { |
|
1088 |
_tile_table_sugar_mine_0, |
|
1089 |
}; |
|
1090 |
||
1091 |
#undef MK |
|
1092 |
#undef MKEND |
|
1093 |
||
3663
548dfb4ad4cc
(svn r4578) CodeChange : Cleanup of industry_cmd (Step-2).
belugas
parents:
3662
diff
changeset
|
1094 |
/* Procedures that can be run to check whether an industry may |
548dfb4ad4cc
(svn r4578) CodeChange : Cleanup of industry_cmd (Step-2).
belugas
parents:
3662
diff
changeset
|
1095 |
* build at location the given to the procedure */ |
548dfb4ad4cc
(svn r4578) CodeChange : Cleanup of industry_cmd (Step-2).
belugas
parents:
3662
diff
changeset
|
1096 |
typedef enum CheckProcs { |
548dfb4ad4cc
(svn r4578) CodeChange : Cleanup of industry_cmd (Step-2).
belugas
parents:
3662
diff
changeset
|
1097 |
CHECK_NOTHING = 0, |
548dfb4ad4cc
(svn r4578) CodeChange : Cleanup of industry_cmd (Step-2).
belugas
parents:
3662
diff
changeset
|
1098 |
CHECK_FOREST = 1, |
548dfb4ad4cc
(svn r4578) CodeChange : Cleanup of industry_cmd (Step-2).
belugas
parents:
3662
diff
changeset
|
1099 |
CHECK_OIL = 2, |
548dfb4ad4cc
(svn r4578) CodeChange : Cleanup of industry_cmd (Step-2).
belugas
parents:
3662
diff
changeset
|
1100 |
CHECK_FARM = 3, |
548dfb4ad4cc
(svn r4578) CodeChange : Cleanup of industry_cmd (Step-2).
belugas
parents:
3662
diff
changeset
|
1101 |
CHECK_PLANTATION = 4, |
548dfb4ad4cc
(svn r4578) CodeChange : Cleanup of industry_cmd (Step-2).
belugas
parents:
3662
diff
changeset
|
1102 |
CHECK_WATER = 5, |
548dfb4ad4cc
(svn r4578) CodeChange : Cleanup of industry_cmd (Step-2).
belugas
parents:
3662
diff
changeset
|
1103 |
CHECK_LUMBERMILL = 6, |
548dfb4ad4cc
(svn r4578) CodeChange : Cleanup of industry_cmd (Step-2).
belugas
parents:
3662
diff
changeset
|
1104 |
CHECK_BUBBLEGEN = 7, |
548dfb4ad4cc
(svn r4578) CodeChange : Cleanup of industry_cmd (Step-2).
belugas
parents:
3662
diff
changeset
|
1105 |
CHECK_END, |
548dfb4ad4cc
(svn r4578) CodeChange : Cleanup of industry_cmd (Step-2).
belugas
parents:
3662
diff
changeset
|
1106 |
} CheckProc; |
0 | 1107 |
|
3669
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1108 |
#define MK(tbl, c1, c2, c3, proc, p1, r1, p2, r2, m, a1, a2, a3, s1, s2, s3) \ |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1109 |
{tbl, lengthof(tbl), {c1, c2, c3}, proc, {p1, p2}, {r1, r2}, m, \ |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1110 |
{a1, a2, a3}, s1, s2, s3} |
3663
548dfb4ad4cc
(svn r4578) CodeChange : Cleanup of industry_cmd (Step-2).
belugas
parents:
3662
diff
changeset
|
1111 |
|
548dfb4ad4cc
(svn r4578) CodeChange : Cleanup of industry_cmd (Step-2).
belugas
parents:
3662
diff
changeset
|
1112 |
static const IndustrySpec _industry_specs[] = { |
3669
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1113 |
/* Format: |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1114 |
tile table |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1115 |
cannot be close to these industries (3 times) check proc |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1116 |
(produced cargo + rate) (twice) minimum cargo moved to station |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1117 |
3 accepted cargo |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1118 |
messages : Closure production up production down */ |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1119 |
MK(_tile_table_coal_mine, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1120 |
IT_POWER_STATION, IT_INVALID, IT_INVALID, CHECK_NOTHING, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1121 |
CT_COAL, 15, CT_INVALID, 0, 5, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1122 |
CT_INVALID, CT_INVALID, CT_INVALID, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1123 |
STR_4832_ANNOUNCES_IMMINENT_CLOSURE, STR_4836_NEW_COAL_SEAM_FOUND_AT, STR_4839_PRODUCTION_DOWN_BY_50), |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1124 |
|
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1125 |
MK(_tile_table_power_station, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1126 |
IT_COAL_MINE, IT_INVALID, IT_INVALID, CHECK_NOTHING, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1127 |
CT_INVALID, 0, CT_INVALID, 0, 5, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1128 |
CT_COAL, CT_INVALID, CT_INVALID, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1129 |
STR_4832_ANNOUNCES_IMMINENT_CLOSURE, STR_4835_INCREASES_PRODUCTION, STR_4839_PRODUCTION_DOWN_BY_50), |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1130 |
|
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1131 |
MK(_tile_table_sawmill, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1132 |
IT_FOREST, IT_INVALID, IT_INVALID, CHECK_NOTHING, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1133 |
CT_GOODS, 0, CT_INVALID, 0, 5, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1134 |
CT_WOOD, CT_INVALID, CT_INVALID, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1135 |
STR_4833_SUPPLY_PROBLEMS_CAUSE_TO, STR_4835_INCREASES_PRODUCTION, STR_4839_PRODUCTION_DOWN_BY_50), |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1136 |
|
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1137 |
MK(_tile_table_forest, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1138 |
IT_SAWMILL, IT_PAPER_MILL, IT_INVALID, CHECK_FOREST, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1139 |
CT_WOOD, 13, CT_INVALID, 0, 30, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1140 |
CT_INVALID, CT_INVALID, CT_INVALID, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1141 |
STR_4832_ANNOUNCES_IMMINENT_CLOSURE, STR_4835_INCREASES_PRODUCTION, STR_483A_INSECT_INFESTATION_CAUSES), |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1142 |
|
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1143 |
MK(_tile_table_oil_refinery, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1144 |
IT_OIL_RIG, IT_INVALID, IT_INVALID, CHECK_OIL, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1145 |
CT_GOODS, 0, CT_INVALID, 0, 5, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1146 |
CT_OIL, CT_INVALID, CT_INVALID, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1147 |
STR_4833_SUPPLY_PROBLEMS_CAUSE_TO, STR_4835_INCREASES_PRODUCTION, STR_4839_PRODUCTION_DOWN_BY_50), |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1148 |
|
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1149 |
MK(_tile_table_oil_rig, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1150 |
IT_OIL_REFINERY, IT_INVALID, IT_INVALID, CHECK_OIL, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1151 |
CT_OIL, 15, CT_PASSENGERS, 2, 5, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1152 |
CT_INVALID, CT_INVALID, CT_INVALID, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1153 |
STR_4832_ANNOUNCES_IMMINENT_CLOSURE, STR_4837_NEW_OIL_RESERVES_FOUND, STR_4839_PRODUCTION_DOWN_BY_50), |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1154 |
|
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1155 |
MK(_tile_table_factory, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1156 |
IT_FARM, IT_STEEL_MILL, IT_INVALID, CHECK_NOTHING, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1157 |
CT_GOODS, 0, CT_INVALID, 0, 5, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1158 |
CT_LIVESTOCK, CT_GRAIN, CT_STEEL, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1159 |
STR_4833_SUPPLY_PROBLEMS_CAUSE_TO, STR_4835_INCREASES_PRODUCTION, STR_4839_PRODUCTION_DOWN_BY_50), |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1160 |
|
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1161 |
MK(_tile_table_printing_works, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1162 |
IT_PAPER_MILL, IT_INVALID, IT_INVALID, CHECK_NOTHING, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1163 |
CT_GOODS, 0, CT_INVALID, 0, 5, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1164 |
CT_PAPER, CT_INVALID, CT_INVALID, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1165 |
STR_4833_SUPPLY_PROBLEMS_CAUSE_TO, STR_4835_INCREASES_PRODUCTION, STR_4839_PRODUCTION_DOWN_BY_50), |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1166 |
|
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1167 |
MK(_tile_table_steel_mill, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1168 |
IT_IRON_MINE, IT_FACTORY, IT_INVALID, CHECK_NOTHING, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1169 |
CT_STEEL, 0, CT_INVALID, 0, 5, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1170 |
CT_IRON_ORE, CT_INVALID, CT_INVALID, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1171 |
STR_4833_SUPPLY_PROBLEMS_CAUSE_TO, STR_4835_INCREASES_PRODUCTION, STR_4839_PRODUCTION_DOWN_BY_50), |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1172 |
|
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1173 |
MK(_tile_table_farm, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1174 |
IT_FACTORY, IT_FOOD_PROCESS, IT_INVALID, CHECK_FARM, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1175 |
CT_GRAIN, 10, CT_LIVESTOCK, 10, 5, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1176 |
CT_INVALID, CT_INVALID, CT_INVALID, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1177 |
STR_4832_ANNOUNCES_IMMINENT_CLOSURE, STR_4838_IMPROVED_FARMING_METHODS, STR_483A_INSECT_INFESTATION_CAUSES), |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1178 |
|
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1179 |
MK(_tile_table_copper_mine, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1180 |
IT_FACTORY_2, IT_INVALID, IT_INVALID, CHECK_NOTHING, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1181 |
CT_COPPER_ORE, 10, CT_INVALID, 0, 5, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1182 |
CT_INVALID, CT_INVALID, CT_INVALID, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1183 |
STR_4832_ANNOUNCES_IMMINENT_CLOSURE, STR_4835_INCREASES_PRODUCTION, STR_4839_PRODUCTION_DOWN_BY_50), |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1184 |
|
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1185 |
MK(_tile_table_oil_well, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1186 |
IT_OIL_REFINERY, IT_INVALID, IT_INVALID, CHECK_NOTHING, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1187 |
CT_OIL, 12, CT_INVALID, 0, 5, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1188 |
CT_INVALID, CT_INVALID, CT_INVALID, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1189 |
STR_4832_ANNOUNCES_IMMINENT_CLOSURE, STR_4837_NEW_OIL_RESERVES_FOUND, STR_4839_PRODUCTION_DOWN_BY_50), |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1190 |
|
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1191 |
MK(_tile_table_bank, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1192 |
IT_BANK_TEMP, IT_INVALID, IT_INVALID, CHECK_NOTHING, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1193 |
CT_VALUABLES, 6, CT_INVALID, 0, 5, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1194 |
CT_VALUABLES, CT_INVALID, CT_INVALID, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1195 |
STR_4832_ANNOUNCES_IMMINENT_CLOSURE, STR_4835_INCREASES_PRODUCTION, STR_4839_PRODUCTION_DOWN_BY_50), |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1196 |
|
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1197 |
MK(_tile_table_food_process, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1198 |
IT_FRUIT_PLANTATION, IT_FARM, IT_FARM_2, CHECK_NOTHING, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1199 |
CT_FOOD, 0, CT_INVALID, 0, 5, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1200 |
CT_FRUIT, CT_MAIZE, CT_INVALID, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1201 |
STR_4833_SUPPLY_PROBLEMS_CAUSE_TO, STR_4835_INCREASES_PRODUCTION, STR_4839_PRODUCTION_DOWN_BY_50), |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1202 |
|
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1203 |
MK(_tile_table_paper_mill, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1204 |
IT_FOREST, IT_PRINTING_WORKS, IT_INVALID, CHECK_NOTHING, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1205 |
CT_PAPER, 0, CT_INVALID, 0, 5, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1206 |
CT_WOOD, CT_INVALID, CT_INVALID, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1207 |
STR_4833_SUPPLY_PROBLEMS_CAUSE_TO, STR_4835_INCREASES_PRODUCTION, STR_4839_PRODUCTION_DOWN_BY_50), |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1208 |
|
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1209 |
MK(_tile_table_gold_mine, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1210 |
IT_BANK_TROPIC_ARCTIC, IT_INVALID, IT_INVALID, CHECK_NOTHING, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1211 |
CT_GOLD, 7, CT_INVALID, 0, 5, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1212 |
CT_INVALID, CT_INVALID, CT_INVALID, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1213 |
STR_4832_ANNOUNCES_IMMINENT_CLOSURE, STR_4835_INCREASES_PRODUCTION, STR_4839_PRODUCTION_DOWN_BY_50), |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1214 |
|
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1215 |
MK(_tile_table_bank2, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1216 |
IT_GOLD_MINE, IT_DIAMOND_MINE, IT_INVALID, CHECK_NOTHING, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1217 |
CT_INVALID, 0, CT_INVALID, 0, 5, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1218 |
CT_GOLD, CT_INVALID, CT_INVALID, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1219 |
STR_4832_ANNOUNCES_IMMINENT_CLOSURE, STR_4835_INCREASES_PRODUCTION, STR_4839_PRODUCTION_DOWN_BY_50), |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1220 |
|
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1221 |
MK(_tile_table_diamond_mine, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1222 |
IT_BANK_TROPIC_ARCTIC, IT_INVALID, IT_INVALID, CHECK_NOTHING, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1223 |
CT_DIAMONDS, 7, CT_INVALID, 0, 5, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1224 |
CT_INVALID, CT_INVALID, CT_INVALID, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1225 |
STR_4832_ANNOUNCES_IMMINENT_CLOSURE, STR_4835_INCREASES_PRODUCTION, STR_4839_PRODUCTION_DOWN_BY_50), |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1226 |
|
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1227 |
MK(_tile_table_iron_mine, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1228 |
IT_STEEL_MILL, IT_INVALID, IT_INVALID, CHECK_NOTHING, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1229 |
CT_IRON_ORE, 10, CT_INVALID, 0, 5, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1230 |
CT_INVALID, CT_INVALID, CT_INVALID, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1231 |
STR_4832_ANNOUNCES_IMMINENT_CLOSURE, STR_4835_INCREASES_PRODUCTION, STR_4839_PRODUCTION_DOWN_BY_50), |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1232 |
|
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1233 |
MK(_tile_table_fruit_plantation, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1234 |
IT_FOOD_PROCESS, IT_INVALID, IT_INVALID, CHECK_PLANTATION, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1235 |
CT_FRUIT, 10, CT_INVALID, 0, 15, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1236 |
CT_INVALID, CT_INVALID, CT_INVALID, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1237 |
STR_4832_ANNOUNCES_IMMINENT_CLOSURE, STR_4838_IMPROVED_FARMING_METHODS, STR_483A_INSECT_INFESTATION_CAUSES), |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1238 |
|
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1239 |
MK(_tile_table_rubber_plantation, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1240 |
IT_FACTORY_2, IT_INVALID, IT_INVALID, CHECK_PLANTATION, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1241 |
CT_RUBBER, 10, CT_INVALID, 0, 15, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1242 |
CT_INVALID, CT_INVALID, CT_INVALID, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1243 |
STR_4832_ANNOUNCES_IMMINENT_CLOSURE, STR_4838_IMPROVED_FARMING_METHODS, STR_483A_INSECT_INFESTATION_CAUSES), |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1244 |
|
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1245 |
MK(_tile_table_water_supply, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1246 |
IT_WATER_TOWER, IT_INVALID, IT_INVALID, CHECK_WATER, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1247 |
CT_WATER, 12, CT_INVALID, 0, 5, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1248 |
CT_INVALID, CT_INVALID, CT_INVALID, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1249 |
STR_4832_ANNOUNCES_IMMINENT_CLOSURE, STR_4835_INCREASES_PRODUCTION, STR_4839_PRODUCTION_DOWN_BY_50), |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1250 |
|
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1251 |
MK(_tile_table_water_tower, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1252 |
IT_WATER_SUPPLY, IT_INVALID, IT_INVALID, CHECK_WATER, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1253 |
CT_INVALID, 0, CT_INVALID, 0, 5, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1254 |
CT_WATER, CT_INVALID, CT_INVALID, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1255 |
STR_4832_ANNOUNCES_IMMINENT_CLOSURE, STR_4835_INCREASES_PRODUCTION, STR_4839_PRODUCTION_DOWN_BY_50), |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1256 |
|
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1257 |
MK(_tile_table_factory2, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1258 |
IT_RUBBER_PLANTATION, IT_COPPER_MINE, IT_LUMBER_MILL, CHECK_PLANTATION, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1259 |
CT_GOODS, 0, CT_INVALID, 0, 5, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1260 |
CT_RUBBER, CT_COPPER_ORE, CT_WOOD, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1261 |
STR_4833_SUPPLY_PROBLEMS_CAUSE_TO, STR_4835_INCREASES_PRODUCTION, STR_4839_PRODUCTION_DOWN_BY_50), |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1262 |
|
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1263 |
MK(_tile_table_farm2, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1264 |
IT_FOOD_PROCESS, IT_INVALID, IT_INVALID, CHECK_PLANTATION, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1265 |
CT_MAIZE, 11, CT_INVALID, 0, 5, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1266 |
CT_INVALID, CT_INVALID, CT_INVALID, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1267 |
STR_4832_ANNOUNCES_IMMINENT_CLOSURE, STR_4838_IMPROVED_FARMING_METHODS, STR_483A_INSECT_INFESTATION_CAUSES), |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1268 |
|
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1269 |
MK(_tile_table_lumber_mill, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1270 |
IT_FACTORY_2, IT_INVALID, IT_INVALID, CHECK_LUMBERMILL, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1271 |
CT_WOOD, 0, CT_INVALID, 0, 5, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1272 |
CT_INVALID, CT_INVALID, CT_INVALID, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1273 |
STR_4834_LACK_OF_NEARBY_TREES_CAUSES, STR_4835_INCREASES_PRODUCTION, STR_4839_PRODUCTION_DOWN_BY_50), |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1274 |
|
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1275 |
MK(_tile_table_cotton_candy, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1276 |
IT_CANDY_FACTORY, IT_INVALID, IT_INVALID, CHECK_NOTHING, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1277 |
CT_COTTON_CANDY, 13, CT_INVALID, 0, 30, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1278 |
CT_INVALID, CT_INVALID, CT_INVALID, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1279 |
STR_4832_ANNOUNCES_IMMINENT_CLOSURE, STR_4838_IMPROVED_FARMING_METHODS, STR_4839_PRODUCTION_DOWN_BY_50), |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1280 |
|
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1281 |
MK(_tile_table_candy_factory, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1282 |
IT_COTTON_CANDY, IT_TOFFEE_QUARRY, IT_SUGAR_MINE, CHECK_NOTHING, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1283 |
CT_CANDY, 0, CT_INVALID, 0, 5, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1284 |
CT_SUGAR, CT_TOFFEE, CT_COTTON_CANDY, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1285 |
STR_4833_SUPPLY_PROBLEMS_CAUSE_TO, STR_4835_INCREASES_PRODUCTION, STR_4839_PRODUCTION_DOWN_BY_50), |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1286 |
|
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1287 |
MK(_tile_table_battery_farm, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1288 |
IT_TOY_FACTORY, IT_INVALID, IT_INVALID, CHECK_NOTHING, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1289 |
CT_BATTERIES, 11, CT_INVALID, 0, 30, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1290 |
CT_INVALID, CT_INVALID, CT_INVALID, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1291 |
STR_4832_ANNOUNCES_IMMINENT_CLOSURE, STR_4838_IMPROVED_FARMING_METHODS, STR_483A_INSECT_INFESTATION_CAUSES), |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1292 |
|
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1293 |
MK(_tile_table_cola_wells, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1294 |
IT_FIZZY_DRINK_FACTORY, IT_INVALID, IT_INVALID, CHECK_NOTHING, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1295 |
CT_COLA, 12, CT_INVALID, 0, 5, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1296 |
CT_INVALID, CT_INVALID, CT_INVALID, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1297 |
STR_4832_ANNOUNCES_IMMINENT_CLOSURE, STR_4835_INCREASES_PRODUCTION, STR_4839_PRODUCTION_DOWN_BY_50), |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1298 |
|
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1299 |
MK(_tile_table_toy_shop, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1300 |
IT_TOY_FACTORY, IT_INVALID, IT_INVALID, CHECK_NOTHING, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1301 |
CT_INVALID, 0, CT_INVALID, 0, 5, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1302 |
CT_TOYS, CT_INVALID, CT_INVALID, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1303 |
STR_4833_SUPPLY_PROBLEMS_CAUSE_TO, STR_4835_INCREASES_PRODUCTION, STR_4839_PRODUCTION_DOWN_BY_50), |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1304 |
|
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1305 |
MK(_tile_table_toy_factory, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1306 |
IT_PLASTIC_FOUNTAINS, IT_BATTERY_FARM, IT_TOY_SHOP, CHECK_NOTHING, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1307 |
CT_TOYS, 0, CT_INVALID, 0, 5, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1308 |
CT_PLASTIC, CT_BATTERIES, CT_INVALID, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1309 |
STR_4833_SUPPLY_PROBLEMS_CAUSE_TO, STR_4835_INCREASES_PRODUCTION, STR_4839_PRODUCTION_DOWN_BY_50), |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1310 |
|
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1311 |
MK(_tile_table_plastic_fountain, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1312 |
IT_TOY_FACTORY, IT_INVALID, IT_INVALID, CHECK_NOTHING, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1313 |
CT_PLASTIC, 14, CT_INVALID, 0, 5, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1314 |
CT_INVALID, CT_INVALID, CT_INVALID, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1315 |
STR_4832_ANNOUNCES_IMMINENT_CLOSURE, STR_4835_INCREASES_PRODUCTION, STR_4839_PRODUCTION_DOWN_BY_50), |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1316 |
|
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1317 |
MK(_tile_table_fizzy_drink, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1318 |
IT_COLA_WELLS, IT_BUBBLE_GENERATOR, IT_INVALID, CHECK_NOTHING, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1319 |
CT_FIZZY_DRINKS, 0, CT_INVALID, 0, 5, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1320 |
CT_COLA, CT_BUBBLES, CT_INVALID, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1321 |
STR_4833_SUPPLY_PROBLEMS_CAUSE_TO, STR_4835_INCREASES_PRODUCTION, STR_4839_PRODUCTION_DOWN_BY_50), |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1322 |
|
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1323 |
MK(_tile_table_bubble_generator, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1324 |
IT_FIZZY_DRINK_FACTORY, IT_INVALID, IT_INVALID, CHECK_BUBBLEGEN, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1325 |
CT_BUBBLES, 13, CT_INVALID, 0, 5, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1326 |
CT_INVALID, CT_INVALID, CT_INVALID, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1327 |
STR_4832_ANNOUNCES_IMMINENT_CLOSURE, STR_4835_INCREASES_PRODUCTION, STR_4839_PRODUCTION_DOWN_BY_50), |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1328 |
|
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1329 |
MK(_tile_table_toffee_quarry, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1330 |
IT_CANDY_FACTORY, IT_INVALID, IT_INVALID, CHECK_NOTHING, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1331 |
CT_TOFFEE, 10, CT_INVALID, 0, 5, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1332 |
CT_INVALID, CT_INVALID, CT_INVALID, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1333 |
STR_4832_ANNOUNCES_IMMINENT_CLOSURE, STR_4835_INCREASES_PRODUCTION, STR_4839_PRODUCTION_DOWN_BY_50), |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1334 |
|
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1335 |
MK(_tile_table_sugar_mine, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1336 |
IT_CANDY_FACTORY, IT_INVALID, IT_INVALID, CHECK_NOTHING, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1337 |
CT_SUGAR, 11, CT_INVALID, 0, 5, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1338 |
CT_INVALID, CT_INVALID, CT_INVALID, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1339 |
STR_4832_ANNOUNCES_IMMINENT_CLOSURE, STR_4835_INCREASES_PRODUCTION, STR_4839_PRODUCTION_DOWN_BY_50), |
0 | 1340 |
}; |
1341 |
#undef MK |
|
1342 |
||
3663
548dfb4ad4cc
(svn r4578) CodeChange : Cleanup of industry_cmd (Step-2).
belugas
parents:
3662
diff
changeset
|
1343 |
const byte _industry_type_costs[] = { |
3669
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1344 |
210, 30, 28, 200, 31, 240, 26, 26, 27, 250, 205, 220, 193, 26, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1345 |
28, 208, 19, 213, 220, 225, 218, 199, 14, 26, 250, 17, 195, 26, |
0 | 1346 |
187, 193, 17, 20, 192, 22, 203, 213, 210 |
1347 |
}; |
|
1348 |
||
1786
7cfd46c3fcc4
(svn r2290) - CodeChange: protect the next batch of commands. This brings us to a total of 61, which is 53% :)
Darkvater
parents:
909
diff
changeset
|
1349 |
const byte _build_industry_types[4][12] = { |
3669
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1350 |
{ 1, 2, 4, 6, 8, 0, 3, 5, 9, 11, 18 }, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1351 |
{ 1, 14, 4, 13, 7, 0, 3, 9, 11, 15 }, |
753648f181a0
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
belugas
parents:
3663
diff
changeset
|
1352 |
{ 25, 13, 4, 23, 22, 11, 17, 10, 24, 19, 20, 21 }, |
1786
7cfd46c3fcc4
(svn r2290) - CodeChange: protect the next batch of commands. This brings us to a total of 61, which is 53% :)
Darkvater
parents:
909
diff
changeset
|
1353 |
{ 27, 30, 31, 33, 26, 28, 29, 32, 34, 35, 36 }, |
7cfd46c3fcc4
(svn r2290) - CodeChange: protect the next batch of commands. This brings us to a total of 61, which is 53% :)
Darkvater
parents:
909
diff
changeset
|
1354 |
}; |
7cfd46c3fcc4
(svn r2290) - CodeChange: protect the next batch of commands. This brings us to a total of 61, which is 53% :)
Darkvater
parents:
909
diff
changeset
|
1355 |
|
0 | 1356 |
|
1357 |
static const byte _industry_create_table_0[] = { |
|
1358 |
4, 4, |
|
1359 |
5, 3, |
|
1360 |
5, 2, |
|
1361 |
8, 0, |
|
1362 |
5, 1, |
|
1363 |
4, 11, |
|
1364 |
5, 18, |
|
1365 |
9, 9, |
|
1366 |
5, 8, |
|
1367 |
5, 6, |
|
1368 |
0 |
|
1369 |
}; |
|
1370 |
||
1371 |
static const byte _industry_create_table_1[] = { |
|
1372 |
4, 4, |
|
1373 |
5, 3, |
|
1374 |
5, 14, |
|
1375 |
8, 0, |
|
1376 |
5, 1, |
|
1377 |
5, 11, |
|
1378 |
5, 13, |
|
1379 |
9, 9, |
|
1380 |
4, 15, |
|
1381 |
5, 7, |
|
1382 |
6, 16, |
|
1383 |
0 |
|
1384 |
}; |
|
1385 |
||
1386 |
static const byte _industry_create_table_2[] = { |
|
1387 |
4, 4, |
|
1388 |
5, 11, |
|
1389 |
5, 16, |
|
1390 |
4, 13, |
|
1391 |
4, 17, |
|
1392 |
4, 10, |
|
1393 |
4, 19, |
|
1394 |
4, 20, |
|
1395 |
4, 21, |
|
1396 |
8, 22, |
|
1397 |
4, 13, |
|
1398 |
4, 23, |
|
1399 |
2, 24, |
|
1400 |
0 |
|
1401 |
}; |
|
1402 |
||
1403 |
static const byte _industry_create_table_3[] = { |
|
1404 |
5, 26, |
|
1405 |
5, 27, |
|
1406 |
4, 28, |
|
1407 |
5, 29, |
|
1408 |
4, 30, |
|
1409 |
5, 31, |
|
1410 |
5, 32, |
|
1411 |
4, 33, |
|
1412 |
5, 34, |
|
1413 |
5, 35, |
|
1414 |
4, 36, |
|
1415 |
0 |
|
1416 |
}; |
|
1417 |
||
1418 |
static const byte * const _industry_create_table[4] = { |
|
1419 |
_industry_create_table_0, |
|
1420 |
_industry_create_table_1, |
|
1421 |
_industry_create_table_2, |
|
1422 |
_industry_create_table_3, |
|
1423 |
}; |
|
1424 |
||
1425 |
||
2598
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1426 |
#define PAS CT_PASSENGERS |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1427 |
|
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1428 |
#define COL CT_COAL |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1429 |
#define RUB CT_RUBBER |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1430 |
#define SUG CT_SUGAR |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1431 |
|
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1432 |
#define MAL CT_MAIL |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1433 |
|
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1434 |
#define OIL CT_OIL |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1435 |
#define TOY CT_TOYS |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1436 |
|
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1437 |
#define LIV CT_LIVESTOCK // Fruit too |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1438 |
#define BAT CT_BATTERIES |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1439 |
|
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1440 |
#define GRA CT_GRAIN |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1441 |
#define WHT CT_WHEAT // Maize too |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1442 |
#define TOF CT_TOFFEE |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1443 |
|
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1444 |
#define WOD CT_WOOD |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1445 |
#define CLA CT_COLA |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1446 |
|
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1447 |
#define IRN CT_IRON_ORE |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1448 |
#define COP CT_COPPER_ORE |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1449 |
#define CCY CT_COTTON_CANDY |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1450 |
|
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1451 |
#define STL CT_STEEL |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1452 |
#define PAP CT_PAPER |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1453 |
#define WAT CT_WATER |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1454 |
#define BBL CT_BUBBLES |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1455 |
|
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1456 |
#define VAL CT_VALUABLES |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1457 |
#define GLD CT_GOLD // Diamonds too |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1458 |
#define PLC CT_PLASTIC |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1459 |
|
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1460 |
#define INV CT_INVALID |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1461 |
|
3494
ba64f1689870
(svn r4345) -Codechange: Similar to airport tiles, rename _industry_map5_ arrays to _industry_sections
celestar
parents:
2598
diff
changeset
|
1462 |
static const CargoID _industry_section_accepts_1[] = { |
2598
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1463 |
INV, INV, INV, PAS, INV, INV, INV, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1464 |
PAS, INV, INV, PAS, PAS, PAS, INV, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1465 |
INV, INV, INV, INV, INV, INV, INV, PAS, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1466 |
INV, INV, INV, INV, INV, INV, INV, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1467 |
INV, PAS, PAS, INV, INV, INV, INV, GRA, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1468 |
GRA, GRA, GRA, INV, INV, INV, INV, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1469 |
INV, INV, PAS, PAS, PAS, PAS, PAS, PAS, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1470 |
PAS, PAS, PAS, PAS, WHT, WHT, WHT, WHT, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1471 |
INV, INV, INV, INV, INV, INV, INV, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1472 |
INV, INV, INV, INV, INV, INV, INV, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1473 |
INV, INV, INV, INV, INV, INV, INV, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1474 |
INV, INV, INV, INV, INV, INV, INV, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1475 |
INV, INV, INV, INV, INV, INV, INV, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1476 |
INV, INV, INV, INV, INV, INV, INV, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1477 |
INV, INV, INV, INV, INV, INV, INV, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1478 |
INV, COP, COP, COP, COP, INV, INV, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1479 |
INV, INV, INV, CCY, CCY, CCY, CCY, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1480 |
INV, INV, INV, INV, INV, INV, BAT, BAT, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1481 |
BAT, BAT, BAT, BAT, INV, INV, INV, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1482 |
INV, INV, INV, INV, BBL, BBL, BBL, BBL, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1483 |
INV, INV, INV, INV, INV, INV, INV, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1484 |
INV, INV, INV, INV, INV, INV, INV |
0 | 1485 |
}; |
1486 |
||
1487 |
||
3494
ba64f1689870
(svn r4345) -Codechange: Similar to airport tiles, rename _industry_map5_ arrays to _industry_sections
celestar
parents:
2598
diff
changeset
|
1488 |
static const CargoID _industry_section_accepts_2[] = { |
2598
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1489 |
INV, INV, INV, INV, INV, INV, INV, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1490 |
INV, INV, INV, INV, INV, INV, INV, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1491 |
INV, INV, INV, INV, INV, INV, INV, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1492 |
INV, INV, INV, INV, INV, INV, INV, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1493 |
INV, INV, INV, INV, INV, INV, INV, STL, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1494 |
STL, STL, STL, INV, INV, INV, INV, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1495 |
INV, INV, INV, INV, INV, INV, INV, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1496 |
INV, INV, INV, INV, INV, INV, INV, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1497 |
INV, INV, INV, INV, INV, INV, INV, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1498 |
INV, INV, INV, INV, INV, INV, INV, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1499 |
INV, INV, INV, INV, INV, INV, INV, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1500 |
INV, INV, INV, INV, INV, INV, INV, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1501 |
INV, INV, INV, INV, INV, INV, INV, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1502 |
INV, INV, INV, INV, INV, INV, INV, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1503 |
INV, INV, INV, INV, INV, INV, INV, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1504 |
INV, WOD, WOD, WOD, WOD, INV, INV, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1505 |
INV, INV, INV, TOF, TOF, TOF, TOF, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1506 |
INV, INV, INV, INV, INV, INV, INV, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1507 |
INV, INV, INV, INV, INV, INV, INV, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1508 |
INV, INV, INV, INV, INV, INV, INV, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1509 |
INV, INV, INV, INV, INV, INV, INV, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1510 |
INV, INV, INV, INV, INV, INV, INV |
0 | 1511 |
}; |
1512 |
||
3494
ba64f1689870
(svn r4345) -Codechange: Similar to airport tiles, rename _industry_map5_ arrays to _industry_sections
celestar
parents:
2598
diff
changeset
|
1513 |
static const CargoID _industry_section_accepts_3[] = { |
2598
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1514 |
INV, INV, INV, INV, INV, INV, INV, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1515 |
COL, INV, INV, INV, INV, WOD, INV, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1516 |
INV, INV, INV, INV, OIL, INV, INV, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1517 |
PAS, MAL, INV, INV, INV, INV, INV, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1518 |
INV, INV, INV, INV, INV, INV, INV, LIV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1519 |
LIV, LIV, LIV, PAP, PAP, PAP, PAP, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1520 |
INV, INV, INV, INV, IRN, IRN, IRN, IRN, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1521 |
IRN, IRN, VAL, VAL, LIV, LIV, LIV, LIV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1522 |
WOD, WOD, WOD, WOD, WOD, WOD, WOD, WOD, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1523 |
INV, INV, INV, INV, INV, INV, INV, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1524 |
INV, INV, INV, INV, INV, INV, INV, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1525 |
INV, GLD, GLD, INV, INV, INV, INV, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1526 |
INV, INV, INV, INV, INV, INV, INV, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1527 |
INV, INV, INV, INV, INV, INV, INV, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1528 |
INV, INV, INV, INV, INV, INV, INV, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1529 |
WAT, RUB, RUB, RUB, RUB, INV, INV, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1530 |
INV, INV, INV, SUG, SUG, SUG, SUG, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1531 |
INV, INV, TOY, TOY, TOY, TOY, PLC, PLC, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1532 |
PLC, PLC, PLC, PLC, INV, INV, INV, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1533 |
INV, INV, INV, INV, CLA, CLA, CLA, CLA, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1534 |
INV, INV, INV, INV, INV, INV, INV, INV, |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1535 |
INV, INV, INV, INV, INV, INV, INV |
0 | 1536 |
}; |
2598
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1537 |
|
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1538 |
#undef PAS |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1539 |
#undef COL |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1540 |
#undef RUB |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1541 |
#undef SUG |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1542 |
#undef MAL |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1543 |
#undef OIL |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1544 |
#undef TOY |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1545 |
#undef LIV |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1546 |
#undef BAT |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1547 |
#undef GRA |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1548 |
#undef WHT |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1549 |
#undef TOF |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1550 |
#undef WOD |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1551 |
#undef CLA |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1552 |
#undef IRN |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1553 |
#undef COP |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1554 |
#undef CCY |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1555 |
#undef STL |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1556 |
#undef PAP |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1557 |
#undef WAT |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1558 |
#undef BBL |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1559 |
#undef VAL |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1560 |
#undef GLD |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1561 |
#undef PLC |
d69238b81415
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron
parents:
2186
diff
changeset
|
1562 |
#undef INV |