(svn r18969) -Add: [NewGRF] NewGRF-settable rail type properties.

This commit is contained in:
peter1138
2010-01-30 21:49:22 +00:00
parent 5051bc84e3
commit 91c42bb596
4 changed files with 188 additions and 1 deletions

View File

@@ -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