[Freeciv-Dev] Re: (PR#10722) Not enough grasslands/plains
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<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
- [Freeciv-Dev] Re: (PR#10722) Not enough glasslands/plains, Marcelo Burda, 2004/11/06
- [Freeciv-Dev] Re: (PR#10722) Not enough glasslands/plains, Mateusz Stefek, 2004/11/06
- [Freeciv-Dev] Re: (PR#10722) Not enough glasslands/plains, Marcelo Burda, 2004/11/07
- [Freeciv-Dev] (PR#10722) Not enough glasslands/plains, Marcelo Burda, 2004/11/07
- [Freeciv-Dev] (PR#10722) Not enough glasslands/plains, Marcelo Burda, 2004/11/07
- [Freeciv-Dev] (PR#10722) Not enough grasslands/plains, Mateusz Stefek, 2004/11/08
- [Freeciv-Dev] (PR#10722) Not enough grasslands/plains, Mateusz Stefek, 2004/11/08
- [Freeciv-Dev] Re: (PR#10722) Not enough grasslands/plains,
Marcelo Burda <=
- [Freeciv-Dev] (PR#10722) Not enough grasslands/plains, Mike Jing, 2004/11/08
- [Freeciv-Dev] Re: (PR#10722) Not enough grasslands/plains, Marcelo Burda, 2004/11/09
- [Freeciv-Dev] Re: (PR#10722) Not enough grasslands/plains, Mike Jing, 2004/11/09
- [Freeciv-Dev] (PR#10722) Not enough grasslands/plains, Mike Jing, 2004/11/09
|
|