X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=sys_win.c;h=54a482ed3120cddcaa365f7b2b96a58f35afcf21;hb=2faff26f69150bd8b672cb96556c4028a292cdd5;hp=3b48f18d0eebfe9ba0af6f9e7d92af02d85a1786;hpb=a892a876d60ec67da321e48e31dc80b95fd6d9aa;p=xonotic%2Fdarkplaces.git diff --git a/sys_win.c b/sys_win.c index 3b48f18d..54a482ed 100644 --- a/sys_win.c +++ b/sys_win.c @@ -29,7 +29,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "qtypes.h" #include "quakedef.h" -#include "errno.h" +#include #include "resource.h" #include "conproc.h" @@ -64,7 +64,7 @@ void Sys_Error (const char *error, ...) dpvsnprintf (text, sizeof (text), error, argptr); va_end (argptr); - Con_Printf ("Quake Error: %s\n", text); + Con_Errorf ("Engine Error: %s\n", text); // close video so the message box is visible, unless we already tried that if (!in_sys_error0 && cls.state != ca_dedicated) @@ -76,7 +76,7 @@ void Sys_Error (const char *error, ...) if (!in_sys_error3 && cls.state != ca_dedicated) { in_sys_error3 = true; - MessageBox(NULL, text, "Quake Error", MB_OK | MB_SETFOREGROUND | MB_ICONSTOP); + MessageBox(NULL, text, "Engine Error", MB_OK | MB_SETFOREGROUND | MB_ICONSTOP); } if (!in_sys_error1) @@ -240,11 +240,11 @@ void Sys_InitConsole (void) houtput = GetStdHandle (STD_OUTPUT_HANDLE); hinput = GetStdHandle (STD_INPUT_HANDLE); - // LordHavoc: can't check cls.state because it hasn't been initialized yet + // LadyHavoc: can't check cls.state because it hasn't been initialized yet // if (cls.state == ca_dedicated) if (COM_CheckParm("-dedicated")) { - //if ((houtput == 0) || (houtput == INVALID_HANDLE_VALUE)) // LordHavoc: on Windows XP this is never 0 or invalid, but hinput is invalid + //if ((houtput == 0) || (houtput == INVALID_HANDLE_VALUE)) // LadyHavoc: on Windows XP this is never 0 or invalid, but hinput is invalid { if (!AllocConsole ()) Sys_Error ("Couldn't create dedicated server console (error code %x)", (unsigned int)GetLastError());