From e067d4a4b87d2c4b4fa92f24d241a88cb8432e38 Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 13 Jul 2009 22:33:25 +0000 Subject: (svn r16821) -Codechange: unify the naming of type::UpdateVirtCoord and UpdateAll[Type]VirtCoords. --- src/waypoint.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/waypoint.h') diff --git a/src/waypoint.h b/src/waypoint.h index 6094c20c5..40b5822e1 100644 --- a/src/waypoint.h +++ b/src/waypoint.h @@ -37,6 +37,8 @@ struct Waypoint : WaypointPool::PoolItem<&_waypoint_pool> { Waypoint(TileIndex tile = INVALID_TILE) : xy(tile) { } ~Waypoint(); + + void UpdateVirtCoord(); }; #define FOR_ALL_WAYPOINTS_FROM(var, start) FOR_ALL_ITEMS_FROM(Waypoint, waypoint_index, var, start) @@ -58,7 +60,6 @@ CommandCost RemoveTrainWaypoint(TileIndex tile, DoCommandFlag flags, bool justre Station *ComposeWaypointStation(TileIndex tile); void ShowWaypointWindow(const Waypoint *wp); void DrawWaypointSprite(int x, int y, int stat_id, RailType railtype); -void UpdateAllWaypointSigns(); -void UpdateWaypointSign(Waypoint *wp); +void UpdateAllWaypointVirtCoords(); #endif /* WAYPOINT_H */ -- cgit v1.2.3-54-g00ecf