Complete.Org: Mailing Lists: Archives: freeciv-ai: May 2003:
[freeciv-ai] (PR#4137) Auto-Explore with new path-finding
Home

[freeciv-ai] (PR#4137) Auto-Explore with new path-finding

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: cameron@xxxxxxxxxx
Subject: [freeciv-ai] (PR#4137) Auto-Explore with new path-finding
From: "Guest" <rt-guest@xxxxxxxxxxxxxx>
Date: Fri, 16 May 2003 09:04:44 -0700
Reply-to: rt@xxxxxxxxxxxxxx

> > 2. Same place, I think
> > #define BEST_NORMAL_TILE  \
> >  (100 * MAX_NEW_TILES * DIFF_TER_SCORE +\
> >   100 * (VISION_TILES-MAX_NEW_TILES) * KNOWN_DIFF_TER_SCORE)
> >                      ^^^^^^^^^^^^^^^
> 
> <Grind, grind, grind>. Right.
> 
> > 3. A bad thing about these defines is that they are not constants:
> > they
> > depend on vision_range.  I don't know what to do about it though...
> > Maybe
> > set vision_range to 1 ?
> 
> It should be much faster that way; I made it clear in the comments
> what
> it "should" be, in case we want to make vision_range > 1 be much more
> common at some point in the future.
> 
vision_range > 1 does happen on autoexplore. If I land on a
railroaded continant, I tend to set a spy to AutoExplore and
instantly reveal half the island. (Spy has vision_rage = 2)


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