patchFreeciv - Patches: patch #4516, Start showing citizens of the...

Show feedback again

patch #4516: Start showing citizens of the given type from random index

Submitted by:  Marko Lindqvist <cazfi>
Submitted on:  Tue Feb 18 02:25:35 2014  
Category: clientPriority: 5 - Normal
Status: DonePrivacy: Public
Assigned to: Marko Lindqvist <cazfi>Open/Closed: Closed
Planned Release: 2.6.0Contains string changes: None

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Tue Feb 25 20:45:18 2014, SVN revision 24567:

Give random offset to add to citizen slot in city dialog to avoid always
using same icon as the first one if there's multiple defined for a citizen type.

See patch #4516

(Browse SVN revision 24567)

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Tue Feb 18 02:25:35 2014, original submission:

Instead of always showing gfx tag index 0 for first citizen icon slot, and index 1 for second, add random offset to it (same offset applied to all slots), randomized at the time city is first created. This is purely client side thing - disconnecting and reconnecting is likely to change the offset, but the that's not a problem - it needs to be persistent only to extend that refresh of the open city dialog will not cause it flicker.

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.


(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files
file #20098:  CitizenIndex.patch added by cazfi (2kB - text/x-diff)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by cazfi (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue Feb 25 20:45:31 2014cazfiStatusReady For Test=>Done
      Assigned toNone=>cazfi
    Tue Feb 18 02:25:35 2014cazfiAttached File-=>Added CitizenIndex.patch, #20098
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup