Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2004:
[Freeciv-Dev] (PR#9824) problems with counting adjacent tiles in hex top
Home

[Freeciv-Dev] (PR#9824) problems with counting adjacent tiles in hex top

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#9824) problems with counting adjacent tiles in hex topologies
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 26 Aug 2004 14:03:54 -0700
Reply-to: rt@xxxxxxxxxxx

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

Several places count the number of tiles adjacent to a current tile:

- When transforming ocean<->land.
- When calculating borders.
- Who knows where else?

Obviously this won't work very well with hex topologies.

My solution would be to turn these values into percentages rather than 
total values.

jason




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