diff options
author | michi_cc <michi_cc@openttd.org> | 2011-12-13 00:43:48 +0000 |
---|---|---|
committer | michi_cc <michi_cc@openttd.org> | 2011-12-13 00:43:48 +0000 |
commit | 34ffd08a19e1156260223256d87a4cdfa7a080e0 (patch) | |
tree | aa2314af8b03b75a242e3f488acf53a9b07d0a47 /src/order_func.h | |
parent | def8e7215bdabee99ad49adedb8730ae33b6c47f (diff) | |
download | openttd-34ffd08a19e1156260223256d87a4cdfa7a080e0.tar.xz |
(svn r23505) -Add: Indication in the order list if the next destination of an order is out of range.
Diffstat (limited to 'src/order_func.h')
-rw-r--r-- | src/order_func.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/order_func.h b/src/order_func.h index ba3d7e6b5..abdbf3f55 100644 --- a/src/order_func.h +++ b/src/order_func.h @@ -24,6 +24,7 @@ void DeleteVehicleOrders(Vehicle *v, bool keep_orderlist = false, bool reset_ord bool ProcessOrders(Vehicle *v); bool UpdateOrderDest(Vehicle *v, const Order *order, int conditional_depth = 0, bool pbs_look_ahead = false); VehicleOrderID ProcessConditionalOrder(const Order *order, const Vehicle *v); +uint GetOrderDistance(const Order *prev, const Order *cur, const Vehicle *v, int conditional_depth = 0); void DrawOrderString(const Vehicle *v, const Order *order, int order_index, int y, bool selected, bool timetable, int left, int middle, int right); |