[Scummvm-devel] Porters: Adding seeking to InSaveFile for HE games

Travis Howell kirben at optusnet.com.au
Sat Apr 22 04:56:02 CEST 2006

From: "Max Horn" <max at quendi.de>
> currently, the HE part of the SCUMM engine has to abuse the File API  (no 
> offense intended) for the _hFileTable (see scumm/he/intern_he.h),  to 
> implement the file read/write APIs found in the HE games.
> The HE engine uses lost of Common::File objects aggregated in  _hFileTable 
> to allow read/write/seek access to files in the savepath.  This is not so 
> nice. Much better (i.e. portable) would be to use (In/ Out)SaveFiles and 
> the SaveFileManager.

The file opcodes in HE Games are used to read information from the original 
data files and create/update save game type files. So please keep in mind, 
that it requires access to data files directory and saved game directory. 

More information about the Scummvm-devel mailing list