summaryrefslogtreecommitdiff
path: root/src/rail.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2010-01-31 13:17:29 +0000
committerpeter1138 <peter1138@openttd.org>2010-01-31 13:17:29 +0000
commit2b820780a163bf19768dc2f9254271714f25cb20 (patch)
tree18520890b9041406dda45522a8d654e1dd9baadf /src/rail.h
parent2331ccd589cdef298659bf2ab4f29a833601bd9d (diff)
downloadopenttd-2b820780a163bf19768dc2f9254271714f25cb20.tar.xz
(svn r18972) -Add: [NewGRF] Per-rail type speed limits.
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 0507dad2b..3ea708db1 100644
--- a/src/rail.h
+++ b/src/rail.h
@@ -146,6 +146,11 @@ struct RailtypeInfo {
uint8 acceleration_type;
/**
+ * Maximum speed for vehicles travelling on this rail type
+ */
+ uint16 max_speed;
+
+ /**
* Unique 32 bit rail type identifier
*/
RailTypeLabel label;