[Freeciv-Dev] Re: Question on savegame data
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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
|
|