diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-09-12 22:15:35 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-09-12 22:15:35 +0000 |
commit | 8a598e713f504c88402ff204907044c0d62c5f29 (patch) | |
tree | 073bce873520aa438a4cb1dd1e63e206b30200dd /src/resources/resourcemanager.cpp | |
parent | d174cc5811eb6450617ca500f9e5cd13f334374a (diff) | |
download | mana-client-8a598e713f504c88402ff204907044c0d62c5f29.tar.gz mana-client-8a598e713f504c88402ff204907044c0d62c5f29.tar.bz2 mana-client-8a598e713f504c88402ff204907044c0d62c5f29.tar.xz mana-client-8a598e713f504c88402ff204907044c0d62c5f29.zip |
Added SDLImageLoader class to make guichan support physfs.
Diffstat (limited to 'src/resources/resourcemanager.cpp')
-rw-r--r-- | src/resources/resourcemanager.cpp | 7 |
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) { |