MCPcopy Create free account
hub / github.com/dhewm/dhewm3 / RelativePathToOSPath

Method RelativePathToOSPath

neo/framework/FileSystem.cpp:929–935  ·  view source on GitHub ↗

===================== idFileSystemLocal::RelativePathToOSPath Returns a fully qualified path that can be used with stdio libraries ===================== */

Source from the content-addressed store, hash-verified

927=====================
928*/
929const char *idFileSystemLocal::RelativePathToOSPath( const char *relativePath, const char *basePath ) {
930 const char *path = cvarSystem->GetCVarString( basePath );
931 if ( !path[0] ) {
932 path = fs_savepath.GetString();
933 }
934 return BuildOSPath( path, gameFolder, relativePath );
935}
936
937/*
938=================

Callers 15

CompileTextMethod · 0.80
ConvertMayaToMD5Method · 0.80
OnLbnDblclkListkeyvalMethod · 0.80
RadiantSyncFunction · 0.80
OnBnClickedFileMethod · 0.80
LeakFileFunction · 0.80
OpenFileMethod · 0.80
SaveFileMethod · 0.80
NewFileMethod · 0.80
LoadFileMethod · 0.80
ReadCDKeyMethod · 0.80
DumpWarningsMethod · 0.80

Calls 2

GetCVarStringMethod · 0.80
GetStringMethod · 0.45

Tested by

no test coverage detected