summaryrefslogtreecommitdiff
path: root/src/newgrf.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2010-01-30 21:49:22 +0000
committerpeter1138 <peter1138@openttd.org>2010-01-30 21:49:22 +0000
commit32ef582c37e3fda64c61b36acb398c235f8292a2 (patch)
tree1ec6619223efc5014137e26228c412d7441af617 /src/newgrf.h
parent84c6616ee06884ec06609dc7256738c03a06197c (diff)
downloadopenttd-32ef582c37e3fda64c61b36acb398c235f8292a2.tar.xz
(svn r18969) -Add: [NewGRF] NewGRF-settable rail type properties.
Diffstat (limited to 'src/newgrf.h')
-rw-r--r--src/newgrf.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/newgrf.h b/src/newgrf.h
index b38cf4803..6f4dd758e 100644
--- a/src/newgrf.h
+++ b/src/newgrf.h
@@ -54,6 +54,10 @@ enum GrfSpecFeature {
GSF_INDUSTRIES,
GSF_CARGOS,
GSF_SOUNDFX,
+ GSF_AIRPORTS,
+ GSF_SIGNALS,
+ GSF_OBJECTS,
+ GSF_RAILTYPES,
GSF_END,
};
@@ -111,6 +115,7 @@ struct GRFFile {
uint8 railtype_max;
RailTypeLabel *railtype_list;
+ RailType railtype_map[RAILTYPE_END];
int traininfo_vehicle_pitch; ///< Vertical offset for draing train images in depot GUI and vehicle details
int traininfo_vehicle_width; ///< Width (in pixels) of a 8/8 train vehicle in depot GUI and vehicle details