diff --git a/reaction/cgame/cg_local.h b/reaction/cgame/cg_local.h index 1c318d0a..0888cd55 100644 --- a/reaction/cgame/cg_local.h +++ b/reaction/cgame/cg_local.h @@ -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 diff --git a/reaction/cgame/cg_servercmds.c b/reaction/cgame/cg_servercmds.c index 85619ae5..263accf8 100644 --- a/reaction/cgame/cg_servercmds.c +++ b/reaction/cgame/cg_servercmds.c @@ -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_ 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));