From 67a9b5b1dc27c0d55968da28adf2558b9b58e23a Mon Sep 17 00:00:00 2001 From: havoc Date: Tue, 26 Oct 2004 08:30:48 +0000 Subject: [PATCH] get rid of the unused clearnotify and clearconsole variables git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4714 d7cf8633-e32d-0410-b094-e92efae38249 --- cl_screen.c | 6 ------ console.c | 4 ---- screen.h | 1 - 3 files changed, 11 deletions(-) diff --git a/cl_screen.c b/cl_screen.c index 13d8a52c..5d22a2d5 100644 --- a/cl_screen.c +++ b/cl_screen.c @@ -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; diff --git a/console.c b/console.c index b5c3a14c..d49bcd6a 100644 --- 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 diff --git a/screen.h b/screen.h index cc1c26c1..e21f4563 100644 --- 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; -- 2.39.2