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

                 Summary: Name translation clean up
                 Project: Freeciv
            Submitted by: pepeto
            Submitted on: dimanche 14.03.2010 à 13:11
                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:

The attached patch does:
* Move the _name_translation_ structure in its own module.
* Remove the field translated when configured without translation support.
* Never use directly the fields of this structure in the code.
* Add many wrappers, that really simplify some parts of the code:
** name_init()
** name_set()
** rule_name()
** name_translation()
* *_name_translation() takes a constant pointer as argument, the _translated_
field of the _name_translation_ structure is used as mutable.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: dimanche 14.03.2010 à 13:11  Name: trunk_name_translation.diff  Size:
50 ko   By: pepeto

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

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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