]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - conproc.c
Do not build VBOs on a dedicated server.
[xonotic/darkplaces.git] / conproc.c
index a991fe5d38dfd8eee3849a277856929bfe16b00c..ccbb849c9c2a44c0183521a988af2dc80b86bc2e 100644 (file)
--- a/conproc.c
+++ b/conproc.c
@@ -19,10 +19,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */
 // conproc.c
 
+#include "quakedef.h"
+
 #include <windows.h>
 #include <wchar.h>
 #include "conproc.h"
-#include "quakedef.h"
 
 HANDLE heventDone;
 HANDLE hfileBuffer;
@@ -38,7 +39,7 @@ BOOL GetScreenBufferLines (int *piLines);
 BOOL SetScreenBufferLines (int iLines);
 BOOL ReadText (LPTSTR pszText, int iBeginLine, int iEndLine);
 BOOL WriteText (LPCTSTR szText);
-int CharToCode (char c);
+int CharToCode (int c);
 BOOL SetConsoleCXCY(HANDLE hStdout, int cx, int cy);
 
 
@@ -59,7 +60,7 @@ void InitConProc (HANDLE hFile, HANDLE heventParent, HANDLE heventChild)
 
        if (!heventDone)
        {
-               Con_SafePrint("Couldn't create heventDone\n");
+               Con_Print("Couldn't create heventDone\n");
                return;
        }
 
@@ -71,7 +72,7 @@ void InitConProc (HANDLE hFile, HANDLE heventParent, HANDLE heventChild)
                                           &dwID))
        {
                CloseHandle (heventDone);
-               Con_SafePrint("Couldn't create QHOST thread\n");
+               Con_Print("Couldn't create QHOST thread\n");
                return;
        }
 
@@ -114,7 +115,7 @@ DWORD RequestProc (DWORD dwNichts)
        // hfileBuffer is invalid.  Just leave.
                if (!pBuffer)
                {
-                       Con_SafePrint("Invalid hfileBuffer\n");
+                       Con_Print("Invalid hfileBuffer\n");
                        break;
                }
 
@@ -261,7 +262,7 @@ BOOL WriteText (LPCTSTR szText)
 }
 
 
-int CharToCode (char c)
+int CharToCode (int c)
 {
        char upper;