summaryrefslogtreecommitdiff
path: root/src/rail.h
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/rail.h
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/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 69038c205..14dbdb89c 100644
--- a/src/rail.h
+++ b/src/rail.h
@@ -142,6 +142,11 @@ struct RailtypeInfo {
uint8 cost_multiplier;
/**
+ * Acceleration type of this rail type
+ */
+ uint8 acceleration_type;
+
+ /**
* Unique 32 bit rail type identifier
*/
RailTypeLabel label;