Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2001:
[Freeciv-Dev] Updated patch: packet_enemy_unit
Home

[Freeciv-Dev] Updated patch: packet_enemy_unit

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Freeciv dev <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Updated patch: packet_enemy_unit
From: Marko Lindqvist <caz@xxxxxxxxx>
Date: Tue, 9 Jan 2001 21:18:07 +0200 (EET)

 Previous versions and more information:

 http://arch.freeciv.org/freeciv-dev-200008/msg00648.html
 http://arch.freeciv.org/freeciv-dev-200009/msg00059.html


 packet_enemy_unit.diff

 - Client memory leak fixed.


 winner_veteran.diff

 - Now uses players_iterate macro.

 We could just remove whole make_winner_veteran -entry from
packet_unit_combat since client never uses it. I wanted to keep it
for future use.
 This currently iterates through game.game_connections in order to find
global observers. Additional iterations are made for player connection
lists. We could do everything inside one iteration through
game.game_connections. However, I find current implementation cleaner if
we are ever going to implement connection list for global observers (and I
think we should).



 I'll (probably) spam this mailing list a bit less in the near future :)
This was last old patch I wanted to update.


 Caz

--

Attachment: packet_enemy_unit.diff
Description: Text document

Attachment: winner_veteran.diff
Description: Text document


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Updated patch: packet_enemy_unit, Marko Lindqvist <=