summaryrefslogtreecommitdiff
path: root/order.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-03-04 11:15:44 +0000
committertron <tron@openttd.org>2006-03-04 11:15:44 +0000
commit87fdb129d27b3c0ddde6fb9097c091510074671b (patch)
tree4153fe3efc35c3940fcfef3f06a03d78f4f6f97f /order.h
parent4270026b4248bbaa1b1b46b099baadbd24921dd0 (diff)
downloadopenttd-87fdb129d27b3c0ddde6fb9097c091510074671b.tar.xz
(svn r3758) Remove the news validation callback. It is superseded by r3757.
Diffstat (limited to 'order.h')
-rw-r--r--order.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/order.h b/order.h
index 6f670b82b..cce9e4d80 100644
--- a/order.h
+++ b/order.h
@@ -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);