[Scummvm-devel] File vs SaveFileManager

J.Brown (Ender) ender at scummvm.org
Mon Aug 11 07:51:10 CEST 2003


This should be part of the 'new engine' documentation, which would be nice
if somebody could volunteer to write :)

It should cover using the OSystem interface, SaveFileManager and File
classes.


 - Ender

   http://www.scummvm.org/   | "Amen! Attempts to eradicate humour from
   http://www.quakesrc.org/  |  our distribution should be ignored with
   http://www.enderboi.com/  |  extreme prejudice" - cjwatson at debian.org

On 11 Aug 2003, Marcus Comstedt wrote:

> Date: 11 Aug 2003 15:31:54 +0200
> From: Marcus Comstedt <marcus at mc.pp.se>
> To: scummvm-devel at lists.sourceforge.net
> Subject: Re: [Scummvm-devel] File vs SaveFileManager
>
>
> 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
>
>
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
> http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
> _______________________________________________
> Scummvm-devel mailing list
> Scummvm-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/scummvm-devel
>





More information about the Scummvm-devel mailing list