(svn r15616) -Change [API CHANGE]: Rename AIOrder::ChangeOrder() to AIOrder::SetOrderFlags().

This commit is contained in:
yexo
2009-03-04 23:12:48 +00:00
parent 15e9fdd47a
commit 890c5e3ae4
5 changed files with 28 additions and 15 deletions

View File

@@ -339,9 +339,9 @@ public:
#ifndef DOXYGEN_SKIP
/**
* Internal function to help ChangeOrder.
* Internal function to help SetOrderFlags.
*/
static bool _ChangeOrder();
static bool _SetOrderFlags();
#endif /* DOXYGEN_SKIP */
/**
@@ -354,6 +354,11 @@ public:
* @exception AIError::ERR_OWNED_BY_ANOTHER_COMPANY
* @return True if and only if the order was changed.
*/
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);
/**