aboutsummaryrefslogtreecommitdiff
path: root/queen/resource.h
diff options
context:
space:
mode:
authorGregory Montoir2004-01-12 13:40:02 +0000
committerGregory Montoir2004-01-12 13:40:02 +0000
commit95de2117a20da3b9828a385b4a6713e4d9524aa8 (patch)
tree6b13647be7a0340bc5c7227208a2880d890666e5 /queen/resource.h
parenta685422a138c99af7f95f8deaf787425af356f9b (diff)
downloadscummvm-rg350-95de2117a20da3b9828a385b4a6713e4d9524aa8.tar.gz
scummvm-rg350-95de2117a20da3b9828a385b4a6713e4d9524aa8.tar.bz2
scummvm-rg350-95de2117a20da3b9828a385b4a6713e4d9524aa8.zip
New save/load code, this *breaks* compatiblity with the previous
savefile format. Use the 'qsc' tool to convert your old files (http://0x.7fc1.org/fotaq/qsc.[cpp|exe]). svn-id: r12339
Diffstat (limited to 'queen/resource.h')
-rw-r--r--queen/resource.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/queen/resource.h b/queen/resource.h
index 52a7dd990c..59f50885ef 100644
--- a/queen/resource.h
+++ b/queen/resource.h
@@ -76,7 +76,7 @@ private:
class Resource {
public:
- Resource(const Common::String &datafilePath, SaveFileManager *mgr, const char *savePath);
+ Resource(const Common::String &datafilePath);
~Resource(void);
uint8 *loadFile(const char *filename, uint32 skipBytes = 0, byte *dstBuf = NULL);
@@ -93,9 +93,6 @@ public:
const char *JASVersion() const { return _versionString; }
Language getLanguage() const;
- bool writeSave(uint16 slot, const byte *saveData, uint32 size);
- bool readSave(uint16 slot, byte *&ptr);
-
enum {
JAS_VERSION_OFFSET_DEMO = 0x119A8,
JAS_VERSION_OFFSET_INTV = 0xCF8,
@@ -110,7 +107,6 @@ protected:
const char *_savePath;
uint32 _resourceEntries;
ResourceEntry *_resourceTable;
- SaveFileManager *_saveFileManager;
bool findNormalVersion();
bool findCompressedVersion();