Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2004:
[Freeciv-Dev] Re: (PR#7280) Tile pointer in unit struct
Home

[Freeciv-Dev] Re: (PR#7280) Tile pointer in unit struct

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] Re: (PR#7280) Tile pointer in unit struct
From: "Arnstein Lindgard" <a-l@xxxxxxx>
Date: Wed, 21 Jan 2004 09:40:21 -0800
Reply-to: rt@xxxxxxxxxxx

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

On Wed, 21 Jan 2004 00:08:24 -0800 Raimar Falke wrote:

>   unit_tile(punit)
>   unit_tile_city(punit)
> 
> which than use or don't use a cached tile pointer. So what about a
> single new function/macro unit_tile(punit) and than writing
> unit_tile(punit)->city?

Sounds like a better idea. I should probably not code it :)


Arnstein




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