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

Improved drag-placing of signals on non-diagonal tracks #401

Closed
DorpsGek opened this issue Nov 14, 2006 · 1 comment
Closed

Improved drag-placing of signals on non-diagonal tracks #401

DorpsGek opened this issue Nov 14, 2006 · 1 comment
Labels
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

d37373 opened the ticket and wrote:

Currently, placing signals by dragging uses different spacing on diagonal and non-diagonal tracks. A patch setting of "Place a tile every 4" leaves a gap of 3 tile-lengths on diagonals but 3.5 on non-diagonals. This is because the signal itself only takes up half a length.

The attached code (diff from r7149) fixes this by reducing the counter by 1 on non-diagonal tracks, and coping with the associated change of track (TRACK_LEFT to TRACK_RIGHT, etc.)

Attachments

Reported version: trunk
Operating system: All


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

andythenorth closed the ticket.

Reason for closing: Won't implement

Flyspray clean up: more than 5 years old, and not obvious what should be done with this next, so closing. If this offends, discuss with andythenorth in irc. Thanks.


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

@DorpsGek DorpsGek added Core 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 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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