[Freeciv-Dev] Re: (PR#9876) PATCH temperature parameters for Earth like
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: |
undisclosed-recipients: ; |
Subject: |
[Freeciv-Dev] Re: (PR#9876) PATCH temperature parameters for Earth like generators 1,5 |
From: |
"Marcelo Burda" <mburda@xxxxxxxxx> |
Date: |
Mon, 30 Aug 2004 09:33:35 -0700 |
Reply-to: |
rt@xxxxxxxxxxx |
<URL: http://rt.freeciv.org/Ticket/Display.html?id=9876 >
Le lun 30/08/2004 à 18:26, Mateusz Stefek a écrit :
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=9876 >
>
> > This patch add a map.temperature parameter to patch 9627.
> > a this point is used to determine the size of zones on a Earth like
> > map,
> > cold, temperate and tropical, and the dry zones. 0 for a very cold
> > planet, 100 for a very Hot.
> >
>
>
> > +#define COLD_LEVEL \
> > + (MAX(0, MAX_TEMP * (60*7 - map.temperature * 6 ) / 700))
> > +#define TROPICAL_LEVEL\
> > + (MIN(MAX_TEMP, MAX_TEMP * (143*7 - map.temperature * 10) / 700))
> > +#define DRY_MIN_LEVEL (MAX_TEMP * (7300 - map.temperature * 18 ) /
> > 10000)
> > +#define DRY_MAX_LEVEL (MAX_TEMP * (7300 + map.temperature * 17 ) /
> > 10000)
> >
> ???
> I don't from where these values come.
> --
> mateusz
>
>
> ----------------------------------------------------------------------
> Portal INTERIA.PL zaprasza... >>> http://link.interia.pl/f17cb
>
>
>
these values are choiced to do so Earth like history, form Frized times
and Tropical times of Earth
Marcelo.
|
|