diff --git a/Bin/VC10/VC10.vcxproj b/Bin/VC10/VC10.vcxproj
index ce2ca4d..4046f56 100644
--- a/Bin/VC10/VC10.vcxproj
+++ b/Bin/VC10/VC10.vcxproj
@@ -90,7 +90,9 @@
+
+
@@ -123,6 +125,7 @@
+
diff --git a/Bin/VC10/VC10.vcxproj.filters b/Bin/VC10/VC10.vcxproj.filters
index 4d2a69f..39acd67 100644
--- a/Bin/VC10/VC10.vcxproj.filters
+++ b/Bin/VC10/VC10.vcxproj.filters
@@ -132,15 +132,21 @@
TMXParser
-
- System
-
Level
Collision
+
+ Level
+
+
+ Level
+
+
+ System
+
@@ -221,5 +227,8 @@
Collision
+
+ Level
+
\ No newline at end of file
diff --git a/src/System/ResourceManager.h b/src/System/ResourceManager.h
index decf664..8d0593e 100644
--- a/src/System/ResourceManager.h
+++ b/src/System/ResourceManager.h
@@ -18,10 +18,10 @@ class ResourceManager
public:
ResourceManager() { }
- typedef std::map ResourceMap;
+ typedef std::map ResourceMap;
T* Load(const std::string& name) {
- ResourceMap::iterator i = m_resources.find(name);
+ ResourceManager::ResourceMap::iterator i = m_resources.find(name);
if(i == m_resources.end()) {
T* resource = new T();
@@ -43,7 +43,7 @@ public:
}
T* Find(const std::string& name) {
- ResourceMap::iterator i = m_resources.find(name);
+ ResourceManager::ResourceMap::iterator i = m_resources.find(name);
if(i != m_resources.end()) {
return i->second;
}
@@ -51,7 +51,7 @@ public:
}
void Add(const std::string& name, T* resource) {
- ResourceMap::iterator i = m_resources.find(name);
+ ResourceManager::ResourceMap::iterator i = m_resources.find(name);
if(i == m_resources.end()) {
resource->refs++;
m_resources.insert(std::pair(name, resource));
@@ -64,7 +64,7 @@ public:
if(name.empty())
return;
- ResourceMap::iterator i = m_resources.find(name);
+ ResourceManager::ResourceMap::iterator i = m_resources.find(name);
if(i != m_resources.end()) {
T* resource = i->second;
@@ -78,7 +78,7 @@ public:
}
void Destroy(T* resource) {
- ResourceMap::iterator i;
+ ResourceManager::ResourceMap::iterator i;
for(i = m_resources.begin(); i != m_resources.end(); ++i) {
if(i->second == resource){
resource->refs--;