URL:
<http://gna.org/patch/?1638>
Summary: [Metaticket] cleanup of structs
Project: Freeciv
Submitted by: syntron
Submitted on: Samstag 17.04.2010 um 19:13
Category: general
Priority: 3 - Low
Status: None
Privacy: Public
Assigned to: syntron
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Planned Release: 2.3.0
_______________________________________________________
Details:
cleanup of the structs used in freeciv
* check if the variables are still used
* add union with variables
- needed only for server and ai
- needed only for client
done:
* struct game
* struct city
work in progress:
* struct player
* struct unit
todo:
* struct nation
* (more?)
some questions/ideas:
* do not use an union but create the struct <item> with an pointer
<item>_client and <item>_server which will be allocated in server / client
with the corresponding structs
* create a similar pointer for AI data (<item>_ai_data) which is only used in
the server; AI data also needed in the clients would be a variable in
<item>_client
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?1638>
_______________________________________________
Nachricht geschickt von/durch Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev