Added sub and captain to the scoreboard parser

This commit is contained in:
Daniel Simoes 2002-05-11 19:55:20 +00:00
parent 9802e78ec2
commit 44cda15606
2 changed files with 15 additions and 2 deletions

View file

@ -5,6 +5,9 @@
//-----------------------------------------------------------------------------
//
// $Log$
// Revision 1.73 2002/05/11 19:55:20 slicer
// Added sub and captain to the scoreboard parser
//
// Revision 1.72 2002/05/11 19:13:42 makro
// Sand surfaceparm
//
@ -468,6 +471,9 @@ typedef struct {
int captures;
qboolean perfect;
int team;
//Slicer Matchmode
team_t captain;
team_t sub;
} score_t;
//Blaze: WeaponStats Struct

View file

@ -5,6 +5,9 @@
//-----------------------------------------------------------------------------
//
// $Log$
// Revision 1.36 2002/05/11 19:55:20 slicer
// Added sub and captain to the scoreboard parser
//
// Revision 1.35 2002/05/11 15:40:41 slicer
// Changed cg_RQ3_<team count> cvars to ui_RQ3_ and added a synch system for these
//
@ -163,8 +166,12 @@ static void CG_ParseScores( void ) {
//cg.scores[i].impressiveCount = atoi(CG_Argv(i * 14 + 11));
//cg.scores[i].excellentCount = atoi(CG_Argv(i * 14 + 12));
//cg.scores[i].guantletCount = atoi(CG_Argv(i * 14 + 13));
cg.scores[i].defendCount = atoi(CG_Argv(i * 14 + 14));
cg.scores[i].assistCount = atoi(CG_Argv(i * 14 + 15));
//Slicer using first two for Matchmode
//cg.scores[i].defendCount = atoi(CG_Argv(i * 14 + 14));
//cg.scores[i].assistCount = atoi(CG_Argv(i * 14 + 15));
cg.scores[i].captain = atoi(CG_Argv(i * 14 + 14));
cg.scores[i].sub = atoi(CG_Argv(i * 14 + 15));
cg.scores[i].perfect = atoi(CG_Argv(i * 14 + 16));
cg.scores[i].captures = atoi(CG_Argv(i * 14 + 17));