diff options
author | Joost Peters | 2003-10-12 18:44:44 +0000 |
---|---|---|
committer | Joost Peters | 2003-10-12 18:44:44 +0000 |
commit | 9b41c157c09487f7baee5caa3fdfaabe759d4abd (patch) | |
tree | 0f4022e3765bc077ee1d2b5ed70f2ff0ceb2e564 /queen/resource.h | |
parent | 36fd7ec44574a4b1712fff1eb0ec43a76aab8f1c (diff) | |
download | scummvm-rg350-9b41c157c09487f7baee5caa3fdfaabe759d4abd.tar.gz scummvm-rg350-9b41c157c09487f7baee5caa3fdfaabe759d4abd.tar.bz2 scummvm-rg350-9b41c157c09487f7baee5caa3fdfaabe759d4abd.zip |
added missing INITIATE() code, added language detection to Resource class, etc.
svn-id: r10767
Diffstat (limited to 'queen/resource.h')
-rw-r--r-- | queen/resource.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/queen/resource.h b/queen/resource.h index bfc808f5d6..eb396da06b 100644 --- a/queen/resource.h +++ b/queen/resource.h @@ -23,6 +23,7 @@ #define QUEEN_RESOURCE_H #include "common/file.h" +#include "defs.h" namespace Queen { @@ -60,12 +61,17 @@ public: Resource(const Common::String &datafilePath); ~Resource(void); uint8 *loadFile(const char *filename, uint32 skipBytes = 0); + char *getJAS2Line(); bool exists(const char *filename); bool isDemo(); + bool isFloppy(); uint32 fileSize(const char *filename); + Language getLanguage(); protected: File *_resourceFile; + char *_JAS2Ptr; + uint32 _JAS2Pos; const Common::String _datafilePath; const GameVersion *_gameVersion; uint32 _resourceEntries; |