mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-22 12:11:34 +00:00
Fix nostdout bug ...
This commit is contained in:
parent
e41b8e7faa
commit
576a32782a
3 changed files with 8 additions and 3 deletions
|
@ -65,6 +65,8 @@ HANDLE qwclsemaphore;
|
|||
|
||||
static HANDLE tevent;
|
||||
|
||||
extern cvar_t *sys_nostdout;
|
||||
|
||||
void Sys_InitFloatTime (void);
|
||||
|
||||
void MaskExceptions (void);
|
||||
|
@ -172,7 +174,7 @@ void Sys_Init (void)
|
|||
// front end can tell if it is alive
|
||||
|
||||
// mutex will fail if semephore allready exists
|
||||
qwclsemaphore = CreateMutex(
|
||||
qwclsemaphore = CreateMutex(
|
||||
NULL, /* Security attributes */
|
||||
0, /* owner */
|
||||
"qwcl"); /* Semaphore name */
|
||||
|
@ -205,7 +207,7 @@ void Sys_Init (void)
|
|||
{
|
||||
Sys_Error ("This version of " PROGRAM " requires at least Win95 or NT 4.0");
|
||||
}
|
||||
|
||||
|
||||
if (vinfo.dwPlatformId == VER_PLATFORM_WIN32_NT)
|
||||
WinNT = true;
|
||||
else
|
||||
|
@ -518,6 +520,7 @@ int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLin
|
|||
if (!tevent)
|
||||
Sys_Error ("Couldn't create event");
|
||||
|
||||
sys_nostdout = Cvar_Get("sys_nostdout", "0", CVAR_NONE, "None");
|
||||
// because sound is off until we become active
|
||||
S_BlockSound ();
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
qboolean is_server = true;
|
||||
qboolean WinNT;
|
||||
|
||||
cvar_t *sys_nostdout;
|
||||
extern cvar_t *sys_nostdout;
|
||||
cvar_t *sys_sleep;
|
||||
|
||||
/*
|
||||
|
|
|
@ -38,6 +38,8 @@
|
|||
/* This is unused in the client, but we need the symbol there too. */
|
||||
server_static_t svs;
|
||||
|
||||
cvar_t *sys_nostdout;
|
||||
|
||||
/* The translation table between the graphical font and plain ASCII --KB */
|
||||
static char qfont_table[256] =
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue