Mercurial > hg > openttd
diff src/waypoint_func.h @ 12475:c133b51890f4 draft
(svn r16912) -Codechange: split waypoint.h in waypoint_base.h and waypoint_func.h
author | rubidium <rubidium@openttd.org> |
---|---|
date | Wed, 22 Jul 2009 10:18:19 +0000 (2009-07-22) |
parents | |
children | 843a8d074a90 |
line wrap: on
line diff
new file mode 100644 --- /dev/null +++ b/src/waypoint_func.h @@ -0,0 +1,17 @@ +/* $Id$ */ + +/** @file waypoint_func.h Functions related to waypoints. */ + +#ifndef WAYPOINT_FUNC_H +#define WAYPOINT_FUNC_H + +#include "rail_type.h" +#include "command_type.h" +#include "station_base.h" + +CommandCost RemoveTrainWaypoint(TileIndex tile, DoCommandFlag flags, bool justremove); +void ShowWaypointWindow(const Waypoint *wp); +void DrawWaypointSprite(int x, int y, int stat_id, RailType railtype); +void MakeDefaultWaypointName(Waypoint *wp); + +#endif /* WAYPOINT_FUNC_H */