Summary: Save game ruleset misc variables from
Submitted by: cazfi
Submitted on: Sun 29 Dec 2013 02:12:55 PM EET
Priority: 5 - Normal
Status: Ready For Test
Assigned to: None
Discussion Lock: Any
Planned Release: 2.6.0
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
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.
Date: Sun 29 Dec 2013 02:12:55 PM EET Name: RulesaveGameMisc.patch Size:
13kB By: cazfi
Reply to this item at:
Message sent via/by Gna!
Freeciv-dev mailing list