Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2003:
[Freeciv-Dev] (PR#6669) Poles on a N-S wrapping topology
Home

[Freeciv-Dev] (PR#6669) Poles on a N-S wrapping topology

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx, ue80@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#6669) Poles on a N-S wrapping topology
From: "Marcelo Burda" <mburda@xxxxxxxxx>
Date: Thu, 4 Dec 2003 11:16:48 -0800
Reply-to: rt@xxxxxxxxxxx

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

First
Separatepole are not goow word, some as SpetialHandingBorders optin are 
more clear ;-) if this handing is good defined in different topologies
EspetialHandingBorders=0
noting in all topologies

EspetialHandingBorders=1 (2,3...)
flat: water in all borders
classic topology, long separate poles on unwrapped borders
torus: noting spetial
sphere like: water or ice on reversed wrapped boders 
electron: water in unwraped borders


Second
 i am coded a funtion map_clima(x, y) it handle all topologies (Flat, 
cylinder, torus, sphere, elecron) and return a number form 0 to 100 for 
the tiles (x,y), 0 in the coolest tiles and 100 in the hot one. 

sample
iteratemap if(map_clima(x,y)<=30) handle the 30% coolest part of the map 
in all topologies.

This way you can make a easy climatic choice of tiles in generators.

this funcion work in my patch for reversed wrapping topologies (sphere 
like)
                  Marcelo


Attachment: ClimaFuncion.diff
Description: Binary data


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