summaryrefslogtreecommitdiff
path: root/src/waypoint_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-05-01 19:51:52 +0000
committerrubidium <rubidium@openttd.org>2011-05-01 19:51:52 +0000
commit5a620d1c6592057b500f0889eef8949dc1e95e4b (patch)
treedabae6247490fdea860bea292bb8eee49ce46fe4 /src/waypoint_gui.cpp
parent1a515e6344028854c855671c19f49d8f869eb18f (diff)
downloadopenttd-5a620d1c6592057b500f0889eef8949dc1e95e4b.tar.xz
(svn r22406) -Document: some more "random-ish" tidbits
Diffstat (limited to 'src/waypoint_gui.cpp')
-rw-r--r--src/waypoint_gui.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/waypoint_gui.cpp b/src/waypoint_gui.cpp
index bca642b3d..0ece60177 100644
--- a/src/waypoint_gui.cpp
+++ b/src/waypoint_gui.cpp
@@ -54,6 +54,11 @@ private:
}
public:
+ /**
+ * Construct the window.
+ * @param desc The description of the window.
+ * @param window_number The window number, in this case the waypoint's ID.
+ */
WaypointWindow(const WindowDesc *desc, WindowNumber window_number) : Window()
{
this->wp = Waypoint::Get(window_number);