Quoting Goswin von Brederlow <goswin-...@web.de>:

Matthias Pfafferodt <no-reply.invalid-addr...@gna.org> writes:

Follow-up Comment #7, bug #18087 (project freeciv):

+#define MAP_MAX_SIZE 4048
Why such a strange number? Shouldn't this be 4096?

You are right; it was 2048 in an earlier test

+#define MAX_DBV_LENGTH (4 * 1024 * 1024)
Perhaps 4096 * 1000?

Also OK; at the moment the temperature map is quit problematic. Furthermore,
there seems to be an endless loop. My computer tried for 5 hours to generate a
map of size 2000x2000. Memory requirement was at about 700MB but it was not
limiting ...

Didn't you run into the problem that detecting continents (flood fill)
runs into a stack overflow because it recurses too much?

NO; this was fixed. The version of this function in the patch does not use recursion at all but a combination of a while loop and a tile list.

Matthias (aka syntron)


MfG
        Goswin





----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to