Follow-up Comment #1, bug #13770 (project freeciv):

Added macro pf_map_iterate_move_costs to iterate only the move cost, which
should work faster than pf_map_iterate_positions, especially in the AI code.

Also, added the functions pf_*_map_iterate_until(), which prevents to iterate
the whole map when the node is dangerous e.g.

Documentation updated.


(file #6070)
    _______________________________________________________

Additional Item Attachment:

File name: pf.diff.gz                     Size:15 KB


    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?13770>

_______________________________________________
  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