URL:
  <http://gna.org/patch/?4368>

                 Summary: Save game ruleset misc variables from
freeciv-ruledit
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Sun 29 Dec 2013 02:12:55 PM 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

    _______________________________________________________

Details:

Save all the miscellanous variables of game.ruleset. This leaves action
enablers, disasters, achievements, player colours, and settings not saved.
There's TODO comment for each of them in the very place they belong to.
There's also one bug (to be fixed in separate ticket - I wanted to keep this
strictly value saving patch): Calendar labels are saved in their translated
form as that's the only form they are in memory (they are translated upon
loading).

For later addition of player colours and settings I'm a bit worried about the
fact that other things besides the ruleset control them, so saving to ruleset
based on how they are set up in memory might not be the right thing to do. But
then again, freeciv-ruleset do not do most of the other setups, so memory
might have values "uncorrupted" from the ruleset loading.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 29 Dec 2013 02:12:55 PM EET  Name: RulesaveGameMisc.patch  Size:
13kB   By: cazfi

<http://gna.org/patch/download.php?file_id=19544>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?4368>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to