mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-28 00:49:11 +00:00
(svn r18969) -Add: [NewGRF] NewGRF-settable rail type properties.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user