(svn r11774) -Change: do not include variables.h in a header when it is not needed.

This commit is contained in:
rubidium
2008-01-07 00:57:19 +00:00
parent 779ce7fda9
commit 444e77d8bc
33 changed files with 56 additions and 23 deletions

View File

@@ -10,6 +10,7 @@
#include "cargo_type.h"
#include "vehicle_type.h"
#include "tile_type.h"
#include "date_type.h"
enum {
INVALID_VEH_ORDER_ID = 0xFF,
@@ -216,4 +217,18 @@ bool CheckForValidOrders(const Vehicle* v);
Order UnpackOldOrder(uint16 packed);
#define MIN_SERVINT_PERCENT 5
#define MAX_SERVINT_PERCENT 90
#define MIN_SERVINT_DAYS 30
#define MAX_SERVINT_DAYS 800
/**
* Get the service interval domain.
* Get the new proposed service interval for the vehicle is indeed, clamped
* within the given bounds. @see MIN_SERVINT_PERCENT ,etc.
* @param index proposed service interval
* @return service interval
*/
Date GetServiceIntervalClamped(uint index);
#endif /* ORDER_H */