diff options
author | Gregory Montoir | 2003-12-11 21:04:02 +0000 |
---|---|---|
committer | Gregory Montoir | 2003-12-11 21:04:02 +0000 |
commit | 38c4321f5965c5872e2d4e73d0a9e6ec05a35a2e (patch) | |
tree | 33bc8901f1810f0a7686d268f417136586d6b5b5 /queen/resource.h | |
parent | 3080be97e0567efa78fbcbe8d2daa9906523eb8f (diff) | |
download | scummvm-rg350-38c4321f5965c5872e2d4e73d0a9e6ec05a35a2e.tar.gz scummvm-rg350-38c4321f5965c5872e2d4e73d0a9e6ec05a35a2e.tar.bz2 scummvm-rg350-38c4321f5965c5872e2d4e73d0a9e6ec05a35a2e.zip |
cleanup
svn-id: r11588
Diffstat (limited to 'queen/resource.h')
-rw-r--r-- | queen/resource.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/queen/resource.h b/queen/resource.h index fde96e823e..d23e05b446 100644 --- a/queen/resource.h +++ b/queen/resource.h @@ -41,7 +41,7 @@ enum Version { VER_DEMO_PCGAMES = 9, VER_DEMO = 10, - VER_NUMBER = 11 + VER_COUNT = 11 }; struct ResourceEntry { @@ -80,6 +80,10 @@ public: bool writeSave(uint16 slot, const byte *saveData, uint32 size); bool readSave(uint16 slot, byte *&ptr); + enum { + DEMO_JAS_VERSION_OFFSET = 0x119A8, + JAS_VERSION_OFFSET = 0x12484 + }; protected: File *_resourceFile; @@ -91,6 +95,8 @@ protected: const char *_savePath; uint32 _resourceEntries; ResourceEntry *_resourceTable; + + static const char *_tableFilename; static const GameVersion _gameVersions[]; static ResourceEntry _resourceTablePEM10[]; |