Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2000:
[Freeciv-Dev] packet_remove_unit patches
Home

[Freeciv-Dev] packet_remove_unit patches

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Freeciv dev <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] packet_remove_unit patches
From: Marko Lindqvist <caz@xxxxxxxxx>
Date: Wed, 6 Sep 2000 18:34:53 +0300 (EET DST)

 Send packet_remove_unit only to those clients where unit currently
exists.


 Server sends packet_remove_unit always when client should remove unit.


 Reason for first patch: Currently modified client knows that until server
sends packet_remove_unit, unit (which client once saw) is still alive.


 Second patch is IMO cleaner way than current one to handle
unit removal when they enter into fogged area etc. This approach also
gives more control to server side.
 I see no reason to use capabilities to skip obsolete
parts of client side code. Those obsolete parts should be removed after
compatibility break.
 This second patch goes on top of packet_enemy_unit.diff. First one should
work both with and without packet_enemy_unit.diff.


 Caz

--

Attachment: remove_existing_units.diff
Description: Text document

Attachment: server_remove_unit.diff
Description: Text document


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] packet_remove_unit patches, Marko Lindqvist <=