Follow-up Comment #5, patch #1739 (project freeciv):
a new version
* use struct player_slot with the following definition:
struct player_slot {
int index;
struct player *plr;
};
* the players are allocated dynamically
* the main pointer is saved in palyer.c as static data
* working quit good
* crash if one tries to change the player in the editor
* due to assumptions about existing player structs / data?
* perhaps somebode knowing the editor (network) code could have a look?
(file #9477)
_______________________________________________________
Additional Item Attachment:
File name: 20100710-01-trunk-use-pointers-for-players.patch Size:89 KB
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?1739>
_______________________________________________
Nachricht geschickt von/durch Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev