patchFreeciv - Patches: patch #4157, Extra category

 
 
Show feedback again

patch #4157: Extra category

Submitted by:  Marko Lindqvist <cazfi>
Submitted on:  Fri Sep 6 22:30:39 2013  
 
Category: generalPriority: 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.

 

Sat Sep 14 22:19:22 2013, 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 Sep 12 19:35:24 2013, comment #1:

- Updated against current svn

(file #18978)

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Fri Sep 6 22:30:39 2013, 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.

     

    Error: not logged in

     

     

    Follow 5 latest changes.

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

    Back to the top


    Powered by Savane 3.1-cleanup