random map generator problem..
Moderator: Forum Moderators
Forum rules
Before reporting issues in this section, you must read the following topic:
Before reporting issues in this section, you must read the following topic:
random map generator problem..
hi, windows7, wesnoth 1.12.2 , english version
Random map only want to work with x dividable by 2.... for example putting 41x41, makes it 42x41.. 33x33 would be 34x33.. bug?
Sad if so..
Thank you!
Random map only want to work with x dividable by 2.... for example putting 41x41, makes it 42x41.. 33x33 would be 34x33.. bug?
Sad if so..
Thank you!
Re: random map generator problem..
Just resize the map after the random generation...enclave wrote:Sad if so..
Re: random map generator problem..
any example code? I couldn't find resize function. Asked on forum but nobody answered yet. I already coded my mod without sizing it, so for me problem is solved, but it exists in random map generator.. if not a bug, I don't mind, I was using map generator for long time, but noticed only after about 1 year that it can't size to some x values..
-
- Developer
- Posts: 546
- Joined: January 12th, 2011, 2:18 am
- Location: Pennsylvania, USA
Re: random map generator problem..
I remember reading the c++ code governing that a few years back. The fact that it only does even values for X is mentioned in the comments of that code.
Co-Author of Winds of Fate
My Add-ons: Random Campaign, Custom Campaign, Ultimate Random Maps, Era of Legends, Gui Debug Tools
Erfworld: The comic that lead me to find Wesnoth.
My Add-ons: Random Campaign, Custom Campaign, Ultimate Random Maps, Era of Legends, Gui Debug Tools
Erfworld: The comic that lead me to find Wesnoth.