summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-01-18 21:30:59 +0000
committerrubidium <rubidium@openttd.org>2011-01-18 21:30:59 +0000
commitb8c9988d9fce02a3bfb958b0ebc7cf39961ef10c (patch)
tree6ace877720369defc6a552ea53b731d8bd42c982 /src/table
parent6371b75bcc0789d4895e5c157237cbeaf332a99a (diff)
downloadopenttd-b8c9988d9fce02a3bfb958b0ebc7cf39961ef10c.tar.xz
(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
Diffstat (limited to 'src/table')
-rw-r--r--src/table/railtypes.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/table/railtypes.h b/src/table/railtypes.h
index 7e59ab70b..c4decab18 100644
--- a/src/table/railtypes.h
+++ b/src/table/railtypes.h
@@ -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,