Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2003:
[Freeciv-Dev] Re: (PR#2370) Path finding
Home

[Freeciv-Dev] Re: (PR#2370) Path finding

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: rf13@xxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#2370) Path finding
From: "Gregory Berkolaiko" <Gregory.Berkolaiko@xxxxxxxxxxxx>
Date: Mon, 17 Feb 2003 09:01:04 -0800
Reply-to: rt@xxxxxxxxxxxxxx

On Mon, 17 Feb 2003, Raimar Falke wrote:

> On Mon, Feb 17, 2003 at 04:59:19AM -0800, Gregory Berkolaiko wrote:
> > 
> > I remembered something that is really essential and that we forgot to put 
> > it: 
> > 
> >     pf_get_position(map, pos, x, y)
> > 
> > This way we can query the map which is already made.
> 
> Do you mean
> 
>   pf_path tmp;
> 
>   pf_get_path(map, x, y, &tmp);
>   foobar = pf_last_position(&path);
> 
> ?

Precisely, but without wasting time on lifting the whole path off the map.

G.




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