summaryrefslogtreecommitdiff
path: root/src/order_base.h
diff options
context:
space:
mode:
authormichi_cc <michi_cc@openttd.org>2012-02-14 17:04:06 +0000
committermichi_cc <michi_cc@openttd.org>2012-02-14 17:04:06 +0000
commitf2c694c8fbfb775dc239ab1c6447d3744d1c84c7 (patch)
treeaf7e8b3e3689ad2e9e0db8ef56a8c7ea7521b373 /src/order_base.h
parent347157cb8ce016428275d6143b555de1dc802133 (diff)
downloadopenttd-f2c694c8fbfb775dc239ab1c6447d3744d1c84c7.tar.xz
(svn r23947) -Feature: Timetabled maximum travel speeds for non-flying vehicles.
Diffstat (limited to 'src/order_base.h')
-rw-r--r--src/order_base.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/order_base.h b/src/order_base.h
index eaf050cbd..82e1371ee 100644
--- a/src/order_base.h
+++ b/src/order_base.h
@@ -49,8 +49,9 @@ public:
uint16 wait_time; ///< How long in ticks to wait at the destination.
uint16 travel_time; ///< How long in ticks the journey to this destination should take.
+ uint16 max_speed; ///< How fast the vehicle may go on the way to the destination.
- Order() : refit_cargo(CT_NO_REFIT) {}
+ Order() : refit_cargo(CT_NO_REFIT), max_speed(UINT16_MAX) {}
~Order();
Order(uint32 packed);