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

William Allen Simpson wrote:
> There are at least 148 *city->id references in 44 files (and untold others
> with other pointer names).
> 
This is a seriously daunting task!

The agents.c code passes city ids around.

284 references to homecity in 56 files (is a city id)

408 references to *city->tile in 60 files (the proposed replacement for id)
548 references to *unit->tile in 63 files (distinguished from homecity)

Therefore, this is now a tracking ticket for the series of changes to make
this happen over time....



_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to