diff options
author | frosch <frosch@openttd.org> | 2010-09-25 21:59:22 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2010-09-25 21:59:22 +0000 |
commit | a54b711dc10bf34929ec080d6507db0067455c64 (patch) | |
tree | 781f44d387defc0975828e1d7b7859e752c21fdd /src/newgrf.h | |
parent | 611e9862266e9982ef58cec7c3151744488e5883 (diff) | |
download | openttd-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.h | 1 |
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. |