Complete.Org: Mailing Lists: Archives: freeciv-dev: December 1999:
[Freeciv-Dev] Re: Cultural Domination, Missle Bases & Fog of War
Home

[Freeciv-Dev] Re: Cultural Domination, Missle Bases & Fog of War

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Cultural Domination, Missle Bases & Fog of War
From: Randy Scott <scottr@xxxxxxx>
Date: Fri, 31 Dec 1999 01:00:42 -0600

Tony Stuckey wrote:
>         Fog of War means that only unit/terrain/city changes within direct
> visibility of your own units are reflected in your map knowledge.
>         Freeciv currently gives you free map updates forever.

So, then to implement this in freeciv, for every unit movement into a
map
square, the server would need to check to see if a player could see that
square.  Then only if the square was visible would the unit info be sent
to the player?

I'm guessing that this could be done in server/unitfunc.c:send_unit_func
unless there is some reason that a client needs information about units
that it cannot see.

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