Follow-up Comment #5, bug #15519 (project freeciv):

changes 20101117:

* contemplate_new_city() also needs an initiated settler map (see aicity.c)


would it possible to use a hash table for the cache map? Thus, only the
elements really needed would be saved. Something like:

void settler_cache_map_set(pplayer, ptile, data); // save data
data = settler_cache_map_get(pplayer, ptile); // get saved data or NULL

(file #11249)
    _______________________________________________________

Additional Item Attachment:

File name:
20101117-02-trunk-move-cachemap-for-AI-auto-settler-into-player-ai-dat.patch
Size:13 KB


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht geschickt von/durch Gna!
  http://gna.org/


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

Reply via email to