- added a system-include independent wrapper for Windows's OutputDebugString, so that this can be used more easily in files that cannot include windows.h.
This commit is contained in:
parent
ef08e29d51
commit
12129b0f07
8 changed files with 24 additions and 8 deletions
|
|
@ -1051,6 +1051,11 @@ static void DoPrintStr(const char *cp, HWND edit, HANDLE StdOut)
|
|||
|
||||
static TArray<FString> bufferedConsoleStuff;
|
||||
|
||||
void I_DebugPrint(const char *cp)
|
||||
{
|
||||
OutputDebugStringA(cp);
|
||||
}
|
||||
|
||||
void I_PrintStr(const char *cp)
|
||||
{
|
||||
if (con_debugoutput)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue