git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2346
d7cf8633-e32d-0410-b094-
e92efae38249
float con_cursorspeed = 4;
-#define CON_TEXTSIZE 16384
+#define CON_TEXTSIZE 131072
int con_totallines; // total lines in console scrollback
int con_backscroll; // lines up from bottom to display
if (key == K_PGUP || key==K_MWHEELUP)
{
- con_backscroll += 2;
+ con_backscroll += ((int) scr_conlines >> 4);
if (con_backscroll > con_totallines - (vid.conheight>>3) - 1)
con_backscroll = con_totallines - (vid.conheight>>3) - 1;
return;
if (key == K_PGDN || key==K_MWHEELDOWN)
{
- con_backscroll -= 2;
+ con_backscroll -= ((int) scr_conlines >> 4);
if (con_backscroll < 0)
con_backscroll = 0;
return;