| 452 | } |
| 453 | |
| 454 | std::string cResourceMan::GetWavPath(const std::string& pFile) const { |
| 455 | for (auto& ValidPath : mValidPaths) { |
| 456 | auto basepath = ValidPath + PathGenerate("WAV/" + pFile, eData); |
| 457 | if (FileExists(basepath)) |
| 458 | return basepath; |
| 459 | } |
| 460 | |
| 461 | return ""; |
| 462 | } |
| 463 | |
| 464 | std::string cResourceMan::GetMapPath(const std::string& pName) const { |
| 465 | for (auto& Map : mMaps) { |