summaryrefslogtreecommitdiff
path: root/src/waypoint.h
diff options
context:
space:
mode:
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 */