SCI: Rewrote saveload system
|Reported by:||fingolfin||Owned by:||fingolfin|
(The SF.net tracker just made me loose the long elaborate text I wrote here originally. I am too tired and angry to rewrite it, so I'll be brief now).
The attached patch is a rewrite of the SCI saveload system. With it, we don't need CFSML anymore, so less voodoo, code is easier to modify, and more portable. The saves are smaller, too.
This is a big change, so it would be nice if people could run this through some heavy tests and look for regressions. I only tested it a bit with SQ1 and SQ3.
The new format is binary, and completely incompatible with the old one. Moreover, I plan to change the format at least once more, by adding some more data to the header. See also the FIXME and TODO comments.
Ticket imported from: #2687400. Ticket imported from: patches/1091.