diff options
author | rubidium <rubidium@openttd.org> | 2010-12-26 09:03:19 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-12-26 09:03:19 +0000 |
commit | 64f04c3a74be3769a3e0bbf2e1c68bd27d6579eb (patch) | |
tree | 8608582c367f18f6c6669751ca8f0374e9f6a54d /src/vehicle_base.h | |
parent | 8a278f771163b11074d23a573840af7b945abb8c (diff) | |
download | openttd-64f04c3a74be3769a3e0bbf2e1c68bd27d6579eb.tar.xz |
(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
Diffstat (limited to 'src/vehicle_base.h')
-rw-r--r-- | src/vehicle_base.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 |