|
|
|
@ -101,7 +101,6 @@ void CG_MissionFailed(void)
|
|
|
|
|
|
|
|
|
|
int tempX = 320 - w/2;
|
|
|
|
|
int tempY = y;
|
|
|
|
|
CG_AdjustFrom640Int( &tempX, &tempY, NULL, NULL );
|
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, text, colorTable[CT_HUD_RED], cgs.media.qhFontSmall, -1, 1.2f * FONT_SCALE);
|
|
|
|
|
|
|
|
|
|
switch (statusTextIndex)
|
|
|
|
@ -147,7 +146,6 @@ void CG_MissionFailed(void)
|
|
|
|
|
w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 1.2f * FONT_SCALE);
|
|
|
|
|
tempX = 320 - w/2;
|
|
|
|
|
tempY = y+30;
|
|
|
|
|
CG_AdjustFrom640Int( &tempX, &tempY, NULL, NULL );
|
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, text, colorTable[CT_HUD_RED], cgs.media.qhFontSmall, -1, 1.2f * FONT_SCALE);
|
|
|
|
|
/*
|
|
|
|
|
cgi_SP_GetStringTextString( "INGAME_RELOADMISSION", text, sizeof(text) );
|
|
|
|
@ -155,7 +153,6 @@ void CG_MissionFailed(void)
|
|
|
|
|
|
|
|
|
|
tempX = 320 - w/2;
|
|
|
|
|
tempY = 450;
|
|
|
|
|
CG_AdjustFrom640Int( &tempX, &tempY, NULL, NULL );
|
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, text, colorTable[CT_CYAN], cgs.media.qhFontSmall, -1, FONT_SCALE);
|
|
|
|
|
*/
|
|
|
|
|
}
|
|
|
|
@ -177,7 +174,6 @@ void CG_MissionCompletion(void)
|
|
|
|
|
|
|
|
|
|
int tempX = 320 - w/2;
|
|
|
|
|
int tempY = 53;
|
|
|
|
|
CG_AdjustFrom640Int( &tempX, &tempY, NULL, NULL );
|
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, text, colorTable[CT_LTGOLD1], cgs.media.qhFontSmall, -1, 1.2f * FONT_SCALE);
|
|
|
|
|
|
|
|
|
|
x = 75;
|
|
|
|
@ -186,12 +182,10 @@ void CG_MissionCompletion(void)
|
|
|
|
|
w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 0.8f * FONT_SCALE);
|
|
|
|
|
tempX = x;
|
|
|
|
|
tempY = y;
|
|
|
|
|
CG_AdjustFrom640Int( &tempX, &tempY, NULL, NULL );
|
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, text, colorTable[CT_LTGOLD1], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
|
cgi_SP_GetStringTextString( "INGAME_SECRETAREAS_OF", text, sizeof(text) );
|
|
|
|
|
tempX = x+w;
|
|
|
|
|
tempY = y;
|
|
|
|
|
CG_AdjustFrom640Int( &tempX, &tempY, NULL, NULL );
|
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, va("%d %s %d",
|
|
|
|
|
cg_entities[0].gent->client->sess.missionStats.secretsFound,
|
|
|
|
|
text,
|
|
|
|
@ -204,11 +198,9 @@ void CG_MissionCompletion(void)
|
|
|
|
|
w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 0.8f * FONT_SCALE);
|
|
|
|
|
tempX = x;
|
|
|
|
|
tempY = y;
|
|
|
|
|
CG_AdjustFrom640Int( &tempX, &tempY, NULL, NULL );
|
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, text, colorTable[CT_LTGOLD1], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
|
tempX = x+w;
|
|
|
|
|
tempY = y;
|
|
|
|
|
CG_AdjustFrom640Int( &tempX, &tempY, NULL, NULL );
|
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, va("%d",cg_entities[0].gent->client->sess.missionStats.enemiesKilled), colorTable[CT_WHITE], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
|
/*
|
|
|
|
|
cgi_SP_GetStringTextString( "INGAME_SECRETAREAS_OF", text, sizeof(text) );
|
|
|
|
@ -226,7 +218,6 @@ void CG_MissionCompletion(void)
|
|
|
|
|
w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 0.8f * FONT_SCALE);
|
|
|
|
|
tempX = x;
|
|
|
|
|
tempY = y;
|
|
|
|
|
CG_AdjustFrom640Int( &tempX, &tempY, NULL, NULL );
|
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, text, colorTable[CT_LTGOLD1], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
|
|
|
|
|
|
int wpn=0,i;
|
|
|
|
@ -247,7 +238,6 @@ void CG_MissionCompletion(void)
|
|
|
|
|
// cgi_R_Font_DrawString(tempX, tempY, va("%d",wpn), colorTable[CT_WHITE], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
|
tempX = x+w;
|
|
|
|
|
tempY = y;
|
|
|
|
|
CG_AdjustFrom640Int( &tempX, &tempY, NULL, NULL );
|
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, text, colorTable[CT_WHITE], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -257,11 +247,9 @@ void CG_MissionCompletion(void)
|
|
|
|
|
w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 0.8f * FONT_SCALE);
|
|
|
|
|
tempX = x;
|
|
|
|
|
tempY = y;
|
|
|
|
|
CG_AdjustFrom640Int( &tempX, &tempY, NULL, NULL );
|
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, text, colorTable[CT_LTGOLD1], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
|
tempX = x+w;
|
|
|
|
|
tempY = y;
|
|
|
|
|
CG_AdjustFrom640Int( &tempX, &tempY, NULL, NULL );
|
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, va("%d",cg_entities[0].gent->client->sess.missionStats.shotsFired), colorTable[CT_WHITE], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -270,11 +258,9 @@ void CG_MissionCompletion(void)
|
|
|
|
|
w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 0.8f * FONT_SCALE);
|
|
|
|
|
tempX = x;
|
|
|
|
|
tempY = y;
|
|
|
|
|
CG_AdjustFrom640Int( &tempX, &tempY, NULL, NULL );
|
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, text, colorTable[CT_LTGOLD1], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
|
tempX = x+w;
|
|
|
|
|
tempY = y;
|
|
|
|
|
CG_AdjustFrom640Int( &tempX, &tempY, NULL, NULL );
|
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, va("%d",cg_entities[0].gent->client->sess.missionStats.hits), colorTable[CT_WHITE], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -283,12 +269,10 @@ void CG_MissionCompletion(void)
|
|
|
|
|
w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 0.8f * FONT_SCALE);
|
|
|
|
|
tempX = x;
|
|
|
|
|
tempY = y;
|
|
|
|
|
CG_AdjustFrom640Int( &tempX, &tempY, NULL, NULL );
|
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, text, colorTable[CT_LTGOLD1], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
|
const float percent = cg_entities[0].gent->client->sess.missionStats.shotsFired? 100.0f * (float)cg_entities[0].gent->client->sess.missionStats.hits / cg_entities[0].gent->client->sess.missionStats.shotsFired : 0;
|
|
|
|
|
tempX = x+w;
|
|
|
|
|
tempY = y;
|
|
|
|
|
CG_AdjustFrom640Int( &tempX, &tempY, NULL, NULL );
|
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, va("%.2f%%",percent), colorTable[CT_WHITE], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
|
|
|
|
|
|
if ( cg_entities[0].gent->client->sess.missionStats.weaponUsed[WP_SABER] <= 0 )
|
|
|
|
@ -300,7 +284,6 @@ void CG_MissionCompletion(void)
|
|
|
|
|
cgi_SP_GetStringTextString( "INGAME_FORCEUSE", text, sizeof(text) );
|
|
|
|
|
tempX = x;
|
|
|
|
|
tempY = y;
|
|
|
|
|
CG_AdjustFrom640Int( &tempX, &tempY, NULL, NULL );
|
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, text, colorTable[CT_WHITE], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
|
|
|
|
|
|
y +=pad;
|
|
|
|
@ -308,11 +291,9 @@ void CG_MissionCompletion(void)
|
|
|
|
|
w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 0.8f * FONT_SCALE);
|
|
|
|
|
tempX = x;
|
|
|
|
|
tempY = y;
|
|
|
|
|
CG_AdjustFrom640Int( &tempX, &tempY, NULL, NULL );
|
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, text, colorTable[CT_LTGOLD1], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
|
tempX = x+w;
|
|
|
|
|
tempY = y;
|
|
|
|
|
CG_AdjustFrom640Int( &tempX, &tempY, NULL, NULL );
|
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, va("%d",cg_entities[0].gent->client->sess.missionStats.forceUsed[FP_HEAL]), colorTable[CT_WHITE], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
|
|
|
|
|
|
y +=pad;
|
|
|
|
@ -320,11 +301,9 @@ w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 0.8f * FONT_SCALE);
|
|
|
|
|
w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 0.8f * FONT_SCALE);
|
|
|
|
|
tempX = x;
|
|
|
|
|
tempY = y;
|
|
|
|
|
CG_AdjustFrom640Int( &tempX, &tempY, NULL, NULL );
|
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, text, colorTable[CT_LTGOLD1], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
|
tempX = x+w;
|
|
|
|
|
tempY = y;
|
|
|
|
|
CG_AdjustFrom640Int( &tempX, &tempY, NULL, NULL );
|
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, va("%d",cg_entities[0].gent->client->sess.missionStats.forceUsed[FP_SPEED]), colorTable[CT_WHITE], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
|
|
|
|
|
|
y +=pad;
|
|
|
|
@ -332,11 +311,9 @@ w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 0.8f * FONT_SCALE);
|
|
|
|
|
w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 0.8f * FONT_SCALE);
|
|
|
|
|
tempX = x;
|
|
|
|
|
tempY = y;
|
|
|
|
|
CG_AdjustFrom640Int( &tempX, &tempY, NULL, NULL );
|
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, text, colorTable[CT_LTGOLD1], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
|
tempX = x+w;
|
|
|
|
|
tempY = y;
|
|
|
|
|
CG_AdjustFrom640Int( &tempX, &tempY, NULL, NULL );
|
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, va("%d",cg_entities[0].gent->client->sess.missionStats.forceUsed[FP_PULL]), colorTable[CT_WHITE], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
|
|
|
|
|
|
y +=pad;
|
|
|
|
@ -344,11 +321,9 @@ w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 0.8f * FONT_SCALE);
|
|
|
|
|
w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 0.8f * FONT_SCALE);
|
|
|
|
|
tempX = x;
|
|
|
|
|
tempY = y;
|
|
|
|
|
CG_AdjustFrom640Int( &tempX, &tempY, NULL, NULL );
|
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, text, colorTable[CT_LTGOLD1], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
|
tempX = x+w;
|
|
|
|
|
tempY = y;
|
|
|
|
|
CG_AdjustFrom640Int( &tempX, &tempY, NULL, NULL );
|
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, va("%d",cg_entities[0].gent->client->sess.missionStats.forceUsed[FP_PUSH]), colorTable[CT_WHITE], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
|
|
|
|
|
|
y +=pad;
|
|
|
|
@ -356,11 +331,9 @@ w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 0.8f * FONT_SCALE);
|
|
|
|
|
w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 0.8f * FONT_SCALE);
|
|
|
|
|
tempX = x;
|
|
|
|
|
tempY = y;
|
|
|
|
|
CG_AdjustFrom640Int( &tempX, &tempY, NULL, NULL );
|
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, text, colorTable[CT_LTGOLD1], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
|
tempX = x+w;
|
|
|
|
|
tempY = y;
|
|
|
|
|
CG_AdjustFrom640Int( &tempX, &tempY, NULL, NULL );
|
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, va("%d",cg_entities[0].gent->client->sess.missionStats.forceUsed[FP_TELEPATHY]), colorTable[CT_WHITE], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
|
|
|
|
|
|
y +=pad;
|
|
|
|
@ -368,11 +341,9 @@ w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 0.8f * FONT_SCALE);
|
|
|
|
|
w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 0.8f * FONT_SCALE);
|
|
|
|
|
tempX = x;
|
|
|
|
|
tempY = y;
|
|
|
|
|
CG_AdjustFrom640Int( &tempX, &tempY, NULL, NULL );
|
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, text, colorTable[CT_LTGOLD1], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
|
tempX = x+w;
|
|
|
|
|
tempY = y;
|
|
|
|
|
CG_AdjustFrom640Int( &tempX, &tempY, NULL, NULL );
|
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, va("%d",cg_entities[0].gent->client->sess.missionStats.forceUsed[FP_GRIP]), colorTable[CT_WHITE], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
|
|
|
|
|
|
y +=pad;
|
|
|
|
@ -380,11 +351,9 @@ w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 0.8f * FONT_SCALE);
|
|
|
|
|
w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 0.8f * FONT_SCALE);
|
|
|
|
|
tempX = x;
|
|
|
|
|
tempY = y;
|
|
|
|
|
CG_AdjustFrom640Int( &tempX, &tempY, NULL, NULL );
|
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, text, colorTable[CT_LTGOLD1], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
|
tempX = x+w;
|
|
|
|
|
tempY = y;
|
|
|
|
|
CG_AdjustFrom640Int( &tempX, &tempY, NULL, NULL );
|
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, va("%d",cg_entities[0].gent->client->sess.missionStats.forceUsed[FP_LIGHTNING]), colorTable[CT_WHITE], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
|
|
|
|
|
|
//second column, LIGHT SABER
|
|
|
|
@ -393,7 +362,6 @@ w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 0.8f * FONT_SCALE);
|
|
|
|
|
cgi_SP_GetStringTextString( "INGAME_LIGHTSABERUSE", text, sizeof(text) );
|
|
|
|
|
tempX = x;
|
|
|
|
|
tempY = y;
|
|
|
|
|
CG_AdjustFrom640Int( &tempX, &tempY, NULL, NULL );
|
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, text, colorTable[CT_WHITE], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
|
|
|
|
|
|
y +=pad;
|
|
|
|
@ -401,11 +369,9 @@ w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 0.8f * FONT_SCALE);
|
|
|
|
|
w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 0.8f * FONT_SCALE);
|
|
|
|
|
tempX = x;
|
|
|
|
|
tempY = y;
|
|
|
|
|
CG_AdjustFrom640Int( &tempX, &tempY, NULL, NULL );
|
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, text, colorTable[CT_LTGOLD1], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
|
tempX = x+w;
|
|
|
|
|
tempY = y;
|
|
|
|
|
CG_AdjustFrom640Int( &tempX, &tempY, NULL, NULL );
|
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, va("%d",cg_entities[0].gent->client->sess.missionStats.saberThrownCnt), colorTable[CT_WHITE], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
|
|
|
|
|
|
y +=pad;
|
|
|
|
@ -413,11 +379,9 @@ w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 0.8f * FONT_SCALE);
|
|
|
|
|
w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 0.8f * FONT_SCALE);
|
|
|
|
|
tempX = x;
|
|
|
|
|
tempY = y;
|
|
|
|
|
CG_AdjustFrom640Int( &tempX, &tempY, NULL, NULL );
|
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, text, colorTable[CT_LTGOLD1], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
|
tempX = x+w;
|
|
|
|
|
tempY = y;
|
|
|
|
|
CG_AdjustFrom640Int( &tempX, &tempY, NULL, NULL );
|
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, va("%d",cg_entities[0].gent->client->sess.missionStats.saberBlocksCnt), colorTable[CT_WHITE], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
|
|
|
|
|
|
y +=pad;
|
|
|
|
@ -425,11 +389,9 @@ w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 0.8f * FONT_SCALE);
|
|
|
|
|
w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 0.8f * FONT_SCALE);
|
|
|
|
|
tempX = x;
|
|
|
|
|
tempY = y;
|
|
|
|
|
CG_AdjustFrom640Int( &tempX, &tempY, NULL, NULL );
|
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, text, colorTable[CT_LTGOLD1], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
|
tempX = x+w;
|
|
|
|
|
tempY = y;
|
|
|
|
|
CG_AdjustFrom640Int( &tempX, &tempY, NULL, NULL );
|
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, va("%d",cg_entities[0].gent->client->sess.missionStats.legAttacksCnt), colorTable[CT_WHITE], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
|
|
|
|
|
|
y +=pad;
|
|
|
|
@ -437,11 +399,9 @@ w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 0.8f * FONT_SCALE);
|
|
|
|
|
w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 0.8f * FONT_SCALE);
|
|
|
|
|
tempX = x;
|
|
|
|
|
tempY = y;
|
|
|
|
|
CG_AdjustFrom640Int( &tempX, &tempY, NULL, NULL );
|
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, text, colorTable[CT_LTGOLD1], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
|
tempX = x+w;
|
|
|
|
|
tempY = y;
|
|
|
|
|
CG_AdjustFrom640Int( &tempX, &tempY, NULL, NULL );
|
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, va("%d",cg_entities[0].gent->client->sess.missionStats.armAttacksCnt), colorTable[CT_WHITE], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
|
|
|
|
|
|
y +=pad;
|
|
|
|
@ -449,11 +409,9 @@ w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 0.8f * FONT_SCALE);
|
|
|
|
|
w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 0.8f * FONT_SCALE);
|
|
|
|
|
tempX = x;
|
|
|
|
|
tempY = y;
|
|
|
|
|
CG_AdjustFrom640Int( &tempX, &tempY, NULL, NULL );
|
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, text, colorTable[CT_LTGOLD1], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
|
tempX = x+w;
|
|
|
|
|
tempY = y;
|
|
|
|
|
CG_AdjustFrom640Int( &tempX, &tempY, NULL, NULL );
|
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, va("%d",cg_entities[0].gent->client->sess.missionStats.torsoAttacksCnt), colorTable[CT_WHITE], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
|
|
|
|
|
|
y +=pad;
|
|
|
|
@ -461,11 +419,9 @@ w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 0.8f * FONT_SCALE);
|
|
|
|
|
w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 0.8f * FONT_SCALE);
|
|
|
|
|
tempX = x;
|
|
|
|
|
tempY = y;
|
|
|
|
|
CG_AdjustFrom640Int( &tempX, &tempY, NULL, NULL );
|
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, text, colorTable[CT_LTGOLD1], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
|
tempX = x+w;
|
|
|
|
|
tempY = y;
|
|
|
|
|
CG_AdjustFrom640Int( &tempX, &tempY, NULL, NULL );
|
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, va("%d",cg_entities[0].gent->client->sess.missionStats.otherAttacksCnt), colorTable[CT_WHITE], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|