From fd54943c7a0dfa421eaa403b1cd18f06ccc4c6b9 Mon Sep 17 00:00:00 2001 From: smatz Date: Mon, 6 Sep 2010 14:14:09 +0000 Subject: (svn r20753) -Feature [FS#3999]: make it possible to select vehicle to clone and vehicle to clone orders from directly from vehicle lists and depot window --- src/window_gui.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/window_gui.h') diff --git a/src/window_gui.h b/src/window_gui.h index 005c8a570..d6ef9a055 100644 --- a/src/window_gui.h +++ b/src/window_gui.h @@ -635,6 +635,12 @@ public: */ virtual void OnPlaceObject(Point pt, TileIndex tile) {} + /** + * The user clicked on a vehicle while HT_VEHICLE has been set. + * @param v clicked vehicle. It is guaranteed to be v->IsPrimaryVehicle() == true + */ + virtual void OnVehicleSelect(const struct Vehicle *v) {} + /** * The user cancelled a tile highlight mode that has been set. */ -- cgit v1.2.3-54-g00ecf