URL:
  <http://gna.org/patch/?1624>

                 Summary: Server setting packet definitions
                 Project: Freeciv
            Submitted by: pepeto
            Submitted on: mardi 13.04.2010 à 10:08
                Category: general
                Priority: 3 - Low
                  Status: Ready For Test
                 Privacy: Public
             Assigned to: pepeto
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 2.3.0

    _______________________________________________________

Details:

Currently, the server settings are sent in one only packet. There is lot of
field not used. Changed to have one packet by setting type. In that way, it
would be easier to add new server setting types.

Complete changes:
* Renumber all the packets to avoid strange order and insert new gaps between
parts.
* Added packet_server_setting_const which is sent only once to the client,
containing the name, the help texts, and the category.
* Removed sset_type from the common part.
* Replaced packet_server_setting by packet_server_setting_bool,
packet_server_setting_int, packet_server_setting_str.

Of course, applying this patch need a capability string change.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: mardi 13.04.2010 à 10:08  Name: trunk_server_setting_packets.diff.bz2 
Size: 9 ko   By: pepeto

<http://gna.org/patch/download.php?file_id=8944>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?1624>

_______________________________________________
  Message posté via/par Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to