FS#2402 - faster cloning

Attached to Project: OpenTTD
Opened by Ott (Antdovu) - Monday, 10 November 2008, 20:26 GMT
Last edited by andythenorth (andythenorth) - Saturday, 05 August 2017, 18:58 GMT
Type Patch
Category Interface
Status Closed
Assigned To andythenorth (andythenorth)
Operating System All
Severity Low
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


This patch lets you build N clones (trains, ships, road vehicles, etc.) at once. This behaviour is triggered by double-clicking on the "clone vehicle" button in a depot. Otherwise you shouldn't notice any difference as a single click will still yield the old behaviour.
This task depends upon

Closed by  andythenorth (andythenorth)
Saturday, 05 August 2017, 18:58 GMT
Reason for closing:  Won't implement
Additional comments about closing:  ctrl-click clone button on the vehicle window. Nearly 10 years old, not likely to change.
Comment by Ott (Antdovu) - Wednesday, 12 November 2008, 11:24 GMT
Improved double-click detection.
Comment by Peter Nelson (peter1138) - Tuesday, 06 January 2009, 11:27 GMT
Cloning is already very simple, and that your patch needs to modify command.cpp is huge no no.
Comment by Timitry (Timitry) - Thursday, 08 January 2009, 10:26 GMT
Well, cloning a lot of trains requires a lot of clicks, so i think that this patch is a good idea. If it's not doable like this, maybe we could have a persistenst clone-button, so we would only have to press it once and then click on a train as much times as we need clones...