mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-05-30 16:50:48 +00:00
Cvar merge... segfault problems... also unknown problems in vid_svga.c
This commit is contained in:
parent
5c58a21a1c
commit
1d26c02826
74 changed files with 4288 additions and 1509 deletions
|
@ -40,7 +40,9 @@ int con_totallines; // total lines in console scrollback
|
|||
float con_cursorspeed = 4;
|
||||
|
||||
|
||||
cvar_t con_notifytime = {"con_notifytime","3"}; //seconds
|
||||
/* cvar_t con_notifytime = {"con_notifytime","3"}; //seconds
|
||||
CVAR_FIXME */
|
||||
cvar_t *con_notifytime; //seconds
|
||||
|
||||
#define NUM_CON_TIMES 4
|
||||
float con_times[NUM_CON_TIMES]; // realtime time the line was generated
|
||||
|
@ -246,7 +248,9 @@ void Con_Init (void)
|
|||
//
|
||||
// register our commands
|
||||
//
|
||||
Cvar_RegisterVariable (&con_notifytime);
|
||||
/* Cvar_RegisterVariable (&con_notifytime);
|
||||
CVAR_FIXME */
|
||||
con_notifytime = Cvar_Get("con_notifytime", "3", CVAR_NONE, "None");
|
||||
|
||||
Cmd_AddCommand ("toggleconsole", Con_ToggleConsole_f);
|
||||
Cmd_AddCommand ("togglechat", Con_ToggleChat_f);
|
||||
|
@ -407,7 +411,9 @@ void Con_DPrintf (char *fmt, ...)
|
|||
va_list argptr;
|
||||
char msg[MAXPRINTMSG];
|
||||
|
||||
if (!developer.value)
|
||||
/* if (!developer.value)
|
||||
CVAR_FIXME */
|
||||
if (!developer->value)
|
||||
return; // don't confuse non-developers with techie stuff...
|
||||
|
||||
va_start (argptr, fmt);
|
||||
|
@ -491,7 +497,9 @@ void Con_DrawNotify (void)
|
|||
if (time == 0)
|
||||
continue;
|
||||
time = realtime - time;
|
||||
if (time > con_notifytime.value)
|
||||
/* if (time > con_notifytime.value)
|
||||
CVAR_FIXME */
|
||||
if (time > con_notifytime->value)
|
||||
continue;
|
||||
text = con->text + (i % con_totallines)*con_linewidth;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue