@ -93,6 +93,13 @@ int CHud::Redraw( float flTime, int intermission )
@@ -93,6 +93,13 @@ int CHud::Redraw( float flTime, int intermission )
if(m_flTimeDelta<0)
m_flTimeDelta=0;
if(!m_iIntermission&&intermission)
{
// Take a screenshot if the client's got the cvar set
if(CVAR_GET_FLOAT("hud_takesshots")!=0)
m_flShotTime=flTime+1.0;// Take a screenshot in a second
}
if(m_flShotTime&&m_flShotTime<flTime)
{
gEngfuncs.pfnClientCmd("snapshot\n");
@ -226,6 +233,35 @@ int CHud::DrawHudString( int xpos, int ypos, int iMaxX, char *szIt, int r, int g
@@ -226,6 +233,35 @@ int CHud::DrawHudString( int xpos, int ypos, int iMaxX, char *szIt, int r, int g
team_info->already_drawn=TRUE;// set the already_drawn to be TRUE, so this team won't get drawn again
@ -400,7 +403,7 @@ int CHudScoreboard::DrawPlayers( int xpos_rel, float list_slot, int nameoffset,
@@ -400,7 +403,7 @@ int CHudScoreboard::DrawPlayers( int xpos_rel, float list_slot, int nameoffset,
@ -408,7 +411,7 @@ int CHudScoreboard::DrawPlayers( int xpos_rel, float list_slot, int nameoffset,
@@ -408,7 +411,7 @@ int CHudScoreboard::DrawPlayers( int xpos_rel, float list_slot, int nameoffset,
// draw divider
xpos=DIVIDER_POS+xpos_rel;
gHUD.DrawHudString(xpos,ypos,xpos+20,"/",r,g,b);
DrawUtfString(xpos,ypos,xpos+20,"/",r,g,b);
// draw deaths
xpos=DEATHS_RANGE_MAX+xpos_rel;
@ -435,7 +438,7 @@ int CHudScoreboard::DrawPlayers( int xpos_rel, float list_slot, int nameoffset,
@@ -435,7 +438,7 @@ int CHudScoreboard::DrawPlayers( int xpos_rel, float list_slot, int nameoffset,