]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys_win.c
Sys_Print added to handle the output of text to the terminal (since this varies from...
[xonotic/darkplaces.git] / sys_win.c
index e23c8b3fee1bbc5aa64b744e98611e3195126d4b..ae3f7cd4aad5357772cff78e670515f44e38ea8e 100644 (file)
--- a/sys_win.c
+++ b/sys_win.c
@@ -132,6 +132,13 @@ void Sys_Quit (void)
        exit (0);
 }
 
+void Sys_Print(const char *text)
+{
+       DWORD dummy;
+       extern HANDLE houtput;
+       if (cls.state == ca_dedicated)
+               WriteFile(houtput, text, strlen (text), &dummy, NULL);
+}
 
 /*
 ================