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 18 Feb 2014 02:25:35 AM UTC  
 
Category: clientPriority: 5 - Normal
Status: DonePrivacy: Public
Assigned to: Marko Lindqvist <cazfi>Open/Closed: Closed
Planned Release: 2.6.0

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Tue 25 Feb 2014 08:45:18 PM UTC, 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 18 Feb 2014 02:25:35 AM UTC, 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):
   
   
Comment:
   

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.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 25 Feb 2014 08:45:31 PM UTCcazfiStatusReady For Test=>Done
      Assigned toNone=>cazfi
      Open/ClosedOpen=>Closed
    Tue 18 Feb 2014 02:25:35 AM UTCcazfiAttached File-=>Added CitizenIndex.patch, #20098
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup