diff options
author | Willem Jan Palenstijn | 2016-07-02 21:19:29 +0200 |
---|---|---|
committer | Willem Jan Palenstijn | 2016-07-06 21:06:12 +0200 |
commit | d832a232411e3f931fba41b1a92155264156d1a5 (patch) | |
tree | a6ef9f51581b04b5aca9decd2d101d54bb0fff55 /engines/sci/engine/state.h | |
parent | e243147f1ea8715b06312d66c6b48d473feb3cdc (diff) | |
download | scummvm-rg350-d832a232411e3f931fba41b1a92155264156d1a5.tar.gz scummvm-rg350-d832a232411e3f931fba41b1a92155264156d1a5.tar.bz2 scummvm-rg350-d832a232411e3f931fba41b1a92155264156d1a5.zip |
SCI32: Add SaveFileRewriteStream for read/write access to files
At least Phantasmagoria and PQ:SWAT require this.
This adds a ReadStream/WriteStream to support this. It replaces
the previous VirtualIndexFile which required reimplementation of
most read/write functions.
Diffstat (limited to 'engines/sci/engine/state.h')
-rw-r--r-- | engines/sci/engine/state.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/engines/sci/engine/state.h b/engines/sci/engine/state.h index cf9a753f5c..baca4a503b 100644 --- a/engines/sci/engine/state.h +++ b/engines/sci/engine/state.h @@ -131,10 +131,6 @@ public: int16 _lastSaveVirtualId; // last virtual id fed to kSaveGame, if no kGetSaveFiles was called inbetween int16 _lastSaveNewId; // last newly created filename-id by kSaveGame -#ifdef ENABLE_SCI32 - VirtualIndexFile *_virtualIndexFile; -#endif - // see detection.cpp / SciEngine::loadGameState() bool _delayedRestoreGame; // boolean, that triggers delayed restore (triggered by ScummVM menu) int _delayedRestoreGameId; // the saved game id, that it supposed to get restored (triggered by ScummVM menu) |