Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2004:
[Freeciv-Dev] (PR#8624) New clima function to best handle terrain place,
Home

[Freeciv-Dev] (PR#8624) New clima function to best handle terrain place,

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#8624) New clima function to best handle terrain place, used to place poles.
From: "Marcelo Burda" <mburda@xxxxxxxxx>
Date: Fri, 30 Apr 2004 03:11:07 -0700
Reply-to: rt@xxxxxxxxxxx

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

Hi,
This is a full tuning patch for pole based in a new function map_clima
this function return a number form 0 (coolest) to 100. alowing to select
terrains types from clima.
I use it to fix the poles placing problems. now poles are good placed in
all 4 topologies (in torus this is more nice if x-y ratio is 1-1 or (2-1
iso) but this is a problem of the choice of sizes.

for flat topo i make only one pole, a flat map is a partial map no a
global map. 

later this funtion can be used to best place other terrains types
tropical zones are map_clima(x,y)>80 and desert ones are
80>map_clima(x,y)>70

I handle border with a very general function, this alow to extend
topologies with out problems.(this patch is not a topologie patch)
Best Regards
Marcelo

Attachment: mapgen_tuning1.diff
Description: Binary data


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