patchFreeciv - Patches: patch #4157, Extra category

 
 
Show feedback again

patch #4157: Extra category

Submitted by:  Marko Lindqvist <cazfi>
Submitted on:  Fri 06 Sep 2013 10:30:39 PM UTC  
 
Category: generalPriority: 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.

 

Sat 14 Sep 2013 10:19:22 PM UTC, SVN revision 23390:

Added categories for extras, and define hidden_by between extras.

See patch #4157

(Browse SVN revision 23390)

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Thu 12 Sep 2013 07:35:24 PM UTC, comment #1:

- Updated against current svn

(file #18978)

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Fri 06 Sep 2013 10:30:39 PM UTC, original submission:

Add categories for extras. The category controls how UI presents the extra to user. Currently this affects where extra name appears on tile info tooltip - "Natural" extras appear together with terrain type, "Bonus" extras have their own line, "Infra" extras are listed separately, "Nuisance" extras after tile production. Rulesets have been updated so that they produce result identical to old hardcoded one, except that Ruins are bonus extra, not infrastructure one. Previously Ruins was considered infrastructure as it's a base.

Also made "hidden_by" to work between any two extras, not just between two road types. In all rulesets this is used to hide "Irrigation" when "Farmland" is present. Note that for extras other than roads this affects only tooltip text, not sprites drawn.

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 #18978:  ExtraCategory-2.patch.bz2 added by cazfi (7kB - application/x-bzip)
file #18902:  ExtraCategory.patch.bz2 added by cazfi (8kB - application/x-bzip)

 

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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 14 Sep 2013 10:19:41 PM UTCcazfiStatusReady For Test=>Done
      Assigned toNone=>cazfi
      Open/ClosedOpen=>Closed
    Thu 12 Sep 2013 07:35:24 PM UTCcazfiAttached File-=>Added ExtraCategory-2.patch.bz2, #18978
    Fri 06 Sep 2013 10:30:39 PM UTCcazfiAttached File-=>Added ExtraCategory.patch.bz2, #18902
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup