[Scummvm-devel] File vs SaveFileManager

Marcus Comstedt marcus at mc.pp.se
Mon Aug 11 06:55:12 CEST 2003


Well, what I've done so far is A, except that write support is still
present in File.  That is, I have extended the SaveFile API a bit to
make it more interchangeable with File, and fixed all the places where
a File was used to save stuff (Scumm::dumpResource and
SkyDisk::dumpFile still use File in write mode, but that should be ok;
I doubt anyone would try dumping anything on an embedded system).

If someone can verify that saving/loading in Simon and BASS still
works, that would be great.  (The changes were minor and everything
compiles, but you never know...)

Also, the PalmOS backend maintainer might want to check that the Palm
port still compiles, I had to change some lines there because of some
API changes in SaveFile.

In short, the savefile mistakes made in Simon and BASS should be fixed
now, but there is nothing to prevent them from being made again by the
next person who adds an engine...


  // Marcus






More information about the Scummvm-devel mailing list