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

Drag&Draw Terraform #2001

Closed
DorpsGek opened this issue May 10, 2008 · 9 comments
Closed

Drag&Draw Terraform #2001

DorpsGek opened this issue May 10, 2008 · 9 comments
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

Roujin opened the ticket and wrote:

[Split off from my terraforming patch]

This adds Drag&Draw behavior to the raise and lower tool in the scenario editor, when size is set to 1.

I've thrown out all the other stuff. And tidied the whole thing up and added comments.
Don't know what to say more, so here's a screenshot.

Attachments

Reported version: trunk
Operating system: All


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

Roujin wrote:

Due to the changes in trunk regarding viewport/window stuff, here's an update to the new way of handling stuff in viewport.cpp.

Also threw out some unneeded stuff and applied some coding style.

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/2001#comment4115

@DorpsGek
Copy link
Member Author

Roujin wrote:

Updated. No changes done. Please comment? :/

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/2001#comment4125

@DorpsGek
Copy link
Member Author

Roujin wrote:

Okay, major trunk changes in window code outdated this :D
Going to rewrite it soon'ish... hope it gets more chances when you're done with the window stuff ;)


This comment was imported from FlySpray: https://bugs.openttd.org/task/2001#comment4152

@DorpsGek
Copy link
Member Author

Roujin wrote:

I have posted my newest approach in combination with a question in the forums here: http://www.tt-forums.net/viewtopic.php?f=33&t=35627&p=692343# p692343

It's a major rehaul, I think it is quite clean and understandable now, please do have a look at it and help me :)


This comment was imported from FlySpray: https://bugs.openttd.org/task/2001#comment4155

@DorpsGek
Copy link
Member Author

Roujin wrote:

.diff updated to r13265...

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/2001#comment4184

@DorpsGek
Copy link
Member Author

DorpsGek commented Jun 8, 2008

Roujin wrote:

Here's an update to trunk. Hope you haven't forgotten me...

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/2001#comment4246

@DorpsGek
Copy link
Member Author

SmatZ wrote:

Hello,

thanks for patches. What do you think about idea to raise/lower to different height? It could be done by dragging or after timeout while satying at the same tile.


This comment was imported from FlySpray: https://bugs.openttd.org/task/2001#comment4360

@DorpsGek
Copy link
Member Author

Roujin wrote:

There is a problem with that.
If I raise one edge, the mouse cursor might move to another tile due to the changed surface. Now there's one pesky spot where, if multi-height raising were allowed, the mouse cursor would move back and forth between two edges, raising every time, until we have a little mountain. This happens so fast that it's not controllable by the user.

This also won't be prevented by the proposed timeout, because we're not staying at the same tile when that happens, but jump between two tiles.


This comment was imported from FlySpray: https://bugs.openttd.org/task/2001#comment4378

@DorpsGek
Copy link
Member Author

andythenorth closed the ticket.

Reason for closing: Won't implement

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/2001

@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