MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / OpenDumper

Function OpenDumper

ogsr_engine/xrGame/script_engine_help.cpp:19–28  ·  view source on GitHub ↗

redefinition for fast save

Source from the content-addressed store, hash-verified

17
18// redefinition for fast save
19static void OpenDumper()
20{
21 string_path dump_name;
22 strcpy_s(dump_name, 260, "lua_help_OGSR.script");
23
24 if (FS.path_exist("$logs$"))
25 FS.update_path(dump_name, "$logs$", dump_name);
26
27 dumper = FS.w_open(dump_name);
28}
29
30static void CloseDumper()
31{

Callers 1

Calls 3

path_existMethod · 0.80
w_openMethod · 0.80
update_pathMethod · 0.45

Tested by

no test coverage detected