mempool_t *console_mempool;
-// scan lines to clear for notify lines
-int con_notifylines;
-
extern void M_Menu_Main_f (void);
/*
Con_Print
Handles cursor positioning, line wrapping, etc
-All console printing must go through this in order to be logged to disk
+All console printing must go through this in order to be displayed
If no console is visible, the notify window will pop up.
================
*/
{
if (con_notify.integer < 0)
Cvar_SetValueQuick(&con_notify, 0);
- if (con_notifylines > MAX_NOTIFYLINES)
+ if (con_notify.integer > MAX_NOTIFYLINES)
Cvar_SetValueQuick(&con_notify, MAX_NOTIFYLINES);
if (con_notify.integer > 0)
con_times[con_current % con_notify.integer] = realtime;
if (con_notify.integer < 0)
Cvar_SetValueQuick(&con_notify, 0);
- if (con_notifylines > MAX_NOTIFYLINES)
+ if (con_notify.integer > MAX_NOTIFYLINES)
Cvar_SetValueQuick(&con_notify, MAX_NOTIFYLINES);
v = 0;
for (i= con_current-con_notify.integer+1 ; i<=con_current ; i++)
v += 8;
}
}
-
- if (con_notifylines < v)
- con_notifylines = v;
}
/*