[freeciv-ai] Re: [Freeciv-Dev] Re: (PR#9610) autosettler "territory" and
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=9610 >
On Sat, 7 Aug 2004, Per I. Mathisen wrote:
> On Fri, 6 Aug 2004, Gregory Berkolaiko wrote:
> > > To set up this cache, run through all units once, and use pf to mark tiles
> > > in the movemap. For ferries, for each ferry { make pf map; for each tile {
> > > for each passenger { pf backtrace from tile and see if we can overlap with
> > > the ferry's pf map, if so mark tile } } }.
> > >
> > > This is expensive, but doing ferries properly is a real pain in the ***,
> > > any way you do it.
> >
> > There is a better way of doing ferried units, like the one in rampage
> > (IIRC).
>
> Uh, but rampage doesn't do ferries? Can you spell out your idea?
Uhm... You are right.
But it is possible to find with PF all places reachable by a ferried land
unit within one turn (i.e. moving boat, landing and moving by land).
I will do it when the time comes.
G.
|
|