mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-01-22 23:26:34 +00:00
(svn r6048) -Codechange: all InitializeXXX are plural, just not Depot
This commit is contained in:
parent
0461d89612
commit
a4d7fa19c7
2
depot.c
2
depot.c
@ -100,7 +100,7 @@ void DoDeleteDepot(TileIndex tile)
|
||||
DeleteWindowById(WC_VEHICLE_DEPOT, tile);
|
||||
}
|
||||
|
||||
void InitializeDepot(void)
|
||||
void InitializeDepots(void)
|
||||
{
|
||||
CleanPool(&_depot_pool);
|
||||
AddBlockToPool(&_depot_pool);
|
||||
|
2
depot.h
2
depot.h
@ -110,7 +110,7 @@ static inline bool CanBuildDepotByTileh(uint32 direction, Slope tileh)
|
||||
|
||||
|
||||
Depot *GetDepotByTile(TileIndex tile);
|
||||
void InitializeDepot(void);
|
||||
void InitializeDepots(void);
|
||||
Depot *AllocateDepot(void);
|
||||
void DoDeleteDepot(TileIndex tile);
|
||||
|
||||
|
4
misc.c
4
misc.c
@ -74,7 +74,7 @@ uint InteractiveRandomRange(uint max)
|
||||
|
||||
void InitializeVehicles(void);
|
||||
void InitializeWaypoints(void);
|
||||
void InitializeDepot(void);
|
||||
void InitializeDepots(void);
|
||||
void InitializeEngines(void);
|
||||
void InitializeOrders(void);
|
||||
void InitializeClearLand(void);
|
||||
@ -115,7 +115,7 @@ void InitializeGame(int mode, uint size_x, uint size_y)
|
||||
InitializeEngines();
|
||||
InitializeVehicles();
|
||||
InitializeWaypoints();
|
||||
InitializeDepot();
|
||||
InitializeDepots();
|
||||
InitializeOrders();
|
||||
|
||||
InitNewsItemStructs();
|
||||
|
Loading…
Reference in New Issue
Block a user