Mercurial > hg > openttd
diff src/waypoint.h @ 12391:b7b1110f6c24 draft
(svn r16821) -Codechange: unify the naming of type::UpdateVirtCoord and UpdateAll[Type]VirtCoords.
author | rubidium <rubidium@openttd.org> |
---|---|
date | Mon, 13 Jul 2009 22:33:25 +0000 (2009-07-13) |
parents | 1e953af1fb5f |
children | 0f2c3c5e5288 |
line wrap: on
line diff
--- a/src/waypoint.h +++ b/src/waypoint.h @@ -37,6 +37,8 @@ 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 @@ 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 */