Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2004:
[Freeciv-Dev] Re: (PR#9876) PATCH temperature parameters for Earth like
Home

[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: mburda@xxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#9876) PATCH temperature parameters for Earth like generators 1,5
From: "Mateusz Stefek" <mstefek@xxxxxxxxx>
Date: Mon, 30 Aug 2004 09:26:30 -0700
Reply-to: rt@xxxxxxxxxxx

<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





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