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

In client/mapview_common.c: refresh_unit_mapcanvas() a unit with F_CITIES set
adds to the TILE_UPDATE_CITYMAP queue while other units only add to the
TILE_UPDATE_UNIT queue. I believe this is so that the city outlines can be
drawn correctly.

There are two things wrong with this:

1) If draw_city_outlines is not set then this is totaly unneccessary. See
attached patch.

2) Even with draw_city_outlines the outlines only cover
game.info.init_city_radius_sq tiles. But TILE_UPDATE_CITYMAP draws an area
covering the largest city map in existance.

MfG,
   Mrvn
--
Patch: The patch makes settlers fast if city outlines are disabled. If they
are enabled they are still slow.


(file #18093)
    _______________________________________________________

Additional Item Attachment:

File name: 2.4-faster-settler.patch       Size:0 KB


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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