*/
// conproc.c
+#include "quakedef.h"
+
#include <windows.h>
#include <wchar.h>
-#include "quakedef.h"
#include "conproc.h"
HANDLE heventDone;
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);
}
-int CharToCode (char c)
+int CharToCode (int c)
{
char upper;