diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-08-04 21:19:25 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-08-04 21:19:25 +0000 |
commit | 9eed8feb838c31368dba6cd9716f67d800bf6e3b (patch) | |
tree | bf7c9d1963a5d8ef031c6f04ef114722e299a7f0 /src/resources/resourcemanager.h | |
parent | 2da65e2e57b664cc45c164f08ddae3597e51fcba (diff) | |
download | mana-9eed8feb838c31368dba6cd9716f67d800bf6e3b.tar.gz mana-9eed8feb838c31368dba6cd9716f67d800bf6e3b.tar.bz2 mana-9eed8feb838c31368dba6cd9716f67d800bf6e3b.tar.xz mana-9eed8feb838c31368dba6cd9716f67d800bf6e3b.zip |
Added a method to the resource mananger to determine the real path of a file in the search path. Added a first user of that function. Minor cleanup.
Diffstat (limited to 'src/resources/resourcemanager.h')
-rw-r--r-- | src/resources/resourcemanager.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/resources/resourcemanager.h b/src/resources/resourcemanager.h index 9db8ccce..fa7d9610 100644 --- a/src/resources/resourcemanager.h +++ b/src/resources/resourcemanager.h @@ -96,6 +96,11 @@ class ResourceManager bool isDirectory(const std::string &path); /** + * Returns the real path to the given path in the PhysFS search path + */ + std::string getRealPath(const std::string &path); + + /** * 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. |