Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2003:
[Freeciv-Dev] Re: (PR#4096) Path Finding for air units.
Home

[Freeciv-Dev] Re: (PR#4096) Path Finding for air units.

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Gregory.Berkolaiko@xxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#4096) Path Finding for air units.
From: "Raimar Falke" <rf13@xxxxxxxxxxxxxxxxx>
Date: Thu, 1 May 2003 09:08:11 -0700
Reply-to: rt@xxxxxxxxxxxxxx

On Mon, Apr 28, 2003 at 10:02:32AM -0700, Gregory Berkolaiko wrote:
> 
> On Sun, 27 Apr 2003, Per I. Mathisen wrote:
> 
> > Can you add the ability to use AIR_MOVING units with
> > simple_unit_path_iterator, please? I need it for some fancy code I'm
> > brewing.
> > 
> >   - Per
> 
> I actually thought about it this morning (in the connection with having 
> air units paths in the client).  

> The danger code (when debugged) can be used for

It should.

> it, but I am not so sure about bombers (fuel>1).  I am also not 
> sure how fast this would be compared with the present airgoto.c code.
> 
> Of course things are much simpler if you want to iterate only within 
> one-turn horizon.  Above I am talking about complicated gotos which refuel 
> stops.

IMHO we only need one small change. The tracking of fuel. Decrease it
like move points and replenish it if we wait in a refuel-point. This
is slightly inaccurate because carriers can only refill as many units
as they can carry. But I think everybody (players and AI-people) can
live with this.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "I haven't lost my mind - it's backed up on tape somewhere."




[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: (PR#4096) Path Finding for air units., Raimar Falke <=