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



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

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



Reply to this item at:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to