Complete.Org: Mailing Lists: Archives: freeciv-ai: April 2003:
[freeciv-ai] Re: [RFC] Ferry code
Home

[freeciv-ai] Re: [RFC] Ferry code

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Freeciv AI development <freeciv-ai@xxxxxxxxxxx>
Subject: [freeciv-ai] Re: [RFC] Ferry code
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Sun, 6 Apr 2003 16:34:08 +0000 (GMT)

On Sun, 6 Apr 2003, Raimar Falke wrote:
> > > > If we cache the pf map for all ferries, we can just overlay this pfmap
> > >
> > > You would have to invalide (and update at next use) this map after
> > > each move.
> >
> > Why?
>
> Because a pf map is connected to a start position and the start
> position is the current ferry location. But it is possible that I
> misunderstood what you want to do here.

The ferries don't move if they are idle. They are just sitting there. Once
we grab one, it is no longer idle, hence no longer considered for these
purposes. So we don't need to recalculate any pf maps.

  - Per



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