From 64f04c3a74be3769a3e0bbf2e1c68bd27d6579eb Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 26 Dec 2010 09:03:19 +0000 Subject: (svn r21642) -Feature: concept of automatic station orders; add stub orders for intermediate stations and remove them when not visiting them anymore. This allows you to see what trains visit a station without actually having to order a vehicle to stop at all stations. Based on patch by fonsinchen --- src/vehicle_base.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/vehicle_base.h') diff --git a/src/vehicle_base.h b/src/vehicle_base.h index 381a5e3f6..2d59c3795 100644 --- a/src/vehicle_base.h +++ b/src/vehicle_base.h @@ -662,6 +662,8 @@ public: return (this->orders.list == NULL) ? NULL : this->orders.list->GetOrderAt(index); } + Order *GetNextManualOrder(int index) const; + /** * Returns the last order of a vehicle, or NULL if it doesn't exists * @return last order of a vehicle, if available -- cgit v1.2.3-54-g00ecf