diff options
author | Paul Gilbert | 2017-08-12 20:09:18 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-08-12 20:09:18 -0400 |
commit | f132cbcf8570eb2a125d6c079997762ffffdab08 (patch) | |
tree | 90180a31c5677bd0361d59ea5badfc1f74e52565 /engines/titanic/support/files_manager.h | |
parent | 6a5c52019458e13941abb3f6ab3f4cd1607c3989 (diff) | |
download | scummvm-rg350-f132cbcf8570eb2a125d6c079997762ffffdab08.tar.gz scummvm-rg350-f132cbcf8570eb2a125d6c079997762ffffdab08.tar.bz2 scummvm-rg350-f132cbcf8570eb2a125d6c079997762ffffdab08.zip |
TITANIC: Add support for compressed bitmaps in titanic.dat
Diffstat (limited to 'engines/titanic/support/files_manager.h')
-rw-r--r-- | engines/titanic/support/files_manager.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/engines/titanic/support/files_manager.h b/engines/titanic/support/files_manager.h index 7627ececdd..c1e3c3b274 100644 --- a/engines/titanic/support/files_manager.h +++ b/engines/titanic/support/files_manager.h @@ -29,6 +29,8 @@ namespace Titanic { +enum ResourceFlag { FLAG_COMPRESSED = 1 }; + class TitanicEngine; class CGameManager; @@ -39,9 +41,11 @@ class CFilesManager { struct ResourceEntry { uint _offset; uint _size; + uint _flags; - ResourceEntry() : _offset(0), _size(0) {} - ResourceEntry(uint offset, uint size) : _offset(offset), _size(size) {} + ResourceEntry() : _offset(0), _size(0), _flags(0) {} + ResourceEntry(uint offset, uint size, uint flags) : + _offset(offset), _size(size), _flags(flags) {} }; typedef Common::HashMap<Common::String, ResourceEntry> ResourceHash; private: @@ -52,6 +56,7 @@ private: CFilesManagerList _list; int _drive; const CString _assetsPath; + int _version; public: CFilesManager(TitanicEngine *vm); ~CFilesManager(); |