diff options
author | Vladimir Menshakov | 2011-06-12 17:56:48 +0400 |
---|---|---|
committer | Alyssa Milburn | 2011-06-15 17:34:20 +0200 |
commit | b673130bf4cf0c77a106770e32c5125dbb7fccf1 (patch) | |
tree | a8dd725d5100aa7f572b9bb30af6d00b06cf26dd /engines/dreamweb/dreamweb.h | |
parent | f592fe188117e3f56cd19409afbed5b94c6d4d4a (diff) | |
download | scummvm-rg350-b673130bf4cf0c77a106770e32c5125dbb7fccf1.tar.gz scummvm-rg350-b673130bf4cf0c77a106770e32c5125dbb7fccf1.tar.bz2 scummvm-rg350-b673130bf4cf0c77a106770e32c5125dbb7fccf1.zip |
DREAMWEB: implemented somewhat hackish read from currently open file
Diffstat (limited to 'engines/dreamweb/dreamweb.h')
-rw-r--r-- | engines/dreamweb/dreamweb.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/engines/dreamweb/dreamweb.h b/engines/dreamweb/dreamweb.h index 7e99bf5e78..440a27bba5 100644 --- a/engines/dreamweb/dreamweb.h +++ b/engines/dreamweb/dreamweb.h @@ -91,9 +91,12 @@ public: void getPalette(uint8 *data, uint start, uint count); void setPalette(const uint8 *data, uint start, uint count); - void openSaveFile(const Common::String &name); + void openSaveFileForWriting(const Common::String &name); uint writeToSaveFile(const uint8 *data, uint size); + bool openSaveFileForReading(const Common::String &name); + uint readFromSaveFile(uint8 *data, uint size); + private: void keyPressed(uint16 ascii); @@ -104,7 +107,8 @@ private: unsigned _mouseState; Common::File _file; - Common::OutSaveFile *_saveFile; + Common::OutSaveFile *_outSaveFile; + Common::InSaveFile *_inSaveFile; dreamgen::Context _context; }; |