diff options
author | rubidium <rubidium@openttd.org> | 2009-07-13 22:33:25 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-07-13 22:33:25 +0000 |
commit | e067d4a4b87d2c4b4fa92f24d241a88cb8432e38 (patch) | |
tree | f0528a4fd03a2b0bdb8ba6ddf08f48e76c4f0aac /src/waypoint.h | |
parent | db63e1ad82537ea7b278c64b2a5383afd1bfbc5c (diff) | |
download | openttd-e067d4a4b87d2c4b4fa92f24d241a88cb8432e38.tar.xz |
(svn r16821) -Codechange: unify the naming of type::UpdateVirtCoord and UpdateAll[Type]VirtCoords.
Diffstat (limited to 'src/waypoint.h')
-rw-r--r-- | src/waypoint.h | 5 |
1 files changed, 3 insertions, 2 deletions
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 */ |