Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More user-friendly bridge, tunnel and lock building. #4153

Closed
DorpsGek opened this issue Oct 4, 2010 · 8 comments
Closed

More user-friendly bridge, tunnel and lock building. #4153

DorpsGek opened this issue Oct 4, 2010 · 8 comments
Labels
component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) patch from FlySpray This issue is in fact a Patch, but imported from FlySrpay

Comments

@DorpsGek
Copy link
Member

DorpsGek commented Oct 4, 2010

uni657 opened the ticket and wrote:

  1. Highlights all possible tiles to which bridge can be successfully built.
  2. Build an aqueduct same way as a tunnel.
  3. Lock construction behaves similarly to dock: when cursor is over a sloped tile, selection is expanded to 3 tiles.

Patch is in two versions: as whole and as 3 separate parts.
http://www.tt-forums.net/viewtopic.php?f=33&t=50269

Reported version: trunk
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/4153
@DorpsGek
Copy link
Member Author

Terkhen wrote:

The lock patch has been committed (with some changes) in r20932.


This comment was imported from FlySpray: https://bugs.openttd.org/task/4153#comment8929

@DorpsGek
Copy link
Member Author

uni657 wrote:

Thanks. Do the other two patches (as a concept) fit into OpenTTD style, or they are completely out of the way?


This comment was imported from FlySpray: https://bugs.openttd.org/task/4153#comment8930

@DorpsGek
Copy link
Member Author

Terkhen wrote:

IMO showing all possible end tiles is a bit overkill. I think that highlighting only the first possible end tile in the current drag direction would suffice.


This comment was imported from FlySpray: https://bugs.openttd.org/task/4153#comment8933

@DorpsGek
Copy link
Member Author

Belugas wrote:

I do have to agree with Terkhen.
Otherwise, same should be done with a lot more than just these mentioned entities. Most revered "consistency" to keep in mind...


This comment was imported from FlySpray: https://bugs.openttd.org/task/4153#comment8951

@DorpsGek
Copy link
Member Author

uni657 wrote:

Build an aqueduct same way as a tunnel. Patch is separated to small parts.
Edit:
added part 9.

Ok, I'll modify bridge highlight patch to show only one tile. It's much more complicated than aqueduct patch, so it'll take some time. FYI it also uses DistanceFromEdgeDir function.

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/4153#comment8956

@DorpsGek
Copy link
Member Author

uni657 wrote:

Bridge highlight patch, modified to highlight only first valid end tile in the current drag direction. Requires first two parts of the "aqueduct" patch (1 Replace bridge length by constants.diff, 2 Add DistanceFromEdgeDir function.diff).

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/4153#comment8964

@DorpsGek
Copy link
Member Author

Rubidium wrote:

I'm not really seeing the point bridge changes. The aqueduct changes are committed though.


This comment was imported from FlySpray: https://bugs.openttd.org/task/4153#comment9238

@DorpsGek
Copy link
Member Author

andythenorth closed the ticket.

Reason for closing: Implemented

Partially implemented. Thanks :)

Remainder closed during mass closure of patch tickets with no commentary for >5 years. Goal is to reduce patch queue as an experiment to see if it aids faster reviewing and rejection/acceptance (it may not). If this offends you and the patch is maintained and compiles with current trunk, discuss with andythenorth in irc. (andythenorth has no ability to review patches but can re-open tickets).


This comment was imported from FlySpray: https://bugs.openttd.org/task/4153

@DorpsGek DorpsGek added component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) patch from FlySpray This issue is in fact a Patch, but imported from FlySrpay labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) patch from FlySpray This issue is in fact a Patch, but imported from FlySrpay
Projects
None yet
Development

No branches or pull requests

1 participant