glob2-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [glob2-devel] Random maps


From: Leo Wandersleb
Subject: Re: [glob2-devel] Random maps
Date: Tue, 17 Jan 2006 01:15:50 +0100
User-agent: Mozilla Thunderbird 1.0.7 (X11/20050923)

Here are two bugs I found when playing around with it:

1) If you put the water all the way to 99, it crashes!

crashes? it simply doesn't find i valid map if water is 99 and grass/sand/desert is 0. try with water=1 and the others=0 and you get the same. what i was planing to do is to interprete these numbers not as direct ratios but as hints to if the user wants much or few of something. so you would always have 15%water and 15% grass. or i simply clip these to 15%.

2) It never places stone!  (Is this known?)

it is known. should i put a quick hack in place (if !rand()%200 place stone) i will not have time for more before the weekend (just got home from work and have to be there in 8h again)

greetz, leo wandersleb




reply via email to

[Prev in Thread] Current Thread [Next in Thread]