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

[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: Tue, 31 Aug 2004 01:40:33 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: >

Here's my proposition

There will be two functions:
int map_get_continent_number(int x, int y)
int map_get_ocean_number(int x, int y)

They will return Continent_id value in range

If map_get_continent_number is called with ocean tile it will triger an

Continent numbers will be stored in tile.continent as they are now
(oceans with negative values). Only common/map.c and server/maphand.c
and packet code will be allowed to use it directly.


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