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



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

* struct game
* struct city

work in progress:
* struct player
* struct unit

* 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


Reply to this item at:


  Nachricht geschickt von/durch Gna!

Freeciv-dev mailing list

Reply via email to