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

diagonal leveling and demolishing #2320

Closed
DorpsGek opened this issue Sep 26, 2008 · 1 comment
Closed

diagonal leveling and demolishing #2320

DorpsGek opened this issue Sep 26, 2008 · 1 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

Comments

@DorpsGek
Copy link
Member

fonsinchen opened the ticket and wrote:

These patches allow you to level and clear land diagonally instead of orthogonally by holding the CTRL key while dragging. This is very useful when laying stretches of diagonal railway track. Without this patch it takes ages because you have to lower/raise/clear every affected tile seperately.

One version is implemented using C++ style iterators, one using Java style iterators (which I'd prefer, due to their elegance). As a side effect it also introduces an iteretor to cycle over tiles in an orthogonal fashion which can be used instead of the tile loop macros in less performance critical places.

The tile looping could also be achieved with a bazillion different iterator styles or with macros and if I knew the developers' particular (and hopefully collective) taste in this matter I'd implement it.

Attachments

Reported version: trunk
Operating system: All


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

SmatZ closed the ticket.

Reason for closing: Duplicate

#730, added a comment about this task


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

@DorpsGek DorpsGek added component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) duplicate 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
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