Follow-up Comment #9, bug #3870 (project wesnoth):
:-)
You are welcome, it was an interesting mathematical challenge. Well, the core
algorithm is just 3 lines, but I first needed to clean the related map-utility
functions for fixing an other editor bug, and these conversion between
cartesian and hexagonal systems are often tricky. Anyway, the related code is
now simpler.
Oh and thanks, just explaining this gave me an idea how to simplify it more
:)
Note that the interface is probably not the final one (maybe acting on the
clipboard instead of the selection or adding rotation in the other direction,
but i don't want to overload the menu). Anyway, I will continue this later.
Now the main function is ready both in code and in the editor, so it will be
easy to polish the interface, and smart users can start to work with it by
using other map functions (clipboard, resize map to have a "work area" etc..)
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?3870>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs