(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

This commit is contained in:
smatz
2010-09-06 14:14:09 +00:00
parent d2572f94d2
commit fd54943c7a
11 changed files with 77 additions and 111 deletions

View File

@@ -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.
*/