Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2004:
[Freeciv-Dev] Re: (PR#9610) autosettler "territory" and danger maps
Home

[Freeciv-Dev] Re: (PR#9610) autosettler "territory" and danger maps

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#9610) autosettler "territory" and danger maps
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Fri, 6 Aug 2004 07:25:06 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=9610 >

On Fri, 6 Aug 2004, Jason Short wrote:
> > Yes. But - if we could ignore alternating movement mode - we could
> > actually get away with one such array for all players, since we can do the
> > vision check on iterations instead of in the insertion routine. We could
> > put the vision check in an iterator macro, for that matter.
>
> I don't see how. The vision check doesn't have to check the tile in
> question. It has to check the tile that the enemy unit is on, and all
> tiles in between.

You have a point, but I do not think that this kind of precision is
warranted here. This means only that there is a very small information
leak from server to client about unknown tiles between source and
destination, when the client knows an enemy at source and have an
autosettler at destination that does evasive maneouvers.

Once we move autosettlers to the client (which it should be), this problem
will go away.

For the AI itself, doing danger computations without omniscience is out of
the question for the moment.

  - Per




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