From 837bbb5e6b9340c1395d22e7e0d655b585b3201b Mon Sep 17 00:00:00 2001 From: z411 Date: Thu, 8 Oct 2020 18:10:02 -0300 Subject: [PATCH] Simplified team scores --- qcsrc/client/hud/panel/score.qc | 128 +++++++++++++++++++++----------- 1 file changed, 83 insertions(+), 45 deletions(-) diff --git a/qcsrc/client/hud/panel/score.qc b/qcsrc/client/hud/panel/score.qc index a7aaac883..ece4c5e4e 100644 --- a/qcsrc/client/hud/panel/score.qc +++ b/qcsrc/client/hud/panel/score.qc @@ -78,9 +78,11 @@ void HUD_Score_Rankings(vector pos, vector mySize, entity me) } return; } - + if (!scoreboard_fade_alpha) // the scoreboard too calls Scoreboard_UpdatePlayerTeams Scoreboard_UpdatePlayerTeams(); + + /* if (team_count) { // show team scores in the first line @@ -99,59 +101,95 @@ void HUD_Score_Rankings(vector pos, vector mySize, entity me) first_pl = 1; pos.y += fontsize.y; tm = teams.sort_next; - } - i = first_pl; - - do - for (pl = players.sort_next; pl && i