summaryrefslogtreecommitdiff
path: root/src/vehicle_gui.h
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2010-04-24 14:29:30 +0000
committersmatz <smatz@openttd.org>2010-04-24 14:29:30 +0000
commit4a9ef6ce6094b95f1a688ae1563d002f9ff71e07 (patch)
treedd9ba4bfa0ca5762efc6f4ccf76d531edc1354c4 /src/vehicle_gui.h
parentf56ebd81c35beb0094c487cc3dc45dc0427fae46 (diff)
downloadopenttd-4a9ef6ce6094b95f1a688ae1563d002f9ff71e07.tar.xz
(svn r19710) -Codechange: deduplicate GUI code for starting/stopping vehicles
Diffstat (limited to 'src/vehicle_gui.h')
-rw-r--r--src/vehicle_gui.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vehicle_gui.h b/src/vehicle_gui.h
index fab4b6bb6..029737204 100644
--- a/src/vehicle_gui.h
+++ b/src/vehicle_gui.h
@@ -108,6 +108,7 @@ static inline WindowClass GetWindowClassForVehicleType(VehicleType vt)
/* Unified window procedure */
void ShowVehicleViewWindow(const Vehicle *v);
+void StartStopVehicle(const Vehicle *v);
Vehicle *CheckClickOnVehicle(const struct ViewPort *vp, int x, int y);