color changes for new outlined font

This commit is contained in:
Bryce Hutchings 2002-08-29 04:45:25 +00:00
parent b594474f83
commit 24d5711b0c
2 changed files with 14 additions and 8 deletions

View file

@ -5,6 +5,9 @@
//-----------------------------------------------------------------------------
//
// $Log$
// Revision 1.64 2002/08/29 04:45:25 niceass
// color changes for new outlined font
//
// Revision 1.63 2002/08/22 03:32:10 niceass
// countdown code added
//
@ -732,12 +735,12 @@ static float CG_DrawScore(float y)
else
x = w;
MAKERGBA(BColor, 1.0f, 1.0f, 1.0f, 1.0f);
CG_FillRect(631 - x - 3, y - 1, w + 6, SMALLCHAR_HEIGHT + 6, BColor);
//MAKERGBA(BColor, 1.0f, 1.0f, 1.0f, 1.0f);
//CG_FillRect(631 - x - 3, y - 1, w + 6, SMALLCHAR_HEIGHT + 6, BColor);
CG_DrawCleanRect(631 - x - 3, y - 1, w + 6, SMALLCHAR_HEIGHT + 6, 1, FColor);
MAKERGBA(FColor, 0.0f, 0.0f, 0.0f, 1.0f);
MAKERGBA(FColor, 0.75f, 0.75f, 0.75f, 1.0f);
CG_DrawStringExt(631 - x, y + 2, s, FColor, qfalse, qfalse, SMALLCHAR_WIDTH, SMALLCHAR_HEIGHT, 0);
//CG_DrawSmallString(631 - x, y + 2, s, 1.0F);

View file

@ -5,6 +5,9 @@
//-----------------------------------------------------------------------------
//
// $Log$
// Revision 1.47 2002/08/29 04:45:25 niceass
// color changes for new outlined font
//
// Revision 1.46 2002/08/27 05:08:22 niceass
// fix for ref
//
@ -498,7 +501,7 @@ static int CG_TeamplayScoreboard(void)
// *************** RED TEAM ***************
DrawStrip(y, SB_FONTSIZEH, qtrue, qtrue, qtrue, RedD, colorBlack);
DrawLeftStripText(y, SB_FONTSIZEH, cg_RQ3_team1name.string, 100, colorBlack);
DrawLeftStripText(y, SB_FONTSIZEH, cg_RQ3_team1name.string, 100, colorWhite);
if (cg_RQ3_matchmode.integer)
DrawRightStripText(y, SB_FONTSIZEH, va("%d/%d - %s - Wins: %d", Reds, RedSubs,
@ -588,10 +591,10 @@ static int CG_TeamplayScoreboard(void)
// *************** BLUE TEAM ************
y += SB_FONTSIZEH * 2;
DrawStrip(y, SB_FONTSIZEH, qtrue, qtrue, qtrue, BlueD, colorBlack);
if (cgs.gametype == GT_CTF)
//if (cgs.gametype == GT_CTF)
DrawLeftStripText(y, SB_FONTSIZEH, cg_RQ3_team2name.string, 100, colorWhite);
else
DrawLeftStripText(y, SB_FONTSIZEH, cg_RQ3_team2name.string, 100, colorBlack);
//else
// DrawLeftStripText(y, SB_FONTSIZEH, cg_RQ3_team2name.string, 100, colorBlack);
if (cg_RQ3_matchmode.integer)
DrawRightStripText(y, SB_FONTSIZEH, va("%d/%d - %s - Wins: %d", Blues, BlueSubs,
@ -679,7 +682,7 @@ static int CG_TeamplayScoreboard(void)
y += SB_FONTSIZEH * 2;
DrawStrip(y, SB_FONTSIZEH, qtrue, qtrue, qtrue, GreyD, colorBlack);
DrawLeftStripText(y, SB_FONTSIZEH, "Spectators", 100, colorBlack);
DrawLeftStripText(y, SB_FONTSIZEH, "Spectators", 100, colorWhite);
y += SB_FONTSIZEH + SB_PADDING * 2 + 2;
for (i = 0; i < cg.numScores; i++) {