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