mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2025-03-13 22:22:13 +00:00
Scoreboard changes
This commit is contained in:
parent
423f0a560b
commit
4665cefb92
1 changed files with 11 additions and 3 deletions
|
@ -5,6 +5,9 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// $Log$
|
||||
// Revision 1.31 2002/06/05 04:58:43 niceass
|
||||
// Scoreboard changes
|
||||
//
|
||||
// Revision 1.30 2002/06/03 19:20:18 niceass
|
||||
// referee change
|
||||
//
|
||||
|
@ -196,7 +199,7 @@ static void CG_DrawTeamplayClientScore( int y, score_t *score, float *Fill, floa
|
|||
if (FillColor[3] > 1) FillColor[3] = 1;
|
||||
|
||||
// Dead?
|
||||
if (!score->alive && cg.snap->ps.persistant[PERS_TEAM] == TEAM_SPECTATOR) {
|
||||
if (!score->alive) {// && cg.snap->ps.persistant[PERS_TEAM] == TEAM_SPECTATOR) {
|
||||
TextColor[0] *= 0.5f;
|
||||
TextColor[1] *= 0.5f;
|
||||
TextColor[2] *= 0.5f;
|
||||
|
@ -206,8 +209,13 @@ static void CG_DrawTeamplayClientScore( int y, score_t *score, float *Fill, floa
|
|||
|
||||
Com_sprintf(Tmp, 128, "%5i %s", score->score, ci->name);
|
||||
DrawLeftStripText(y, SB_FONTSIZEH, Tmp, 27, TextColor);
|
||||
Com_sprintf(Tmp, 128, "%4i %4i %6i", score->time, score->ping, score->damage);
|
||||
DrawRightStripText(y, SB_FONTSIZEH, Tmp, 100, TextColor);
|
||||
if (score->ping != -1) {
|
||||
Com_sprintf(Tmp, 128, "%4i %4i %6i", score->time, score->ping, score->damage);
|
||||
DrawRightStripText(y, SB_FONTSIZEH, Tmp, 100, TextColor);
|
||||
}
|
||||
else {
|
||||
DrawRightStripText(y, SB_FONTSIZEH, "CONNECTING ", 100, TextColor);
|
||||
}
|
||||
|
||||
if (score->captain && score->sub == 0)
|
||||
DrawStripText(y, -(SB_FONTSIZEW * 10), SB_FONTSIZEH, "[CAPTAIN]", 100, colorWhite);
|
||||
|
|
Loading…
Reference in a new issue