diff options
author | rubidium <rubidium@openttd.org> | 2008-04-05 15:30:15 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-04-05 15:30:15 +0000 |
commit | aef20ec54d501e176d2607096da2df2263bc0822 (patch) | |
tree | 57bb3ebb25557e1d6fcad5c15f3dac0e731a4475 /src/order_base.h | |
parent | d977461d1004102e19a210b26d5080475aff62f8 (diff) | |
download | openttd-aef20ec54d501e176d2607096da2df2263bc0822.tar.xz |
(svn r12580) -Codechange: merge some logical related to non-stop orders.
Diffstat (limited to 'src/order_base.h')
-rw-r--r-- | src/order_base.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/order_base.h b/src/order_base.h index 8cc3a29f4..12663b3c9 100644 --- a/src/order_base.h +++ b/src/order_base.h @@ -9,6 +9,8 @@ #include "oldpool.h" #include "core/bitmath_func.hpp" #include "cargo_type.h" +#include "station_type.h" +#include "vehicle_type.h" DECLARE_OLD_POOL(Order, Order, 6, 1000) @@ -40,6 +42,8 @@ struct Order : PoolItem<Order, OrderID, &_Order_pool> { void Free(); void FreeChain(); + + bool ShouldStopAtStation(const Vehicle *v, StationID station) const; }; static inline VehicleOrderID GetMaxOrderIndex() |