MCPcopy Create free account
hub / github.com/ZDoom/Raze / CreatePath

Function CreatePath

source/common/utility/cmdlib.cpp:549–563  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

547}
548
549void CreatePath(const char *fn)
550{
551 char c = fn[strlen(fn)-1];
552
553 if (c != '\\' && c != '/')
554 {
555 FString name(fn);
556 name += '/';
557 DoCreatePath(name.GetChars());
558 }
559 else
560 {
561 DoCreatePath(fn);
562 }
563}
564#else
565void CreatePath(const char *fn)
566{

Callers 13

SaveScreenshotFunction · 0.85
G_GetDemoPathFunction · 0.85
G_GetSavegamesFolderFunction · 0.85
M_GetAppDataPathFunction · 0.85
M_GetCachePathFunction · 0.85
M_GetAppDataPathFunction · 0.85
M_GetCachePathFunction · 0.85
M_GetConfigPathFunction · 0.85
M_GetScreenshotsPathFunction · 0.85
M_GetDocumentsPathFunction · 0.85
CreateProgramCacheNameFunction · 0.85
CreateProgramCacheNameFunction · 0.85

Calls 3

DoCreatePathFunction · 0.85
DirEntryExistsFunction · 0.85
GetCharsMethod · 0.45

Tested by 7

M_GetAppDataPathFunction · 0.68
M_GetCachePathFunction · 0.68
M_GetAppDataPathFunction · 0.68
M_GetCachePathFunction · 0.68
M_GetConfigPathFunction · 0.68
M_GetScreenshotsPathFunction · 0.68
M_GetDocumentsPathFunction · 0.68