Advertising

Summary: Save scenario section to regular savegames
Project: Freeciv
Submitted by: cazfi
Submitted on: Tue 17 Jun 2014 04:52:24 AM EEST
Category: general
Priority: 5 - Normal
Status: Ready For Test
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Planned Release: 2.4.3, 2.5.0, 2.6.0
_______________________________________________________
Details:
Create [scenario] section also to regular savegames, but only with single
entry scenario.is_scenario=FALSE.
The reason for this is that when client checks savegame to see if it's a
scenario or not, it finds the [scenario] information from the beginning and
does not need to load entire file only to find out that there was no scenario
information.
As presence of this information only speeds up loading - does not affect the
result in any way (old savegames' lack of [scenario] is considered the same as
scenario.is_scenario=FALSE by newer freeciv, older freeciv does not care about
either) I don't consider committing this to stable branches to break datafile
format freeze in any way.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Tue 17 Jun 2014 04:52:24 AM EEST Name: SaveScenarioSectionAlways.patch
Size: 1kB By: cazfi
<http://gna.org/patch/download.php?file_id=21062>
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?4815>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev