(svn r21842) -Feature [FS#4393]: [NewGRF] Introduction dates/required types for rail types; e.g. introduce a particular rail type in 1960 (or when a vehicle using it is introduced), but also allow limiting its introduction to only happen when the required railtypes are available
This commit is contained in:
@@ -95,6 +95,12 @@ static const RailtypeInfo _original_railtypes[] = {
|
||||
/* map colour */
|
||||
0x0A,
|
||||
|
||||
/* introduction date */
|
||||
INVALID_DATE,
|
||||
|
||||
/* railtypes required for this to be introduced */
|
||||
RAILTYPES_NONE,
|
||||
|
||||
/* introduction rail types */
|
||||
RAILTYPES_RAIL,
|
||||
|
||||
@@ -181,6 +187,12 @@ static const RailtypeInfo _original_railtypes[] = {
|
||||
/* map colour */
|
||||
0x0A,
|
||||
|
||||
/* introduction date */
|
||||
INVALID_DATE,
|
||||
|
||||
/* railtypes required for this to be introduced */
|
||||
RAILTYPES_NONE,
|
||||
|
||||
/* introduction rail types */
|
||||
RAILTYPES_ELECTRIC,
|
||||
|
||||
@@ -263,6 +275,12 @@ static const RailtypeInfo _original_railtypes[] = {
|
||||
/* map colour */
|
||||
0x0A,
|
||||
|
||||
/* introduction date */
|
||||
INVALID_DATE,
|
||||
|
||||
/* railtypes required for this to be introduced */
|
||||
RAILTYPES_NONE,
|
||||
|
||||
/* introduction rail types */
|
||||
RAILTYPES_MONO,
|
||||
|
||||
@@ -345,6 +363,12 @@ static const RailtypeInfo _original_railtypes[] = {
|
||||
/* map colour */
|
||||
0x0A,
|
||||
|
||||
/* introduction date */
|
||||
INVALID_DATE,
|
||||
|
||||
/* railtypes required for this to be introduced */
|
||||
RAILTYPES_NONE,
|
||||
|
||||
/* introduction rail types */
|
||||
RAILTYPES_MAGLEV,
|
||||
|
||||
|
Reference in New Issue
Block a user