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

Method addBaseDir

Source/ResourceMan.cpp:45–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45void 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
54void cResourceMan::addDefaultDirs() {
55 std::string path;

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected