(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

This commit is contained in:
rubidium
2011-01-18 21:28:07 +00:00
parent 5f28591610
commit 6371b75bcc
7 changed files with 34 additions and 13 deletions

View File

@@ -216,6 +216,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
*/