Summary: Roads order to savegame
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Sat 18 Feb 2012 02:36:05 AM EET
                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.5.0



This patchs adds saving and loading of Roads order. There's not yet anything
that would be saved dependant on that order, but I found out that having this
one separately first makes development of all the other roads related savegame
handling patches much easier.

I actually would appreciate some input about how we should handle savegame
compatibility issues in development. It would be very hard to create one
megalopatch that would switch everything to use generic roads, with proper
backward compatibility hooks, at one go. Having several intermediate versions
would mean more complicated compatibility handling. Can we just ignore the
compatibility issues between two savegame formats that are introduced during
active development (trunk) of the new version? If not, do we icrease format
version number between the intermediate formats and provide compatibility
hooks, or do we adjust to such changes within main loading code?

Looking the kind of format changes required compared to older freeciv
versions, I'm currently not sure if this new style compatibility hooks system
is really suitable for the work. Hooks between earlier versions have simply
added or deleted entries from section file, but now content of one entry
affects how contents of other entries should be modified, and all this in deep


File Attachments:

Date: Sat 18 Feb 2012 02:36:05 AM EET  Name: RoadOrderSave.diff  Size: 4kB  
By: cazfi



Reply to this item at:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to