The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: Dwachs on October 18, 2009, 06:17:34 pm

Title: [patch] bridge-and-drag
Post by: Dwachs on October 18, 2009, 06:17:34 pm
This patch implements click-and-drag for bridges. And one can start bridges without having to build the way first :)

Does not work for powerlines (did not bother to add all the necessary additional checks).

No tooltips (estimated price) yet.
Title: Re: [patch] bridge-and-drag
Post by: Fabio on October 19, 2009, 06:51:37 am
sounds interesting :D
Title: Re: [patch] bridge-and-drag
Post by: gerw on November 05, 2009, 05:44:47 pm
Works like a charm. Very nice - and even better than in OTTD :)

Edit: I've tried with r2792 since there are conflicts with the last svn version.
Title: Re: [patch] bridge-and-drag
Post by: Dwachs on November 05, 2009, 08:02:24 pm
here is an update: now also powerbridges should work. no tooltips price estimate yet.
Title: Re: [patch] bridge-and-drag
Post by: Isaac Eiland-Hall on November 06, 2009, 06:58:15 am
Any chance of being able to stop a bridge halfway - that is, not have to drag from slope to slope or end tile to end tile (and have half a bridge so that you could have a zig-zag bridge)? Or is that just outside the scope of this patch?
Title: Re: [patch] bridge-and-drag
Post by: Dwachs on November 06, 2009, 07:33:44 am
Any chance of being able to stop a bridge halfway - that is, not have to drag from slope to slope or end tile to end tile (and have half a bridge so that you could have a zig-zag bridge)? Or is that just outside the scope of this patch?
This is outside the scope of the patch. One can do this iwth the combination of elevated ways and bridges. For your idea, one would need also graphics for curves, which are not available at the moment.
Title: Re: [patch] bridge-and-drag
Post by: prissi on November 06, 2009, 11:02:31 am
Dragging of bridges could be done also without starting tile, since then the end tile is defined by the dragging (if possible). And a cost preview would be cool though.
Title: Re: [patch] bridge-and-drag
Post by: Dwachs on November 06, 2009, 12:21:44 pm
Dragging of bridges could be done also without starting tile, since then the end tile is defined by the dragging (if possible). And a cost preview would be cool though.
What do you mean by 'without starting tile'? The patch enables dragging of bridges without the need to build the ways first.

Edit: Patch updated, now with tooltip that shows the costs.

The patch now also forbids to start bridges directly under a bridge tile.