|
another simple tutorial by Echon!
scr_conlines = 0.5; // half screen
scr_conlines = 0.55; // ECHON { WAS 0.5 }
0.5 is how much of the screen is taken up by the console, 1 being full screen, 0.5 being half then scroll down to 'void SCR_DrawConsole (void)' change:
if (cls.state != ca_active || !cl.refresh_prepped)
{ // connected, but can't render
Con_DrawConsole (0.5);
re.DrawFill (0, viddef.height/2, viddef.width, viddef.height/2, 0);
return;
}
if (cls.state != ca_active || !cl.refresh_prepped)
{ // connected, but can't render
Con_DrawConsole (0.55); // ECHON { was 0.5 }
re.DrawFill (0, viddef.height*0.55, viddef.width, viddef.height*0.55, 0); // ECHON { tweaked this for easier height manipulation }
return;
}
just like above, 0.5 (or what is now 0.55) is the console height, where 1 is full screen and 0.5 is half screen simple enough! :)- Echon (irc.telefragged.com #openquake regularly) |