summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-05-29 14:44:22 +0000
committerbelugas <belugas@openttd.org>2007-05-29 14:44:22 +0000
commit21b4b14f79ac91531b9a7ecf6402322075ec9727 (patch)
tree5e9b8d7f48ac41f41485ddcf51378a0b421f18c6
parent62711444522ab53c5386cd026920722f7589d3b9 (diff)
downloadopenttd-21b4b14f79ac91531b9a7ecf6402322075ec9727.tar.xz
(svn r9975) -Codechange: Adjust the industry/tile spec arrays, moving the enabled member out of GRFFileProps (end of previous commit).
-rw-r--r--src/table/build_industry.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/table/build_industry.h b/src/table/build_industry.h
index bb81dd29a..6ebb1d52c 100644
--- a/src/table/build_industry.h
+++ b/src/table/build_industry.h
@@ -1135,7 +1135,7 @@ static const uint8 _plastic_mine_sounds[] = { SND_33_PLASTIC_MINE };
c1, c2, c3, proc, p1, r1, p2, r2, m, a1, im1, a2, im2, a3, im3, pr, clim, bev, in, intx, s1, s2, s3) \
{tbl, lengthof(tbl), d, {c1, c2, c3}, proc, {p1, p2}, {r1, r2}, m, \
{a1, a2, a3}, {{im1, 0}, {im2, 0}, {im3, 0}}, pr, clim, bev, col, in, intx, s1, s2, s3, {ai1, ai2, ai3, ai4}, {ag1, ag2, ag3, ag4}, \
- sndc, snd, 0, {0, 0, NULL, NULL, INVALID_INDUSTRYTYPE, true}}
+ sndc, snd, 0, true, {0, 0, NULL, NULL, INVALID_INDUSTRYTYPE}}
static const IndustrySpec _industry_specs[] = {
/* Format:
tile table count and sounds table
@@ -1530,7 +1530,7 @@ static const IndustrySpec _industry_specs[] = {
* @param a2 next frame of animation
* @param a3 chooses between animation or construction state
*/
-#define MT(ca1, c1, ca2, c2, ca3, c3, sl, a1, a2, a3) {{c1, c2, c3}, {ca1, ca2, ca3}, sl, a1, a2, a3, 0, {0, 0, NULL, NULL, 0, true}}
+#define MT(ca1, c1, ca2, c2, ca3, c3, sl, a1, a2, a3) {{c1, c2, c3}, {ca1, ca2, ca3}, sl, a1, a2, a3, 0, true, {0, 0, NULL, NULL, 0}}
static const IndustryTileSpec _industry_tile_specs[] = {
/* Coal Mine */
MT(0, CT_INVALID, 0, CT_INVALID, 0, CT_INVALID, SLOPE_STEEP, INDUTILE_NOANIM, INDUTILE_NOANIM, false),