summaryrefslogtreecommitdiff
path: root/src/timetable_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-05-01 19:14:12 +0000
committerrubidium <rubidium@openttd.org>2011-05-01 19:14:12 +0000
commit1a515e6344028854c855671c19f49d8f869eb18f (patch)
treee1bba97c1a8fd80f564729cc2d5fc2049110cb2a /src/timetable_gui.cpp
parentb27dd1dcd7375dae63724879eb0f56dd703e5312 (diff)
downloadopenttd-1a515e6344028854c855671c19f49d8f869eb18f.tar.xz
(svn r22405) -Document: some more "random-ish" tidbits
Diffstat (limited to 'src/timetable_gui.cpp')
-rw-r--r--src/timetable_gui.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/timetable_gui.cpp b/src/timetable_gui.cpp
index 09e3df844..1474de40d 100644
--- a/src/timetable_gui.cpp
+++ b/src/timetable_gui.cpp
@@ -670,6 +670,10 @@ static const WindowDesc _timetable_desc(
_nested_timetable_widgets, lengthof(_nested_timetable_widgets)
);
+/**
+ * Show the timetable for a given vehicle.
+ * @param v The vehicle to show the timetable for.
+ */
void ShowTimetableWindow(const Vehicle *v)
{
DeleteWindowById(WC_VEHICLE_DETAILS, v->index, false);