diff options
author | Torbjörn Andersson | 2003-11-08 15:47:51 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2003-11-08 15:47:51 +0000 |
commit | 688c80b0620ae5765355a4048864bb3de84ebf74 (patch) | |
tree | 497d8efc73b08f5a4d58c45c52b7a6bafa1975ff /sword2/resman.h | |
parent | b04ddef7506bfa08527da9e79040c583fb765b2e (diff) | |
download | scummvm-rg350-688c80b0620ae5765355a4048864bb3de84ebf74.tar.gz scummvm-rg350-688c80b0620ae5765355a4048864bb3de84ebf74.tar.bz2 scummvm-rg350-688c80b0620ae5765355a4048864bb3de84ebf74.zip |
Moved more stuff into classes, changed some static allocation to dynamic,
and removed some of the references to global variables.
At this point I believe everything in the main game engine has been moved
into classes - not necessarily the correct ones, but still... However,
there is some stuff in the driver directory that need to be taken care of
as well.
svn-id: r11207
Diffstat (limited to 'sword2/resman.h')
-rw-r--r-- | sword2/resman.h | 6 |
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; |