diff options
author | smatz <smatz@openttd.org> | 2010-09-06 14:14:09 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2010-09-06 14:14:09 +0000 |
commit | fd54943c7a0dfa421eaa403b1cd18f06ccc4c6b9 (patch) | |
tree | 28bbfab27e7cc9042011a294c6fa49f5800ea8bd /src/window_gui.h | |
parent | d2572f94d229ede57a9d5887c3f5de981d30ab43 (diff) | |
download | openttd-fd54943c7a0dfa421eaa403b1cd18f06ccc4c6b9.tar.xz |
(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
Diffstat (limited to 'src/window_gui.h')
-rw-r--r-- | src/window_gui.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 @@ -636,6 +636,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. */ virtual void OnPlaceObjectAbort() {} |