summaryrefslogtreecommitdiff
path: root/src/resources/resourcemanager.h
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2005-07-27 23:22:45 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2005-07-27 23:22:45 +0000
commit227aeae87bcca1ecb0183530a4cca1b038863635 (patch)
tree1f2dd29f93e904ccef0fdd9fe2c7d9778b867934 /src/resources/resourcemanager.h
parentd15d76976b6e57a9f421ab034c6f841051b962f3 (diff)
downloadmana-227aeae87bcca1ecb0183530a4cca1b038863635.tar.gz
mana-227aeae87bcca1ecb0183530a4cca1b038863635.tar.bz2
mana-227aeae87bcca1ecb0183530a4cca1b038863635.tar.xz
mana-227aeae87bcca1ecb0183530a4cca1b038863635.zip
Added support for updates to the resource manager.
Diffstat (limited to 'src/resources/resourcemanager.h')
-rw-r--r--src/resources/resourcemanager.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/resources/resourcemanager.h b/src/resources/resourcemanager.h
index 93c2dd85..ac3320b6 100644
--- a/src/resources/resourcemanager.h
+++ b/src/resources/resourcemanager.h
@@ -62,6 +62,12 @@ class ResourceManager
~ResourceManager();
/**
+ * Searches for zip files and adds them to the PhysicsFS search path.
+ */
+ void ResourceManager::searchAndAddArchives(
+ const std::string &path, const std::string &ext, int append);
+
+ /**
* Creates a resource and adds it to the resource map. The idPath is
* converted into the appropriate path for the current operating system
* and the resource is loaded.
@@ -134,13 +140,6 @@ class ResourceManager
deleteInstance();
private:
- /**
- * Searches for zip files and adds them to the PhysicsFS search path.
- */
- void
- searchAndAddZipFiles();
-
-
static ResourceManager *instance;
std::map<std::string, Resource*> resources;
};