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

                 Summary: Package client options to a struct
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Sun 20 Apr 2014 05:33:21 AM EEST
                Category: client
                Priority: 5 - Normal
                  Status: Ready For Test
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 2.6.0

    _______________________________________________________

Details:

Currently all client options are separate global variables. Attached patch
reduces global namespace pollution by moving them inside a single global
struct.

There's an ugly detail about "overview". As all the options are now expected
to be inside "options", the "overview" struct is moved there too. It has also
stuff other than options, but I decided not to refactor that part in this
ticket so that parts could live outside "options" while option fields are
inside.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 20 Apr 2014 05:33:21 AM EEST  Name: OptionsStruct.patch.bz2  Size:
29kB   By: cazfi

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

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


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

Reply via email to