summaryrefslogtreecommitdiff
path: root/src/newgrf.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2010-09-25 21:59:22 +0000
committerfrosch <frosch@openttd.org>2010-09-25 21:59:22 +0000
commita54b711dc10bf34929ec080d6507db0067455c64 (patch)
tree781f44d387defc0975828e1d7b7859e752c21fdd /src/newgrf.h
parent611e9862266e9982ef58cec7c3151744488e5883 (diff)
downloadopenttd-a54b711dc10bf34929ec080d6507db0067455c64.tar.xz
(svn r20848) -Add: _loaded_newgrf_features.used_liveries to keep track which liveries are used by some vehicle resp. which are not used at all.
Diffstat (limited to 'src/newgrf.h')
-rw-r--r--src/newgrf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/newgrf.h b/src/newgrf.h
index eb4e8b298..5be03b8c4 100644
--- a/src/newgrf.h
+++ b/src/newgrf.h
@@ -148,6 +148,7 @@ enum ShoreReplacement {
struct GRFLoadedFeatures {
bool has_2CC; ///< Set if any vehicle is loaded which uses 2cc (two company colours).
+ uint64 used_liveries; ///< Bitmask of #LiveryScheme used by the defined engines.
bool has_newhouses; ///< Set if there are any newhouses loaded.
bool has_newindustries; ///< Set if there are any newindustries loaded.
ShoreReplacement shore; ///< It which way shore sprites were replaced.