summaryrefslogtreecommitdiff
path: root/src/waypoint.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-07-13 22:33:25 +0000
committerrubidium <rubidium@openttd.org>2009-07-13 22:33:25 +0000
commite067d4a4b87d2c4b4fa92f24d241a88cb8432e38 (patch)
treef0528a4fd03a2b0bdb8ba6ddf08f48e76c4f0aac /src/waypoint.h
parentdb63e1ad82537ea7b278c64b2a5383afd1bfbc5c (diff)
downloadopenttd-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.h5
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 */