Summary: Move research advance name accessors
                 Project: Freeciv
            Submitted by: pepeto
            Submitted on: mer. 02 juil. 2014 15:11:36 CEST
                Category: general
                Priority: 5 - Normal
                  Status: Ready For Test
                 Privacy: Public
             Assigned to: pepeto
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 2.6.0



* advance_name_by_player() and advance_name_for_player() are replaced by
research_advance_rule_name() and research_advance_name_translation(), they
take a _research_ pointer as first argument, and they are a part of the
"research.[ch]" module ;
* replaced calls to right function, including also advance_rule_name() and
advance_name_translation() when there functions are usable ;
* advance_name_researching() is suppressed ;
* A_UNSET, A_FUTURE, A_UNKNOWN are renumbered over A_LAST (then A_LAST_REAL is
not needed anymore) ;
* _research_get(NULL)_ now returns _NULL_ without failed assertion.


File Attachments:

Date: mer. 02 juil. 2014 15:11:36 CEST  Name: research_advance_name.patch.gz 
Size: 15 ko   By: pepeto



Reply to this item at:


  Message posté via/par Gna!

Freeciv-dev mailing list

Reply via email to