MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / addLocalSearchPath

Function addLocalSearchPath

TheForceEngine/TFE_FileSystem/paths.cpp:286–293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

284 }
285
286 void addLocalSearchPath(const char* localSearchPath)
287 {
288 char fullPath[TFE_MAX_PATH];
289 snprintf(fullPath, TFE_MAX_PATH, "%s%s", getPath(PATH_SOURCE_DATA), localSearchPath);
290 fixupPathAsDirectory(fullPath);
291
292 addSearchPath(fullPath);
293 }
294
295 void addAbsoluteSearchPathToHead(const char* absoluteSearchPath)
296 {

Callers 1

buildSearchPathsFunction · 0.50

Calls 3

getPathFunction · 0.70
fixupPathAsDirectoryFunction · 0.70
addSearchPathFunction · 0.70

Tested by

no test coverage detected