diff options
author | rubidium <rubidium@openttd.org> | 2007-03-07 12:11:48 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-03-07 12:11:48 +0000 |
commit | 979ccd45baa9a38169661ba379a341cae8619c3b (patch) | |
tree | 757477dbdc02025cc29690a4e66e40f872cab02b /src/table/build_industry.h | |
parent | 4169bfba0604b33bad92389bd3eb6f9acde89f49 (diff) | |
download | openttd-979ccd45baa9a38169661ba379a341cae8619c3b.tar.xz |
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
Diffstat (limited to 'src/table/build_industry.h')
-rw-r--r-- | src/table/build_industry.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/table/build_industry.h b/src/table/build_industry.h index a292a1cf4..729013973 100644 --- a/src/table/build_industry.h +++ b/src/table/build_industry.h @@ -1068,7 +1068,7 @@ static const IndustryTileTable * const _tile_table_sugar_mine[] = { /* Procedures that can be run to check whether an industry may * build at location the given to the procedure */ -typedef enum CheckProcs { +enum CheckProc { CHECK_NOTHING = 0, CHECK_FOREST = 1, CHECK_REFINERY = 2, @@ -1079,7 +1079,7 @@ typedef enum CheckProcs { CHECK_BUBBLEGEN = 7, CHECK_OIL_RIG = 8, CHECK_END, -} CheckProc; +}; #define MK(tbl, d, c1, c2, c3, proc, p1, r1, p2, r2, m, a1, a2, a3, pr, clim, in, s1, s2, s3) \ {tbl, lengthof(tbl), d, {c1, c2, c3}, proc, {p1, p2}, {r1, r2}, m, \ |