summaryrefslogtreecommitdiff
path: root/src/waypoint_func.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-07-22 10:18:19 +0000
committerrubidium <rubidium@openttd.org>2009-07-22 10:18:19 +0000
commitcb0409fe529586fc85cf3a1f7526c2ad6f9a53d6 (patch)
tree06dbe1abe0377239177fb7909877f9cfdf14f057 /src/waypoint_func.h
parent565b99db223824ae1bf9dd10ffdc075753ce2050 (diff)
downloadopenttd-cb0409fe529586fc85cf3a1f7526c2ad6f9a53d6.tar.xz
(svn r16912) -Codechange: split waypoint.h in waypoint_base.h and waypoint_func.h
Diffstat (limited to 'src/waypoint_func.h')
-rw-r--r--src/waypoint_func.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/waypoint_func.h b/src/waypoint_func.h
new file mode 100644
index 000000000..480f690b5
--- /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 */