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