forked from mirror/OpenTTD
(svn r1525) -Codechange: rewrote the _order_array, now it can be made dynamic.
-Codechange: renamed all 'schedule' stuff to 'order(list)' -Codechange: moved all order-stuff to order_cmd.c / order.h -Codechange: vehicles that share orders are now linked to eachother with next_shared/prev_shared in Vehicle Developers: please use AssignOrder to assign data to an order. If not, you _WILL_ make the save-routine to assert!
This commit is contained in:
4
misc.c
4
misc.c
@@ -150,6 +150,8 @@ void CSleep(int milliseconds)
|
||||
#endif
|
||||
}
|
||||
|
||||
void InitializeVehicles();
|
||||
void InitializeOrders();
|
||||
void InitializeClearLand();
|
||||
void InitializeRail();
|
||||
void InitializeRailGui();
|
||||
@@ -206,7 +208,7 @@ void InitializeGame()
|
||||
}
|
||||
|
||||
InitializeVehicles();
|
||||
_backup_orders_tile = 0;
|
||||
InitializeOrders();
|
||||
|
||||
InitNewsItemStructs();
|
||||
InitializeLandscape();
|
||||
|
Reference in New Issue
Block a user