| 201 | } |
| 202 | |
| 203 | void 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 | |
| 214 | HANDLE CreateUniqueEvent() |
| 215 | { |
no test coverage detected