summaryrefslogtreecommitdiff
path: root/src/newgrf.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2009-11-24 13:15:58 +0000
committerfrosch <frosch@openttd.org>2009-11-24 13:15:58 +0000
commitd507136e04432c420bbf48bb322c22335bc0dbfa (patch)
tree0d3f50287b352572dfd8a735a6f87a83568a4baa /src/newgrf.h
parent5e247b6e439f8e717991d1bc5df27ddb732b1865 (diff)
downloadopenttd-d507136e04432c420bbf48bb322c22335bc0dbfa.tar.xz
(svn r18268) -Feature: [NewGRF] Make price base multipliers related to vehicles only apply to the GRF locally, if it defines engines of that type itself.
Diffstat (limited to 'src/newgrf.h')
-rw-r--r--src/newgrf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/newgrf.h b/src/newgrf.h
index 271e1bf34..b9009c4fe 100644
--- a/src/newgrf.h
+++ b/src/newgrf.h
@@ -115,6 +115,9 @@ struct GRFFile {
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
+
+ uint32 grf_features; ///< Bitset of GrfSpecFeature the grf uses
+ PriceMultipliers price_base_multipliers; ///< Price base multipliers as set by the grf.
};
enum ShoreReplacement {