(svn r6144) -Codechange: renamed OrderID to VehicleOrderID, because it had nothing to do

with the Order-pool, but with the place of the order within the vehicle-order 
 (hence its name) (part of FS#13, blathijs)
This commit is contained in:
truelight
2006-08-26 17:12:24 +00:00
parent 5dc121d1c1
commit 39ae8d29e1
4 changed files with 10 additions and 10 deletions

View File

@@ -89,7 +89,7 @@ typedef struct Order {
typedef struct {
VehicleID clone;
OrderID orderindex;
VehicleOrderID orderindex;
Order order[MAX_BACKUP_ORDER_COUNT + 1];
uint16 service_interval;
char name[32];
@@ -116,7 +116,7 @@ static inline uint16 GetOrderPoolSize(void)
return _order_pool.total_items;
}
static inline OrderID GetOrderArraySize(void)
static inline VehicleOrderID GetOrderArraySize(void)
{
/* TODO - This isn't the real content of the function, but
* with the new pool-system this will be replaced with one that