Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2004:
[Freeciv-Dev] (PR#9882) Continent and Ocean numbers
Home

[Freeciv-Dev] (PR#9882) Continent and Ocean numbers

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#9882) Continent and Ocean numbers
From: "Mateusz Stefek" <mstefek@xxxxxxxxx>
Date: Thu, 2 Sep 2004 08:59:31 -0700
Reply-to: rt@xxxxxxxxxxx

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

> [jdorje - Thu Sep 02 15:01:21 2004]:
> 
> Mateusz Stefek wrote:
> > <URL: http://rt.freeciv.org/Ticket/Display.html?id=9882 >
> > 
> > Sync with CVS.
> > 
> > Any comments?
> 
> I'm not sure that it's better than just making ocean and land continents 
> interchangeable.
> 
> Sure you get some sanity checking because you get automatic assertions. 
>   But this requires that you always be thinking about whether your 
> continent is land or ocean, when in most cases it really doesn't matter. 
>   And special cases will be needed for the game's use of continents as 
> effect ranges, since ocean indices will have to either be skipped or 
> handled specially.
> 
what exactly do you propose?
what should map_get_continent return?
 an integer in range [1..map.num_continents + map.num_oceans]?
--
mateusz


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