URL:
<http://gna.org/patch/?6863>
Summary: Action Decision order to savegame
Project: Freeciv
Submitted by: cazfi
Submitted on: Wed 27 Jan 2016 03:20:15 AM EET
Category: general
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Planned Release: 3.0.0
_______________________________________________________
Details:
Patch #6609 added storing action_decision_want to savegame as a string for
every unit in game. For keeping savegames smaller, we should save order of the
strings just once, and just the order index number for each unit.
Also the fact that those new fields patch #6609 brought are considered
optional is a bit disputable. At least saving side saves them
unconditionally.
I would make them mandatory in savegame3.c saves at least.
Making them mandatory in savegame2.c saves (in S2_6 saves) would require
adding them in 2.5 -> 2.6 compatibility function, and would need to happen
before S2_6 d3f.
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?6863>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev