mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2024-11-11 15:52:30 +00:00
scoreboard toggle changes
This commit is contained in:
parent
86b3b1b31b
commit
19aa6693d3
1 changed files with 24 additions and 10 deletions
|
@ -5,6 +5,9 @@
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
// $Log$
|
// $Log$
|
||||||
|
// Revision 1.36 2002/03/24 22:51:30 niceass
|
||||||
|
// scoreboard toggle changes
|
||||||
|
//
|
||||||
// Revision 1.35 2002/03/19 06:00:14 niceass
|
// Revision 1.35 2002/03/19 06:00:14 niceass
|
||||||
// tab scoreboard quicky change to q2 way
|
// tab scoreboard quicky change to q2 way
|
||||||
//
|
//
|
||||||
|
@ -243,7 +246,7 @@ static void CG_PlayerOrigin_f (void) {
|
||||||
(int)cg.snap->ps.origin[1], (int)cg.snap->ps.origin[2]);
|
(int)cg.snap->ps.origin[1], (int)cg.snap->ps.origin[2]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
static void CG_ScoresDown_f( void ) {
|
static void CG_ScoresDown_f( void ) {
|
||||||
|
|
||||||
#ifdef MISSIONPACK
|
#ifdef MISSIONPACK
|
||||||
|
@ -256,6 +259,7 @@ static void CG_ScoresDown_f( void ) {
|
||||||
cg.scoreTPMode = 0;
|
cg.scoreTPMode = 0;
|
||||||
|
|
||||||
if ( !cg.showScores ) cg.scoreStartTime = cg.time;
|
if ( !cg.showScores ) cg.scoreStartTime = cg.time;
|
||||||
|
|
||||||
if ( cg.scoresRequestTime + 2000 < cg.time ) {
|
if ( cg.scoresRequestTime + 2000 < cg.time ) {
|
||||||
// the scores are more than two seconds out of data,
|
// the scores are more than two seconds out of data,
|
||||||
// so request new ones
|
// so request new ones
|
||||||
|
@ -274,9 +278,11 @@ static void CG_ScoresDown_f( void ) {
|
||||||
cg.showScores = qtrue;
|
cg.showScores = qtrue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
static void CG_Scores_f ( void ) {
|
static void CG_Scores_f ( void ) {
|
||||||
|
|
||||||
|
if ( cgs.gametype >= GT_TEAM ) {
|
||||||
if ( cg.showScores && cg.scoreTPMode == 1 ) {
|
if ( cg.showScores && cg.scoreTPMode == 1 ) {
|
||||||
cg.showScores = qfalse;
|
cg.showScores = qfalse;
|
||||||
cg.scoreFadeTime = 0; //cg.time;
|
cg.scoreFadeTime = 0; //cg.time;
|
||||||
|
@ -288,6 +294,14 @@ static void CG_Scores_f ( void ) {
|
||||||
cg.scoreTPMode = 1;
|
cg.scoreTPMode = 1;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
if ( cg.showScores ) {
|
||||||
|
cg.showScores = qfalse;
|
||||||
|
cg.scoreFadeTime = 0; //cg.time;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if ( cg.scoresRequestTime + 2000 < cg.time ) {
|
if ( cg.scoresRequestTime + 2000 < cg.time ) {
|
||||||
// the scores are more than two seconds out of data,
|
// the scores are more than two seconds out of data,
|
||||||
|
|
Loading…
Reference in a new issue