Summary: meta.ruleset
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Sun 19 Jan 2014 10:37:44 AM EET
                Category: freeciv-ruledit
                Priority: 5 - Normal
                  Status: Ready For Test
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 2.6.0



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.


File Attachments:

Date: Sun 19 Jan 2014 10:37:44 AM EET  Name: MetaRuleset.patch  Size: 5kB  
By: cazfi



Reply to this item at:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to