Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2004:
[Freeciv-Dev] Re: (PR#10327) patch: unit.h contradicts itself.
Home

[Freeciv-Dev] Re: (PR#10327) patch: unit.h contradicts itself.

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: bh@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#10327) patch: unit.h contradicts itself.
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 25 Sep 2004 10:48:36 -0700
Reply-to: rt@xxxxxxxxxxx

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

Benoit Hudson wrote:
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=10327 >
> 
> On Sat, Sep 25, 2004 at 10:14:53AM -0700, Jason Short wrote:
> 
>>OK.  Though I'd rather add (x,y) values to the tile struct and just use 
>>a struct tile *.
> 
> Any reason?  We can always use map_get_tile.  And only the x/y
> coordinates are what matter for the goto_dest.

Well, adding (x,y) to the tile struct is something I want to do anyway. 
  See PR#10047.

In this particular case using a tile pointer is easier since we can just 
make it NULL for no dest.  We can't do this with a map_position pointer 
without doing mallocing.

jason




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