Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2005:
[Freeciv-Dev] Re: Question on savegame data
Home

[Freeciv-Dev] Re: Question on savegame data

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Freeciv-Dev <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: Question on savegame data
From: Jason Dorje Short <jdorje@xxxxxxxxxxxx>
Date: Tue, 23 Aug 2005 15:51:41 -0400

Christian Knoke wrote:
Trying to read some source, the tile->updated 16 bit variable in the player
maps is used for the server to keep track on when a player has seen a tile
for the last time. This is to prevent the server from sending unnecessary
tile info to the client.

What use does it make to save this information in the map_u[abcd] lines of
the savegame?

This is one third of the uncompressed file size, for a big savegame.

Probably I miss something, but I'm very curious what it is.

plrtile->updated shows how old the data on the tile is. This has nothing to do with the client but is used when exchanging shared vision. When both players don't have current vision of a tile the "newer" information is taken to be the correct one.

-jason



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