Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2000:
[Freeciv-Dev] Re: fog of war <-> Zoc
Home

[Freeciv-Dev] Re: fog of war <-> Zoc

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: fog of war <-> Zoc
From: "Peter Schaefer" <schaefer@xxxxxx>
Date: Sat, 20 May 2000 01:08:54 +0200

>  Talking of fog of war, there are much simalarities between fog of war
>(fow) and zone of control (zoc). Can zoc can updated as fow ? Can zoc's
>rules be modified so that fog of war and zoc have the same meaning most
>of the time ?
>


Zoc could be cached on a per-tile basis so every tile is marked
 whether it is adjacent to a unit that exerts zoc onto it.
it seems "a player has zoc onto a tile" implies "player has
lifted fog of war on that tile", so you could first check
whether fogofwar is lifted, and then proceed to check whether it is a zoc,
too.
it would be different for sea units looking at but not ZOCing land.

You might have to change some rules for submarine flags though.







[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: fog of war <-> Zoc, Peter Schaefer <=