Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2004:
[Freeciv-Dev] Re: (PR#8619) AutoReply: Obscure Bug related to ISO coordi
Home

[Freeciv-Dev] Re: (PR#8619) AutoReply: Obscure Bug related to ISO coordi

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: mburda@xxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#8619) AutoReply: Obscure Bug related to ISO coordinated and BORDER macro
From: "Marcelo Burda" <NOSPAM_mburda@xxxxxxxxx>
Date: Thu, 29 Apr 2004 09:07:11 -0700
Reply-to: rt@xxxxxxxxxxx

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

Le jeu 29/04/2004 à 17:46, Jason Short a écrit :
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=8619 >
> 
> Marcelo Burda wrote:
> > <URL: http://rt.freeciv.org/Ticket/Display.html?id=8619 >
> > 
> > MMM...
> > DIR_DX, DIR_DY then DIRSTEP is not well defined in ISO coordinated!
> >  the adjc_iterate in smootmap no whell defined too
> 
> DIR_DX/DIR_DY may only be used in map coordinates.  But why isn't it 
> well defined?
> 
> jason
in code make a DIRSTEP (in iterates) from map coordinated in the code of
generator
this call data from DIR_DX, DIR_DY
if you work in map coordinates (ISO) and you want make a step to the E
you need a DX=+1 and ad DY=-1 no the values DX=+1, DY=0 called by
DIRSTEP for a step to N or S these is more complex you need to make a
new mapstep, DIRSTEP is only to be used in natural coordinated
-- 
 . /  .     '    ,    .      (*)   '        `     '      `    .    
  |    ,  |   `     ,     .      ,   '  Marcelo Julián Burda      .
 /  '     \     `     \@_     '      .        '      `        '    
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




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