@ -92,17 +92,18 @@ We have a minimum width of 1-320 - we could have the field widths scale with it?
@@ -92,17 +92,18 @@ We have a minimum width of 1-320 - we could have the field widths scale with it?
// X positions
// relative to the side of the scoreboard
#define NAME_RANGE_MIN -65
#define NAME_RANGE_MAX 180
#define KILLS_RANGE_MIN 165
#define KILLS_RANGE_MAX 205
#define DIVIDER_POS 215
#define DEATHS_RANGE_MIN 220
#define DEATHS_RANGE_MAX 245
#define PING_RANGE_MIN 280
#define PING_RANGE_MAX 330
#define PL_RANGE_MIN 350
#define PL_RANGE_MAX 410
#define NAME_RANGE_MIN 20
#define NAME_RANGE_MAX 145
#define NAME_RANGE_MODIFIER 120
#define KILLS_RANGE_MIN 130
#define KILLS_RANGE_MAX 170
#define DIVIDER_POS 180
#define DEATHS_RANGE_MIN 185
#define DEATHS_RANGE_MAX 210
#define PING_RANGE_MIN 245
#define PING_RANGE_MAX 295
#define PL_RANGE_MIN 315
#define PL_RANGE_MAX 375
intSCOREBOARD_WIDTH=320;
@ -128,11 +129,11 @@ int CHudScoreboard::Draw( float fTime )
@@ -128,11 +129,11 @@ int CHudScoreboard::Draw( float fTime )
@ -340,7 +354,12 @@ int CHudScoreboard::DrawPlayers( int xpos_rel, float list_slot, int nameoffset,
@@ -340,7 +354,12 @@ int CHudScoreboard::DrawPlayers( int xpos_rel, float list_slot, int nameoffset,
// draw the players, in order, and restricted to team if set
while(1)
@ -380,6 +399,12 @@ int CHudScoreboard::DrawPlayers( int xpos_rel, float list_slot, int nameoffset,
@@ -380,6 +399,12 @@ int CHudScoreboard::DrawPlayers( int xpos_rel, float list_slot, int nameoffset,
@ -388,18 +413,18 @@ int CHudScoreboard::DrawPlayers( int xpos_rel, float list_slot, int nameoffset,
@@ -388,18 +413,18 @@ int CHudScoreboard::DrawPlayers( int xpos_rel, float list_slot, int nameoffset,
if(pl_info->thisplayer)
{
// green is the suicide color? i wish this could do grey...