aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/base/base_file_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/base/base_file_manager.h')
-rw-r--r--engines/wintermute/base/base_file_manager.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/wintermute/base/base_file_manager.h b/engines/wintermute/base/base_file_manager.h
index 70aff49bbb..5fc626a314 100644
--- a/engines/wintermute/base/base_file_manager.h
+++ b/engines/wintermute/base/base_file_manager.h
@@ -43,7 +43,7 @@ public:
bool closeFile(Common::SeekableReadStream *File);
bool hasFile(const Common::String &filename);
Common::SeekableReadStream *openFile(const Common::String &filename, bool absPathWarning = true, bool keepTrackOf = true);
- byte *readWholeFile(const Common::String &filename, uint32 *size = NULL, bool mustExist = true);
+ byte *readWholeFile(const Common::String &filename, uint32 *size = nullptr, bool mustExist = true);
BaseFileManager(Common::Language lang);
virtual ~BaseFileManager();
@@ -59,6 +59,7 @@ private:
bool initPaths();
bool addPath(TPathType type, const Common::FSNode &path);
bool registerPackages();
+ void initResources();
Common::SeekableReadStream *openFileRaw(const Common::String &filename);
Common::SeekableReadStream *openPkgFile(const Common::String &filename);
Common::FSList _packagePaths;
@@ -67,6 +68,7 @@ private:
Common::SearchSet _packages;
Common::Array<Common::SeekableReadStream *> _openFiles;
Common::Language _language;
+ Common::Archive *_resources;
// This class is intentionally not a subclass of Base, as it needs to be used by
// the detector too, without launching the entire engine:
};