| 43 | } |
| 44 | |
| 45 | void cResourceMan::addBaseDir(std::string pPath) { |
| 46 | // Ensure trailing / on path |
| 47 | if(pPath.size()) |
| 48 | if (pPath[pPath.size() - 1] != '/') |
| 49 | pPath.append("/"); |
| 50 | |
| 51 | mAllPaths.push_back(pPath + "OpenFodder/"); |
| 52 | } |
| 53 | |
| 54 | void cResourceMan::addDefaultDirs() { |
| 55 | std::string path; |