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 16:25:46 +0200

On Fri, Apr 11, 2003 at 04:19:52AM -0500, Jason Dorje Short wrote:
> Hmm, I responded to this before but seem to have lost the e-mail...
> 
> Raimar Falke wrote:
> >On Thu, Apr 10, 2003 at 02:37:15PM -0500, Jason Dorje Short wrote:
> >
> >>Raimar Falke wrote:
> 
> >>This is the iso-view form.  It also happens to be the natural form for 
> >>an iso map.
> >>
> >>
> >>>View form (non-iso tileset):
> >>>Similar to grid_rot.png.
> >>>
> >>>The view form is irrelevant for the semantics of the functions since
> >>>it depends on the view (iso tileset or non-iso one)?! It looks like
> >>>this is untrue: you specify the semantics of the function based on the
> >>>iso tileset view form since otherwise the semantic of
> >>>square_map_iterate doesn't changes (it is the same for compact and
> >>>rotated form). Yes/no?
> >>
> >>I don't know what this means.
> >
> >
> >Think about how you would like to define the neighborhood of a
> >position. You need this for adjc_iterate, vision_range and some other
> >basic uses. In which form will this definition show a natural (this
> >has nothing to do with your coordinates of the same name) shape
> >(rhombus, rectangle)? It is clear that it can't be a natural shape in
> >all forms (if it is a natural shape in iso-view of an iso-map it can't
> >be in the non-iso-view of an iso-map AFAIK). It is also clear that it
> >may be possible to have multiple square_*_iterate functions but only
> >one of them is used for the "real stuff" like vision range.
> 
> square_iterate, at least, needs to operate on map coordinates.  Using 
> native coordinates will not give anything useful, and using natural 
> coordinates is very unwieldy.

> None of this depends on the view being used by the client.

Yes.

> I am dyslexic when it comes to these rotation operations...

This is the reason why I let gimp to this.

> But when you say "this is an iso-view of a non-iso map" I think you are 
> missing something important.  This cannot be an iso-view of anything - 
> the geometry is wrong.  It is inherently a non-iso tile representation.

I have learned this now.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "SIGDANGER - The System is likely to crash soon"



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