4 * This file is part of OpenTTD.
5 * 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.
6 * 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.
7 * 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/>.
10 /** @file waypoint_func.h Functions related to waypoints. */
12 #ifndef WAYPOINT_FUNC_H
13 #define WAYPOINT_FUNC_H
15 #include "rail_type.h"
16 #include "command_type.h"
17 #include "station_type.h"
19 CommandCost
RemoveBuoy(TileIndex tile
, DoCommandFlag flags
);
21 Axis
GetAxisForNewWaypoint(TileIndex tile
);
22 void ShowWaypointWindow(const Waypoint
*wp
);
23 void DrawWaypointSprite(int x
, int y
, int stat_id
, RailType railtype
);
25 #endif /* WAYPOINT_FUNC_H */