Fix: Don't allow right-click to close world generation progress window. (#13084)
[openttd-github.git] / src / waypoint_func.h
blob62ae0ea6cb697ec66942f326ee534062a1a537cf
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 enum StationClassID : uint16_t;
19 CommandCost RemoveBuoy(TileIndex tile, DoCommandFlag flags);
21 Axis GetAxisForNewRailWaypoint(TileIndex tile);
22 Axis GetAxisForNewRoadWaypoint(TileIndex tile);
23 void ShowWaypointWindow(const Waypoint *wp);
24 void DrawWaypointSprite(int x, int y, StationClassID station_class, uint16_t station_type, RailType railtype);
26 #endif /* WAYPOINT_FUNC_H */