diff options
author | tron <tron@openttd.org> | 2005-11-13 13:43:55 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-11-13 13:43:55 +0000 |
commit | ee15e3de13643b2d09abcc5424bf8e2d916cff75 (patch) | |
tree | 385ce09aff7cf19e072a627e83e91fe8a5f3fb3b /order.h | |
parent | 59e885c2bff5b1af6d7f5473106e9aa1f562abfd (diff) | |
download | openttd-ee15e3de13643b2d09abcc5424bf8e2d916cff75.tar.xz |
(svn r3172) static, const
Diffstat (limited to 'order.h')
-rw-r--r-- | order.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -168,7 +168,7 @@ static inline Order UnpackOrder(uint32 packed) /* Functions */ void BackupVehicleOrders(const Vehicle *v, BackuppedOrders *order); -void RestoreVehicleOrders(Vehicle *v, BackuppedOrders *order); +void RestoreVehicleOrders(const Vehicle* v, const BackuppedOrders* order); void DeleteDestinationFromVehicleOrder(Order dest); void InvalidateVehicleOrder(const Vehicle *v); bool VehicleHasDepotOrders(const Vehicle *v); @@ -176,7 +176,7 @@ bool CheckOrders(uint data_a, uint data_b); void DeleteVehicleOrders(Vehicle *v); bool IsOrderListShared(const Vehicle *v); void AssignOrder(Order *order, Order data); -bool CheckForValidOrders(Vehicle *v); +bool CheckForValidOrders(const Vehicle* v); Order UnpackVersion4Order(uint16 packed); Order UnpackOldOrder(uint16 packed); |