summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2010-01-09 15:33:41 +0000
committerpeter1138 <peter1138@openttd.org>2010-01-09 15:33:41 +0000
commit1382964fa016988f144782b7c5c446782553ea86 (patch)
treee8c9a2806b809648a0d7642f88537fc8388b3d8a /src/table
parentb9052fff9fa4f0c836d4e1d7f85c23c4fb4150a2 (diff)
downloadopenttd-1382964fa016988f144782b7c5c446782553ea86.tar.xz
(svn r18766) -Codechange: Make train acceleration type (rail/elrail/monorail vs maglev) a rail type property
Diffstat (limited to 'src/table')
-rw-r--r--src/table/railtypes.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/table/railtypes.h b/src/table/railtypes.h
index c17e5a13c..9eea21ae7 100644
--- a/src/table/railtypes.h
+++ b/src/table/railtypes.h
@@ -81,6 +81,9 @@ static const RailtypeInfo _original_railtypes[] = {
/* cost multiplier */
8,
+ /* accelration type */
+ 0,
+
/* rail type label */
'RAIL',
},
@@ -153,6 +156,9 @@ static const RailtypeInfo _original_railtypes[] = {
/* cost multiplier */
12,
+ /* acceleration type */
+ 0,
+
/* rail type label */
'ELRL',
},
@@ -221,6 +227,9 @@ static const RailtypeInfo _original_railtypes[] = {
/* cost multiplier */
16,
+ /* acceleration type */
+ 1,
+
/* rail type label */
'MONO',
},
@@ -289,6 +298,9 @@ static const RailtypeInfo _original_railtypes[] = {
/* cost multiplier */
24,
+ /* acceleration type */
+ 2,
+
/* rail type label */
'MGLV',
},