URL:
http://gna.org/patch/?1207
Summary: pft_fill_utype_*_parameter functions
Project: Freeciv
Submitted by: pepeto
Submitted on: Tuesday 07/28/2009 at 11:33
Category: general
Priority: 3 - Low
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
___
Details:
A bit everywhere in the code, some virtual units are created just to make a
pf_map. Actually, it is not needed to have a unit pointer, and it's possible
to deal only with the unit_type pointer. The attached patch grants functions
to make pf_parameter from unit_type:
* pft_fill_utype_parameter() like pft_fill_unit_parameter().
* pft_fill_utype_overlap_param() like pft_fill_unit_overlap_param().
* pft_fill_utype_attack_param() like pft_fill_unit_attack_param().
N.B.: it needs the patch #1206 applied.
___
File Attachments:
---
Date: Tuesday 07/28/2009 at 11:33 Name: trunk_pft_fill_utype.diff Size:
17kB By: pepeto
http://gna.org/patch/download.php?file_id=6281
___
Reply to this item at:
http://gna.org/patch/?1207
___
Message sent via/by Gna!
http://gna.org/
___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev