Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2004:
[Freeciv-Dev] Re: (PR#10722) Not enough grasslands/plains
Home

[Freeciv-Dev] Re: (PR#10722) Not enough grasslands/plains

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: miky40@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#10722) Not enough grasslands/plains
From: "Marcelo Burda" <mburda@xxxxxxxxx>
Date: Mon, 8 Nov 2004 14:30:29 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=10722 >

Le lundi 08 novembre 2004 à 07:44 -0800, Mateusz Stefek a écrit :
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=10722 >
> 
> > [mburda - Sun Nov 07 15:13:07 2004]:
> > 
> > oups! i forget the patch
> > 
> > there is the math to define Xxx_pct vars to be tuned for 2.0, this will
> > disapear complety in 2.1 when this info will be get from ruleset.
> > 
> > Marcelo
> > 
>  
>    /* 6 %  if wetness == 50 && temperature == 50 */
> -  swamp_pct = factor * (map.wetness * 6 + map.temperature * 6);
> -  desert_pct = factor * (map.temperature * 10 + (100 - map.wetness) * 10) ;
> +  swamp_pct = factor * MAX(0, 
> +                        (map.wetness * 9 - 150 + map.temperature * 6));
> +  desert_pct =factor * MAX(0,
> +             (map.temperature * 15 - 250 + (100 - map.wetness) * 10)) ;
>  }
> 
> Actually this code isn't changing anything. It only makes these options
> values more bold.
? yes this change something, but not the default value!, if you do a
more closed read of comments, you will see that dessert and swamp pct
seem too constant, this code do these value more dependent on
parameters!
> 
> But the forest_pct hack is ok and produces good results.
> --
> mateusz
> 

Marcelo




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