Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2000:
[Freeciv-Dev] Re: Air unit goto improved
Home

[Freeciv-Dev] Re: Air unit goto improved

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Air unit goto improved
From: Thue <thue@xxxxxxx>
Date: Tue, 18 Jul 2000 22:06:02 +0200

Den tir, 18 jul 2000 skrev Kero van Gelder:
> [snip]
> > > 3) works for units with fuel > 2 as well.
> > 
> > Well, it did before too.
> 
> I'm not sure it did... (You leave at a certain turn and look what you
> can reach in a couple of steps. Hence it may happen that from turn
> three, you arrive at the goal in three turns (= turn 6), whereas from
> turn four you arrive at the goal in one turn (= turn 5). That's one
> turn faster, but later discovered in your version, if I understand it
> correctly. I check whether you can arrive in a certain turn from a few
> previous turns, so I find the solution for turn five first.)

I should be possible to test it - just a quick ruleset edit. Which I admit
I never tried :).
Anyway, I think mine did work, but it wasn't very clear to read. Yours are
a bit clearer, and will replace mine, so I am too lazy to find out. :)

> > I think the "naive" part of the name was historical; my first
> > implementation was kind of dumb :)
> 
> I guessed as much :-)
> So nobody changed it when he/she made it smarter...  Well, since I
> changed the semantics, I thought it a wonderful time to change the
> name.

Actually it was all made by me.

> > > PS: patch gives a couple of offsets, but works on the current CVS.
> 
> (current is 1.11.2, I got the post from Jeff about the release after I
> had patched against it)

I updated it to 1.11.2

>[snip]

-Thue



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