summaryrefslogtreecommitdiff
path: root/src/order_func.h
diff options
context:
space:
mode:
authormichi_cc <michi_cc@openttd.org>2011-12-13 00:43:48 +0000
committermichi_cc <michi_cc@openttd.org>2011-12-13 00:43:48 +0000
commit34ffd08a19e1156260223256d87a4cdfa7a080e0 (patch)
treeaa2314af8b03b75a242e3f488acf53a9b07d0a47 /src/order_func.h
parentdef8e7215bdabee99ad49adedb8730ae33b6c47f (diff)
downloadopenttd-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.h1
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);