Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2004:
[Freeciv-Dev] (PR#7338) [RfP] Ocean numbers
Home

[Freeciv-Dev] (PR#7338) [RfP] Ocean numbers

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#7338) [RfP] Ocean numbers
From: "Marcelo Burda" <mburda@xxxxxxxxx>
Date: Wed, 11 Aug 2004 09:26:59 -0700
Reply-to: rt@xxxxxxxxxxx

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

Hi, 
I am woring in it. 
 
Basically this work this way 
land  and sea get different numers of continents, land get numbers 
from 1,2, ..., oceans numbers from 255, 254, .... at some time a array 
of int are used to count size of land/water masse[status done]. ( I go 
use it to clean small water masses (maybe less than 9 tiles and  
randomly clean or make biger the 1 tile isles in the mapgenerator) 
 
Now i am correcting all the code, in some part of it may have 
erronious map_get_continent(X,Y) == 0 to see if this is a ocean tile, 
this will be clenned. 
 
But a am not sure if there maybe others problems. 
 
All ocean cityes will be a continent number! 
 
Marcelo 
 


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