MCPcopy Create free account
hub / github.com/bwapi/bwapi / CheckAttachConsole

Function CheckAttachConsole

bwapi/BWAPI/Source/DLLMain.cpp:203–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201}
202
203void CheckAttachConsole()
204{
205 bool attach_s = LoadConfigStringUCase("config", "console_attach_on_startup", "FALSE") == "TRUE";
206 bool alloc_s = LoadConfigStringUCase("config", "console_alloc_on_startup", "FALSE") == "TRUE";
207 bool attach_a = LoadConfigStringUCase("config", "console_attach_auto", "TRUE") == "TRUE";
208 bool alloc_a = LoadConfigStringUCase("config", "console_alloc_auto", "TRUE") == "TRUE";
209
210 if (!BWAPI::openConsole(attach_s, alloc_s))
211 BWAPI::autoOpenConsole(attach_a, alloc_a);
212}
213
214HANDLE CreateUniqueEvent()
215{

Callers 1

DllMainFunction · 0.85

Calls 3

LoadConfigStringUCaseFunction · 0.85
openConsoleFunction · 0.85
autoOpenConsoleFunction · 0.85

Tested by

no test coverage detected