aboutsummaryrefslogtreecommitdiff
path: root/sword2/resman.h
diff options
context:
space:
mode:
Diffstat (limited to 'sword2/resman.h')
-rw-r--r--sword2/resman.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sword2/resman.h b/sword2/resman.h
index 510f22ba5b..85d334e644 100644
--- a/sword2/resman.h
+++ b/sword2/resman.h
@@ -26,9 +26,11 @@ namespace Sword2 {
#define MAX_res_files 20
+class Sword2Engine;
+
class ResourceManager {
public:
- ResourceManager(void); // read in the config file
+ ResourceManager(Sword2Engine *vm); // read in the config file
~ResourceManager(void);
// Returns ad of resource. Loads if not in memory. Retains a count.
@@ -77,6 +79,8 @@ public:
mem **_resList;
private:
+ Sword2Engine *_vm;
+
int _curCd;
uint32 _totalResFiles;
uint32 _totalClusters;