Complete.Org:
Mailing Lists:
Archives:
freeciv-dev:
October 2001: [Freeciv-Dev] [Patch] Reduce superfluous tile_info packets version 2 |
![]() |
[Freeciv-Dev] [Patch] Reduce superfluous tile_info packets version 2[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Ok here the cleaned up patch for official submission. This patch does: - removes the sent field of struct tile (AFAI see this was intended to solve a similar problem and it now obsolete) - adds a new server-only bit vector in struct tile: changed - if the server tries to sent a tile_info packet it is checked if this tile has changed since last sent for this player - if ther server has sent a tile_info packet the corresponding bit in the changed field is cleared - settler.c changes the special field calculates some stuff and reverts these changes. Such changes aren't user/client visible and have from now on to be done with the base_* methods. Raimar -- email: rf13@xxxxxxxxxxxxxxxxx "On the eigth day, God started debugging"
|