diff options
author | tron <tron@openttd.org> | 2006-03-04 11:15:44 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-03-04 11:15:44 +0000 |
commit | 87fdb129d27b3c0ddde6fb9097c091510074671b (patch) | |
tree | 4153fe3efc35c3940fcfef3f06a03d78f4f6f97f /order.h | |
parent | 4270026b4248bbaa1b1b46b099baadbd24921dd0 (diff) | |
download | openttd-87fdb129d27b3c0ddde6fb9097c091510074671b.tar.xz |
(svn r3758) Remove the news validation callback. It is superseded by r3757.
Diffstat (limited to 'order.h')
-rw-r--r-- | order.h | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -70,11 +70,6 @@ enum { CO_UNSHARE = 2 }; -/* Modes for the order checker */ -enum { - OC_INIT = 0, //the order checker can initialize a news message - OC_VALIDATE = 1, //the order checker validates a news message -}; /* If you change this, keep in mind that it is saved on 3 places: - Load_ORDR, all the global orders @@ -172,7 +167,7 @@ void RestoreVehicleOrders(const Vehicle* v, const BackuppedOrders* order); void DeleteDestinationFromVehicleOrder(Order dest); void InvalidateVehicleOrder(const Vehicle *v); bool VehicleHasDepotOrders(const Vehicle *v); -bool CheckOrders(uint data_a, uint data_b); +void CheckOrders(const Vehicle*); void DeleteVehicleOrders(Vehicle *v); bool IsOrderListShared(const Vehicle *v); void AssignOrder(Order *order, Order data); |