MCPcopy Create free account
hub / github.com/crossuo/crossuo / UOFilePath

Function UOFilePath

xuocore/uodata.cpp:86–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84static bool s_UseVerdata = false;
85static char s_UOPath[FS_MAX_PATH];
86static fs_path UOFilePath(const char *str, ...)
87{
88 va_list arg;
89 va_start(arg, str);
90 char out[FS_MAX_PATH] = { 0 };
91 vsnprintf(out, sizeof(out) - 1, str, arg);
92 va_end(arg);
93 fs_path p = fs_path_join(s_UOPath, out);
94 return fs_insensitive(p);
95}
96
97void uo_data_init(const char *path, uint32_t client_version, bool use_verdata)
98{

Callers 12

LoadMethod · 0.85
LoadCommonMethod · 0.85
LoadWithMulMethod · 0.85
LoadWithUopMethod · 0.85
UopLoadFileMethod · 0.85
load_mobtypeFunction · 0.85
load_animdefFunction · 0.85
load_equipconvFunction · 0.85
load_bodyconvFunction · 0.85
load_bodydefFunction · 0.85
load_corpsedefFunction · 0.85
IndexReplacesMethod · 0.85

Calls 2

fs_path_joinFunction · 0.85
fs_insensitiveFunction · 0.85

Tested by

no test coverage detected