diff options
author | yexo <yexo@openttd.org> | 2009-08-18 18:51:42 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2009-08-18 18:51:42 +0000 |
commit | 67106dc0633c50ef6545d0ab6253384b276ab40e (patch) | |
tree | 09964556afb30a650b4549b0a919ba38230e363a /src/ai/api/ai_order.hpp | |
parent | 58a0ff945c4025e20e30868c8774c8528909600c (diff) | |
download | openttd-67106dc0633c50ef6545d0ab6253384b276ab40e.tar.xz |
(svn r17214) -Add [NoAI]: GetAPIVersion() as optional function in info.nut. Return "0.7" to get an api compatible (as much as possible) with the 0.7 api or "0.8" to get the latest api.
-Change [NoAI]: move all deprecated functions to a separate squirrel script that is only loaded if an AI requests an old API version.
Diffstat (limited to 'src/ai/api/ai_order.hpp')
-rw-r--r-- | src/ai/api/ai_order.hpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/ai/api/ai_order.hpp b/src/ai/api/ai_order.hpp index c04ffd799..1f56d458e 100644 --- a/src/ai/api/ai_order.hpp +++ b/src/ai/api/ai_order.hpp @@ -404,11 +404,6 @@ public: static bool SetOrderFlags(VehicleID vehicle_id, OrderPosition order_position, AIOrderFlags order_flags); /** - * @Deprecated, use SetOrderFlags instead. - */ - static bool ChangeOrder(VehicleID vehicle_id, OrderPosition order_position, AIOrderFlags order_flags); - - /** * Move an order inside the orderlist * @param vehicle_id The vehicle to move the orders. * @param order_position_move The order to move. |