summaryrefslogtreecommitdiff
path: root/src/rail.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-01-18 21:28:07 +0000
committerrubidium <rubidium@openttd.org>2011-01-18 21:28:07 +0000
commit6371b75bcc0789d4895e5c157237cbeaf332a99a (patch)
tree839d8ea502592470cb12a30a64eeb130dc62508a /src/rail.h
parent5f285916100bea2ee28ca3d8680f5bc2c99fa942 (diff)
downloadopenttd-6371b75bcc0789d4895e5c157237cbeaf332a99a.tar.xz
(svn r21841) -Feature: [NewGRF] Allow to define other railtypes that should be introduced if a particular rail type is introduced, e.g. to make sure slow rail is introduced when fast rail gets introduced
Diffstat (limited to 'src/rail.h')
-rw-r--r--src/rail.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rail.h b/src/rail.h
index 465a4aac3..81bac120c 100644
--- a/src/rail.h
+++ b/src/rail.h
@@ -217,6 +217,11 @@ struct RailtypeInfo {
byte map_colour;
/**
+ * Bitmask of which other railtypes are introduced when this railtype is introduced.
+ */
+ RailTypes introduces_railtypes;
+
+ /**
* Sprite groups for resolving sprites
*/
const SpriteGroup *group[RTSG_END];