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

Method GetTestPath

Source/ResourceMan.cpp:435–442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

433}
434
435std::string cResourceMan::GetTestPath(const sGameVersion* pVersion, const std::string pFile) const {
436 for (auto& ValidPath : mValidPaths) {
437 auto basepath = ValidPath + PathGenerate(pFile, eTest);
438 if (FileExists(basepath))
439 return basepath;
440 }
441 return "";
442}
443
444std::string cResourceMan::GetAboutFile() const {
445 for (auto& ValidPath : mValidPaths) {

Callers 2

setDemoNameMethod · 0.80
StartMethod · 0.80

Calls

no outgoing calls

Tested by 2

setDemoNameMethod · 0.64
StartMethod · 0.64