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



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
* 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



Reply to this item at:


  Message posté via/par Gna!

Freeciv-dev mailing list

Reply via email to