diff options
author | rubidium <rubidium@openttd.org> | 2010-12-22 21:16:34 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-12-22 21:16:34 +0000 |
commit | a38a1e7b0dc7984231cfdbde2b0083d0c77caf9b (patch) | |
tree | d2b3ee3c5de6a1ec9fe08895d11e8f443ce1d662 /src/order_base.h | |
parent | fba9670a62db1b418246017583559b7272bc8530 (diff) | |
download | openttd-a38a1e7b0dc7984231cfdbde2b0083d0c77caf9b.tar.xz |
(svn r21602) -Codechange: split actual adding/removing of orders to/from a vehicle's order list from the validation of those (user) commands. Based on patch by fonsinchen
Diffstat (limited to 'src/order_base.h')
-rw-r--r-- | src/order_base.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/order_base.h b/src/order_base.h index 47f0b6d93..2b605925b 100644 --- a/src/order_base.h +++ b/src/order_base.h @@ -254,6 +254,9 @@ public: void ConvertFromOldSavegame(); }; +void InsertOrder(Vehicle *v, Order *new_o, VehicleOrderID sel_ord); +void DeleteOrder(Vehicle *v, VehicleOrderID sel_ord); + /** * Shared order list linking together the linked list of orders and the list * of vehicles sharing this order list. |