Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2003:
[Freeciv-Dev] Re: (PR#3387) Path finding and ZOC
Home

[Freeciv-Dev] Re: (PR#3387) Path finding and ZOC

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: ChrisK@xxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#3387) Path finding and ZOC
From: "Raimar Falke" <rf13@xxxxxxxxxxxxxxxxx>
Date: Fri, 6 Jun 2003 05:45:26 -0700
Reply-to: rt@xxxxxxxxxxxxxx

On Tue, Jun 03, 2003 at 01:07:49PM -0700, ChrisK@xxxxxxxx wrote:
> On Tue, Jun 03, 2003 at 12:10:56PM -0700, Raimar Falke wrote:
> > On Sun, Jun 01, 2003 at 01:40:43PM -0700, ChrisK@xxxxxxxx wrote:
> > > On Wed, Feb 12, 2003 at 11:36:44AM -0800, Christian Knoke wrote:
> > > > On Wed, Feb 12, 2003 at 08:38:55AM -0800, Reinier Post via RT wrote:
> > > > > On Tue, Feb 11, 2003 at 09:40:28AM -0800, ChrisK@xxxxxxxx via RT 
> > > > > wrote:
> > > > > > 
> > > > > > CVS 11 FEB 2003 Gtk+ 1.2
> > > > > > 
> > > > > > Path finding for military units presumes that cities within
> > > > > > fog of war are empty, thus imposing no ZOC, so that it is
> > > > > > possible to pass them.
> > > > > > 
> > > > > > Since you find a city much more often occupied than empty,
> > > > > > path finding probably should assume that it can *not* pass
> > > > > > fogged cities.
> > > > > 
> > > > > Should it remember and use the (not always reliable) former city 
> > > > > locations
> > > > > on presently fogged tiles?
> > > 
> > > Sorry, I misunderstood.
> > > 
> > > I think Pathfinding should make reasonable assumptions about reality to
> > > yield good results. So, yes, IMHO it should remember former city locations
> > > and use it, since cities do not vanish that often.
> > 
> > Such a history keeping would be nice in general.
> 
> Isn't it like this now? That fogged city position are used for pathfinding?

client/packhand.c:handle_tile_info removed all units which are on a
tile which gets fogged. This means that all history is removed.

Fogged cities are not removed. Neither at the server nor at the
client. So you are right.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
  "With a PC, I always felt limited by the software available.
   On Unix, I am limited by my knowledge."
    -- Peter J. Schoenster <pschon@xxxxxxxxxxxxxxxxx>




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