summaryrefslogtreecommitdiff
path: root/src/resources/resourcemanager.cpp
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2005-09-12 22:15:35 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2005-09-12 22:15:35 +0000
commit8a598e713f504c88402ff204907044c0d62c5f29 (patch)
tree073bce873520aa438a4cb1dd1e63e206b30200dd /src/resources/resourcemanager.cpp
parentd174cc5811eb6450617ca500f9e5cd13f334374a (diff)
downloadmana-8a598e713f504c88402ff204907044c0d62c5f29.tar.gz
mana-8a598e713f504c88402ff204907044c0d62c5f29.tar.bz2
mana-8a598e713f504c88402ff204907044c0d62c5f29.tar.xz
mana-8a598e713f504c88402ff204907044c0d62c5f29.zip
Added SDLImageLoader class to make guichan support physfs.
Diffstat (limited to 'src/resources/resourcemanager.cpp')
-rw-r--r--src/resources/resourcemanager.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/resources/resourcemanager.cpp b/src/resources/resourcemanager.cpp
index 3567ac35..39b8dfff 100644
--- a/src/resources/resourcemanager.cpp
+++ b/src/resources/resourcemanager.cpp
@@ -113,13 +113,6 @@ bool ResourceManager::isDirectory(const std::string &path)
return PHYSFS_isDirectory(path.c_str());
}
-std::string ResourceManager::getRealPath(const std::string &path)
-{
- const char *dirSep = PHYSFS_getDirSeparator();
-
- return std::string(PHYSFS_getRealDir(path.c_str())) + dirSep + path;
-}
-
Resource*
ResourceManager::get(const E_RESOURCE_TYPE &type, const std::string &idPath)
{