MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / EnsureEngineInit

Function EnsureEngineInit

apps/tools/TcPbo/tc_pbo.cpp:57–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55static bool g_engineInitialized = false;
56
57static void EnsureEngineInit()
58{
59 if (g_engineInitialized)
60 return;
61 Poseidon::Foundation::CurrentAppFrameFunctions = &g_appFrame;
62 SetMemorySystemReady(true);
63 InitLibraryElement();
64 Poseidon::InitDefaults();
65 GEngine = CreateEngineDummy();
66 g_engineInitialized = true;
67}
68
69struct PboEntry
70{

Callers 3

OpenArchiveFunction · 0.70
DllMainFunction · 0.70
PluginInitFunction · 0.70

Calls 4

InitLibraryElementFunction · 0.85
InitDefaultsFunction · 0.85
CreateEngineDummyFunction · 0.85
SetMemorySystemReadyFunction · 0.50

Tested by

no test coverage detected