patchFreeciv - Patches: patch #3458, Bases & roads (&...

Show feedback again

patch #3458: Bases & roads (& specials?) to same vector in savegames

Submitted by:  Marko Lindqvist <cazfi>
Submitted on:  Sun Jul 29 16:08:42 2012  
Category: generalPriority: 5 - Normal
Status: Wont DoPrivacy: Public
Assigned to: Marko Lindqvist <cazfi>Open/Closed: Closed
Planned Release: 2.5.0Contains string changes: None

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Thu Jul 11 21:03:57 2013, comment #2:

Extras implementation is now in patch #3971. As 2.5 savegame format is not yet frozen, we could change it to match that if we want to avoid different format in just 2.5.

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Mon Feb 18 15:47:53 2013, comment #1:

> If done before current roads saving format gets in to official
> release

Then again, it would mean wasting time on temporary implementation to be soon replaced with real (tile) extras implementation. One option would be to start working on extras implementation before 2.5 just enough to make this saveformat part covered, but I rather let current model to stabilize to 2.5 than open it at this point.

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Sun Jul 29 16:08:42 2012, original submission:

We currently save separate specials, bases, and specials maps. As each character in savegame represent 4 specials/bases/roads, there can be wasted capacity up to 3*3 = 9 bits (last character of each of specials/bases/roads having just 1 meaningless bit) when number of specials/bases/roads is not divisible by 4. If we saved them all together, there would be only one "last" character, so wasted capacity would be 3 bits at max, meaning smaller savegames.

If done before current roads saving format gets in to official release, and done right (the way they are going to be arranged in the future), we could save future headaches of savegame backward compatibility with one more different format.

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.


(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by cazfi (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri Nov 8 00:00:21 2013cazfiStatusNone=>Wont Do
      Assigned toNone=>cazfi
      Planned Release2.6.0=>2.5.0
    Mon Feb 18 15:47:53 2013cazfiPlanned Release=>2.6.0
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup