summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2006-08-22 15:39:22 +0000
committertruelight <truelight@openttd.org>2006-08-22 15:39:22 +0000
commita4d7fa19c7164d2cc7b8d9cc975cc5463f5de694 (patch)
tree81dc6dd4513c669e4daf6e8fc79625476ba4a10d
parent0461d896123b918b492a3d16439bb46b041528cd (diff)
downloadopenttd-a4d7fa19c7164d2cc7b8d9cc975cc5463f5de694.tar.xz
(svn r6048) -Codechange: all InitializeXXX are plural, just not Depot
-rw-r--r--depot.c2
-rw-r--r--depot.h2
-rw-r--r--misc.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/depot.c b/depot.c
index 2486529f1..a9e788ed4 100644
--- a/depot.c
+++ b/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);
diff --git a/depot.h b/depot.h
index 9eda09bad..4d79e179e 100644
--- a/depot.h
+++ b/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);
diff --git a/misc.c b/misc.c
index 2f5639f35..a17dd7b01 100644
--- a/misc.c
+++ b/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();