Summary: Bases & roads (& specials?) to same vector in
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Sun 29 Jul 2012 07:08:42 PM EEST
                Category: general
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 



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

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.


Reply to this item at:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to