summaryrefslogtreecommitdiff
path: root/src/newgrf.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2008-02-12 11:08:47 +0000
committerpeter1138 <peter1138@openttd.org>2008-02-12 11:08:47 +0000
commit57aacb50c87372dabddd2ab58537ef55ba9e3c3d (patch)
tree249c81cab9d2838d7d9b0fcd85d031810056a39d /src/newgrf.h
parentd465b23ee2373b908820b855561aab2ea17f1495 (diff)
downloadopenttd-57aacb50c87372dabddd2ab58537ef55ba9e3c3d.tar.xz
(svn r12119) -Codechange: Rename grfspec_feature to match code style, and expose in header for use elsewhere.
Diffstat (limited to 'src/newgrf.h')
-rw-r--r--src/newgrf.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/newgrf.h b/src/newgrf.h
index dfd33f693..b872769f0 100644
--- a/src/newgrf.h
+++ b/src/newgrf.h
@@ -32,6 +32,23 @@ enum GrfMiscBit {
GMB_CATENARY_ON_3RD_TRACK = 5, // Unsupported.
};
+enum GrfSpecFeature {
+ GSF_TRAIN,
+ GSF_ROAD,
+ GSF_SHIP,
+ GSF_AIRCRAFT,
+ GSF_STATION,
+ GSF_CANAL,
+ GSF_BRIDGE,
+ GSF_TOWNHOUSE,
+ GSF_GLOBALVAR,
+ GSF_INDUSTRYTILES,
+ GSF_INDUSTRIES,
+ GSF_CARGOS,
+ GSF_SOUNDFX,
+ GSF_END,
+};
+
struct GRFLabel {
byte label;
uint32 nfo_line;