URL:
http://gna.org/patch/?4888
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
___
Details:
* 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
http://gna.org/patch/download.php?file_id=21238
___
Reply to this item at:
http://gna.org/patch/?4888
___
Message posté via/par Gna!
http://gna.org/
___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev