]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
get rid of the unused clearnotify and clearconsole variables
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 26 Oct 2004 08:30:48 +0000 (08:30 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 26 Oct 2004 08:30:48 +0000 (08:30 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4714 d7cf8633-e32d-0410-b094-e92efae38249

cl_screen.c
console.c
screen.h

index 13d8a52c86ee07b94339fd1a6cb2c6483279f7dd..5d22a2d51e93a369f5d20f9689fc4f541742a14d 100644 (file)
@@ -32,9 +32,6 @@ qboolean      scr_initialized;                // ready to draw
 float          scr_con_current;
 float          scr_conlines;           // lines of console to display
 
-int                    clearconsole;
-int                    clearnotify;
-
 extern int     con_vislines;
 
 qboolean       scr_drawloading = false;
@@ -291,10 +288,7 @@ SCR_DrawConsole
 void SCR_DrawConsole (void)
 {
        if (scr_con_current)
-       {
                Con_DrawConsole (scr_con_current);
-               clearconsole = 0;
-       }
        else
        {
                con_vislines = 0;
index b5c3a14cd4eccc8a02e33006234794c160241e50..d49bcd6a32e0129e588e6877a404ab691219df0f 100644 (file)
--- a/console.c
+++ b/console.c
@@ -762,8 +762,6 @@ void Con_DrawNotify (void)
                        continue;
                text = con_text + (i % con_totallines)*con_linewidth;
 
-               clearnotify = 0;
-
                DrawQ_String(0, v, text, con_linewidth, 8, 8, 1, 1, 1, 1, 0);
 
                v += 8;
@@ -772,8 +770,6 @@ void Con_DrawNotify (void)
 
        if (key_dest == key_message)
        {
-               clearnotify = 0;
-
                x = 0;
 
                // LordHavoc: speedup, and other improvements
index cc1c26c1636cc2243979d6148563318ef274f868..e21f4563f276f73dacd2f55fbf065bef9fa0cfb8 100644 (file)
--- a/screen.h
+++ b/screen.h
@@ -33,7 +33,6 @@ extern float scr_conlines; // lines of console to display
 
 extern int sb_lines;
 
-extern int clearnotify; // set to 0 whenever notify text is drawn
 extern qboolean        scr_disabled_for_loading;
 extern qboolean        scr_skipupdate;