diff options
author | Treeki <treeki@gmail.com> | 2011-03-13 23:35:44 +0100 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2011-03-13 23:35:44 +0100 |
commit | 793fc74bd957eea3930e30aae704e47adee5e015 (patch) | |
tree | 577e0579ef3de4e0a1063a94a7f3a4b144abcc33 /src/wmresourcemng.cpp | |
parent | 485c95c4fc071f954c7f808b0a89eb37d147c57b (diff) | |
download | kamek-793fc74bd957eea3930e30aae704e47adee5e015.tar.gz kamek-793fc74bd957eea3930e30aae704e47adee5e015.zip |
made LevelInfo into an OO class and added a header file for dWMResourceMng_c
Diffstat (limited to '')
-rw-r--r-- | src/wmresourcemng.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wmresourcemng.cpp b/src/wmresourcemng.cpp index ade1222..088cef4 100644 --- a/src/wmresourcemng.cpp +++ b/src/wmresourcemng.cpp @@ -12,7 +12,11 @@ dWMResourceMng_c::dWMResourceMng_c() { } dWMResourceMng_c::~dWMResourceMng_c() { + MapReport("dWMResourceMng_c destructed\n"); + if (isSetLoaded) { + MapReport("Unloading %d resources\n", setData->count); + for (int i = 0; i < setData->count; i++) { resLoaders[i].unload(); } |