Mercurial > hg > openttd
diff src/waypoint.cpp @ 6247:57363e064324 draft
(svn r9050) -Codechange: Foo(void) -> Foo()
author | rubidium <rubidium@openttd.org> |
---|---|
date | Wed, 07 Mar 2007 11:47:46 +0000 (2007-03-07) |
parents | c1f9a00926f0 |
children | fc703c6dc92c |
line wrap: on
line diff
--- a/src/waypoint.cpp +++ b/src/waypoint.cpp @@ -40,7 +40,7 @@ DEFINE_OLD_POOL(Waypoint, Waypoint, WaypointPoolNewBlock, NULL) /* Create a new waypoint */ -static Waypoint* AllocateWaypoint(void) +static Waypoint* AllocateWaypoint() { Waypoint *wp; @@ -82,7 +82,7 @@ } /* Update all signs */ -void UpdateAllWaypointSigns(void) +void UpdateAllWaypointSigns() { Waypoint *wp; @@ -151,7 +151,7 @@ * Update waypoint graphics id against saved GRFID/localidx. * This is to ensure the chosen graphics are correct if GRF files are changed. */ -void AfterLoadWaypoints(void) +void AfterLoadWaypoints() { Waypoint *wp; @@ -254,7 +254,7 @@ } /* Daily loop for waypoints */ -void WaypointsDailyLoop(void) +void WaypointsDailyLoop() { Waypoint *wp; @@ -379,7 +379,7 @@ } /* Fix savegames which stored waypoints in their old format */ -void FixOldWaypoints(void) +void FixOldWaypoints() { Waypoint *wp; @@ -394,7 +394,7 @@ } } -void InitializeWaypoints(void) +void InitializeWaypoints() { CleanPool(&_Waypoint_pool); AddBlockToPool(&_Waypoint_pool); @@ -416,7 +416,7 @@ SLE_END() }; -static void Save_WAYP(void) +static void Save_WAYP() { Waypoint *wp; @@ -426,7 +426,7 @@ } } -static void Load_WAYP(void) +static void Load_WAYP() { int index;