Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2003:
[Freeciv-Dev] Re: (PR#3936) introducing native coordinates
Home

[Freeciv-Dev] Re: (PR#3936) introducing native coordinates

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#3936) introducing native coordinates
From: Raimar Falke <rf13@xxxxxxxxxxxxxxxxx>
Date: Fri, 11 Apr 2003 08:55:55 +0200

On Thu, Apr 10, 2003 at 11:04:02PM +0200, Raimar Falke wrote:

Some more findings: 

It is possible to define the rotated form on the compact form (like I
did in the past) but it is also possible to use the view form. This
has the advantage that you get a natural shaped neighborhood for both
iso-view and non-iso-view. So you take the iso-view (grid_iso.png) and
rotate it to get the rotated form (grid_iso_rot.png). This makes it
impossible to define the neighborhood on the compact form and so
square_map_iterate need to be changed.

There are two possible iso-view forms for a given compact map
(9x5). See grid_iso.png and grid_iso2.png. None of these two is
naturally to prefer. These are the neighborhood relations for these
two possible iso-views:

iso: c1, c5, b3, d3, b2, c2, b4, c4
iso2: c2, c4, a3, e3, b2, d2, b3, d3

They differ. So which one do we choose? And why? Or do we support
both?

Since the pictures are rather big (270k) I placed them at
http://www.freeciv.org/~rfalke/grid_pictures/

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "Despite all the medical advances of the 20th century, the mortality 
  rate remains unchanged at 1 death per person."



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