mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-13 09:39:10 +00:00
(svn r1817) -Codechange: Moved depot-functions to depot.c
-Codechange: Added wrappers around depot-access (GetDepot no exists) -Codechange: Made depot-functions a bit more logic (no longer GetDepotByTile crashes your game when you request it on a non-depot tile) -Add: made depots dynamic (yes, 64k depots are possible now)
This commit is contained in:
2
misc.c
2
misc.c
@@ -156,6 +156,7 @@ void CSleep(int milliseconds)
|
||||
}
|
||||
|
||||
void InitializeVehicles(void);
|
||||
void InitializeDepot(void);
|
||||
void InitializeOrders(void);
|
||||
void InitializeClearLand(void);
|
||||
void InitializeRail(void);
|
||||
@@ -216,6 +217,7 @@ void InitializeGame(uint log_x, uint log_y)
|
||||
}
|
||||
|
||||
InitializeVehicles();
|
||||
InitializeDepot();
|
||||
InitializeOrders();
|
||||
|
||||
InitNewsItemStructs();
|
||||
|
Reference in New Issue
Block a user