From 1a3947b9a3dddb22f213e7794f889c5e84ac0683 Mon Sep 17 00:00:00 2001 From: havoc Date: Mon, 9 Jun 2003 04:19:09 +0000 Subject: [PATCH] Sbar_UpdateScoreboard was totally unused in quake, it's history (as are the arrays it used) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3080 d7cf8633-e32d-0410-b094-e92efae38249 --- sbar.c | 39 ++------------------------------------- 1 file changed, 2 insertions(+), 37 deletions(-) diff --git a/sbar.c b/sbar.c index 77fd4586..0f905e83 100644 --- a/sbar.c +++ b/sbar.c @@ -346,19 +346,14 @@ void Sbar_DrawNum (int x, int y, int num, int digits, int color) //============================================================================= -int fragsort[MAX_SCOREBOARD]; - -char scoreboardtext[MAX_SCOREBOARD][20]; -int scoreboardtop[MAX_SCOREBOARD]; -int scoreboardbottom[MAX_SCOREBOARD]; -int scoreboardcount[MAX_SCOREBOARD]; -int scoreboardlines; /* =============== Sbar_SortFrags =============== */ +static int fragsort[MAX_SCOREBOARD]; +static int scoreboardlines; void Sbar_SortFrags (void) { int i, j, k; @@ -384,36 +379,6 @@ void Sbar_SortFrags (void) } } -/* -=============== -Sbar_UpdateScoreboard -=============== -*/ -void Sbar_UpdateScoreboard (void) -{ - int i, k; - int top, bottom; - scoreboard_t *s; - - Sbar_SortFrags (); - -// draw the text - memset (scoreboardtext, 0, sizeof(scoreboardtext)); - - for (i=0 ; ifrags, s->name); - - top = s->colors & 0xf0; - bottom = (s->colors & 15) <<4; - scoreboardtop[i] = top + 8; - scoreboardbottom[i] = bottom + 8; - } -} - - /* =============== Sbar_SoloScoreboard -- 2.39.2