Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2003:
[Freeciv-Dev] Re: (PR#1870) FreecivAC: borders patch
Home

[Freeciv-Dev] Re: (PR#1870) FreecivAC: borders patch

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: ben@xxxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#1870) FreecivAC: borders patch
From: "Jason Short" <jshort@xxxxxxxxxxxxxx>
Date: Mon, 14 Jul 2003 11:29:56 -0700
Reply-to: rt@xxxxxxxxxxxxxx

--On Monday, July 14, 2003 10:25:41 -0700 "rwetmore@xxxxxxxxxxxx" 
<rwetmore@xxxxxxxxxxxx> wrote:

>
> General topologies won't really be about non-octagonal relationships even
> if  some hexagonal filtering tricks are prototyped before inclusion. The
> core  game engine is too hardwired in this regard and will take another
> round of  interface rearrangements to unscramble things into modular
> concepts.
>
> But the good news is that the iterators should hide all this from most
> code  and one should endeavour to write code that uses the standard
> macros and  tools so no specific topological concepts are exposed in new
> code as  hardwired stuff to find and fix anytime the topology is upgrated.

adjc_iterate will hide the fact that there are only 6 adjacent tiles.  But 
still the hard-coded limit of adjacent tiles (5) would have to be changed; 
it wouldn't make sense under a hexagonal grid.

Fortunately (or not...), as Ross says hexagonal grids are far off.

jason




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