patchFreeciv - Patches: patch #4439, meta.ruleset

 
 
Show feedback again

patch #4439: meta.ruleset

Submitted by:  Marko Lindqvist <cazfi>
Submitted on:  Sun 19 Jan 2014 08:37:44 AM UTC  
 
Category: freeciv-ruleditPriority: 5 - Normal
Status: Ready For TestPrivacy: Public
Assigned to: NoneOpen/Closed: Open
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.

 

Sun 19 Jan 2014 08:37:44 AM UTC, original submission:

Freeciv-ruledit will need to save some metadata related to the ruleset so that user is not required to set those settings every time (s)he continues to edit the ruleset.
Attached patch adds meta.ruleset for storing such information in the future. The ruleset is loaded in ruleset.c like any other ruleset. While it could make sense for now to make it specific to freeciv-ruledit (not loaded to freeciv-server), server too will want meta.ruleset once we implement "ruleset object deprecation" framework.
Ruleset is not required to have meta.ruleset. There's empty one, satisfying ruleset loading code needs, in default/ to be used by the rulesets that do not have it. Freeciv-ruledit always creates meta.ruleset for the ruleset while saving it.

Marko Lindqvist <cazfi>
Project Administrator

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #19785:  MetaRuleset.patch added by cazfi (5kB - 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):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 19 Jan 2014 08:37:44 AM UTCcazfiAttached File-=>Added MetaRuleset.patch, #19785
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup