Add shift-clicking on vehicle depot button to select specific depot.

This commit is contained in:
Jonathan G Rennison
2016-11-28 20:17:53 +00:00
parent b80e55d3ec
commit 55e57fd07d
6 changed files with 76 additions and 11 deletions

View File

@@ -819,7 +819,7 @@ public:
*/
virtual bool FindClosestDepot(TileIndex *location, DestinationID *destination, bool *reverse) { return false; }
CommandCost SendToDepot(DoCommandFlag flags, DepotCommand command);
CommandCost SendToDepot(DoCommandFlag flags, DepotCommand command, TileIndex specific_depot = 0);
void UpdateVisualEffect(bool allow_power_change = true);
void ShowVisualEffect() const;