From f8604f07356e03bf0c6ba6d2461be186ab878b53 Mon Sep 17 00:00:00 2001 From: "Anton E. Gavrilov" Date: Mon, 22 May 2000 04:19:49 +0000 Subject: [PATCH] sys_sleep is 8 by default now; CVAR_FIXME cleanup --- source/sv_sys_win.c | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/source/sv_sys_win.c b/source/sv_sys_win.c index 3dd4d6c..abd8c86 100644 --- a/source/sv_sys_win.c +++ b/source/sv_sys_win.c @@ -27,7 +27,7 @@ */ #ifdef HAVE_CONFIG_H -# include +# include "config.h" #endif #include @@ -44,11 +44,7 @@ qboolean is_server = true; qboolean WinNT; -/* cvar_t sys_nostdout = {"sys_nostdout","0"}; - CVAR_FIXME */ cvar_t *sys_nostdout; -/* cvar_t sys_sleep = {"sys_sleep","1"}; - CVAR_FIXME */ cvar_t *sys_sleep; /* @@ -104,7 +100,7 @@ char *Sys_ConsoleInput (void) int c; // read a line out - while (kbhit()) + while (kbhit()) { c = _getch(); putch (c); @@ -146,8 +142,6 @@ void Sys_Printf (char *fmt, ...) { va_list argptr; -/* if (sys_nostdout.value) - CVAR_FIXME */ if (sys_nostdout->value) return; @@ -179,12 +173,8 @@ void Sys_Init (void) { OSVERSIONINFO vinfo; -/* Cvar_RegisterVariable (&sys_nostdout); - CVAR_FIXME */ sys_nostdout = Cvar_Get("sys_nostdout", "0", CVAR_NONE, "None"); -/* Cvar_RegisterVariable (&sys_sleep); - CVAR_FIXME */ - sys_sleep = Cvar_Get("sys_sleep", "1", CVAR_NONE, "None"); + sys_sleep = Cvar_Get("sys_sleep", "8", CVAR_NONE, "None"); // make sure the timer is high precision, otherwise // NT gets 18ms resolution