Follow-up Comment #3, bug #6501 (project wesnoth):

Mmmmh, probably not very easy to do, because simply mirror half of the map
will be a bit ugly:
- Roads and rivers will make weird V (specially stupid for roads, since they
are build (both IRL and code) and used in game as the shortest path between 2
points)
- hills, lakes and forest will also sometimes having weird V shape. But it's
maybe acceptable.
- Coastal maps in the bad direction will have a weird lens shape, or be 2
coasts partially fused.

If we don't do the big mirroring at the end, we can instead mirror each map
changes one by one, but it's also some serious code work. And don't forget
that because of the hexagonal grid, we must have a line of hexes on both
halves, so there is maybe some special coding cases to handle.

So, not impossible because all these problems have solutions, but it's
probably some work to do it nicely. Also this code is not very simple
(randomly generated stuff are often harder to debug). However, i am currently
working a bit in this area of code, if/when i have a better grasp of this, i
will try to drop more info here.

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?6501>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to