MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / GetWavPath

Method GetWavPath

Source/ResourceMan.cpp:454–462  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

452}
453
454std::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
464std::string cResourceMan::GetMapPath(const std::string& pName) const {
465 for (auto& Map : mMaps) {

Callers 1

Music_PlayMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected