[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]
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 <=
|
|