<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39845 >

Egor Vyscrebentsov wrote:
> Maybe there can be other iterator than city, say border_sources_iterator.
> (where border_source is union, for example.) [I understand that this has
> its own contras.]
I've not been sufficiently clear.  The code that I already checked in has
cities (positive identity), fortresses, airports, etc. (negative identity).
Same stub structure (vision_base).  Probably same iterator!

> I know that I want too much :) But what I really want is that the code
> will support idea that this function _may_ become scriptable _someday_
> and will not require massive rewriting when/if this day will come.
Sure.  Good design criteria.

Freeciv-dev mailing list

Reply via email to