diff options
author | Johannes Schickel | 2006-07-08 14:25:23 +0000 |
---|---|---|
committer | Johannes Schickel | 2006-07-08 14:25:23 +0000 |
commit | abdebd3bfd3596d073f40cc4d7452a053906f8b5 (patch) | |
tree | 893fb0e79992c2c7f5739f7a05b40424f6b5da1b /engines/kyra/resource.h | |
parent | 700ff85a638fef71e709049dbbac96d538810408 (diff) | |
download | scummvm-rg350-abdebd3bfd3596d073f40cc4d7452a053906f8b5.tar.gz scummvm-rg350-abdebd3bfd3596d073f40cc4d7452a053906f8b5.tar.bz2 scummvm-rg350-abdebd3bfd3596d073f40cc4d7452a053906f8b5.zip |
- fixes some c/p errors from my last commit
- fixes embedded pak loading
svn-id: r23425
Diffstat (limited to 'engines/kyra/resource.h')
-rw-r--r-- | engines/kyra/resource.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/kyra/resource.h b/engines/kyra/resource.h index bd93ef76aa..7cb16f9918 100644 --- a/engines/kyra/resource.h +++ b/engines/kyra/resource.h @@ -61,14 +61,20 @@ class PAKFile : public ResourceFile { public: PAKFile(const char *file, bool isAmiga = false); - PAKFile(const char *file, const uint8 *buf, uint32 size, bool isAmiga = false); + PAKFile(const char *file, const char *physfile, const uint32 off, const uint8 *buf, uint32 size, bool isAmiga = false); ~PAKFile(); uint8 *getFile(const char *file); bool getFileHandle(const char *file, Common::File &filehandle); uint32 getFileSize(const char *file); private: + bool openFile(Common::File &filehandle); + bool _isAmiga; + + Common::String _physfile; + uint32 _physOffset; + Common::List<PakChunk> _files; // the entries }; |