Follow-up Comment #13, patch #1020 (project wesnoth):

Ok, this one is better. Overhauled unit map to implement the iterators.

type 1

unit_iterator
const_unit_iterator

type 2

unit_xy_iterator
const_unit_xy_iterator

type 3

xy_accessor
const_xy_accessor

---

Much better than previous versions... 

patch still includes change to formula_ai.cpp to use unit_iterator to iterate
for unit formulas.

(file #4040)
    _______________________________________________________

Additional Item Attachment:

File name: unit_map_new.patch             Size:20 KB


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to