Fix 03cc0d6: Mark level crossings dirty when removing road from them, not from bridge...
[openttd-github.git] / src / waypoint_func.h
blob2906fa6369d59f02aaf448d45a3bc3e1cd7aedd7
1 /*
2 * This file is part of OpenTTD.
3 * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
4 * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
5 * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
6 */
8 /** @file waypoint_func.h Functions related to waypoints. */
10 #ifndef WAYPOINT_FUNC_H
11 #define WAYPOINT_FUNC_H
13 #include "rail_type.h"
14 #include "command_type.h"
15 #include "station_type.h"
17 CommandCost RemoveBuoy(TileIndex tile, DoCommandFlag flags);
19 Axis GetAxisForNewWaypoint(TileIndex tile);
20 void ShowWaypointWindow(const Waypoint *wp);
21 void DrawWaypointSprite(int x, int y, int stat_id, RailType railtype);
23 #endif /* WAYPOINT_FUNC_H */