[Freeciv-Dev] Re: [RFC] Path finding implementation.
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Thu, 1 Aug 2002, Raimar Falke wrote:
> On Thu, Aug 01, 2002 at 12:52:39PM +0100, Gregory Berkolaiko wrote:
> > On Wed, 31 Jul 2002, Raimar Falke wrote:
> >
> > >
> > > Do I get this correct? With get_COP callback we don't have problems
> > > and without the callback we have problems?
> >
> > No. With get_COP callback you get the same problems plus other ones too.
> >
> > But you are right, this seems to be the last point of contention. It
> > seems that COP is only needed for is_position_dangerous handling so far
> > and I hope to be able to do it differently.
>
> > We should also think however about the possibility of having
> > can_transit_tile call-back.
>
> We have the whole time or haven't we. IMHO it is wrong if the
> can_transit_tile returns true for safe places. If this function should
> return true for other position for which ones?
There is nothing wrong about it if it gives right results. It's only a
tool. Other possible uses: targeting shore, targeting enemy tiles.
G.
|
|