News:

Want to praise Simutrans?
Your feedback is important for us ;D.

[patch] bridge-and-drag

Started by Dwachs, October 18, 2009, 06:17:34 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dwachs

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.
Parsley, sage, rosemary, and maggikraut.

Fabio


gerw

#2
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.

Dwachs

here is an update: now also powerbridges should work. no tooltips price estimate yet.
Parsley, sage, rosemary, and maggikraut.

Isaac Eiland-Hall

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?

Dwachs

Quote from: 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?
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.
Parsley, sage, rosemary, and maggikraut.

prissi

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.

Dwachs

#7
Quote from: 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.
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.
Parsley, sage, rosemary, and maggikraut.