summaryrefslogtreecommitdiff
path: root/src/vehicle_gui.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2016-08-15 18:33:52 +0000
committerfrosch <frosch@openttd.org>2016-08-15 18:33:52 +0000
commitddc920521215c38ab7e96bebb929b313758268df (patch)
tree7cf2b7ca745d1d95af0d13b82d6b7f834913e0a6 /src/vehicle_gui.h
parentcff2b493653eda314f997f998b297621eeb9e190 (diff)
downloadopenttd-ddc920521215c38ab7e96bebb929b313758268df.tar.xz
(svn r27630) -Codechange: Deduplicate code to attach vehicle to cursor.
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 83e098dcd..da98bf033 100644
--- a/src/vehicle_gui.h
+++ b/src/vehicle_gui.h
@@ -100,5 +100,6 @@ void StartStopVehicle(const Vehicle *v, bool texteffect);
Vehicle *CheckClickOnVehicle(const struct ViewPort *vp, int x, int y);
void DrawVehicleImage(const Vehicle *v, int left, int right, int y, VehicleID selection, EngineImageType image_type, int skip);
+void SetMouseCursorVehicle(const Vehicle *v, EngineImageType image_type);
#endif /* VEHICLE_GUI_H */