|
|
@ -101,7 +101,6 @@ void CG_MissionFailed(void)
|
|
|
|
|
|
|
|
|
|
|
|
int tempX = 320 - w/2;
|
|
|
|
int tempX = 320 - w/2;
|
|
|
|
int tempY = y;
|
|
|
|
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);
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, text, colorTable[CT_HUD_RED], cgs.media.qhFontSmall, -1, 1.2f * FONT_SCALE);
|
|
|
|
|
|
|
|
|
|
|
|
switch (statusTextIndex)
|
|
|
|
switch (statusTextIndex)
|
|
|
@ -147,7 +146,6 @@ void CG_MissionFailed(void)
|
|
|
|
w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 1.2f * FONT_SCALE);
|
|
|
|
w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 1.2f * FONT_SCALE);
|
|
|
|
tempX = 320 - w/2;
|
|
|
|
tempX = 320 - w/2;
|
|
|
|
tempY = y+30;
|
|
|
|
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_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) );
|
|
|
|
cgi_SP_GetStringTextString( "INGAME_RELOADMISSION", text, sizeof(text) );
|
|
|
@ -155,7 +153,6 @@ void CG_MissionFailed(void)
|
|
|
|
|
|
|
|
|
|
|
|
tempX = 320 - w/2;
|
|
|
|
tempX = 320 - w/2;
|
|
|
|
tempY = 450;
|
|
|
|
tempY = 450;
|
|
|
|
CG_AdjustFrom640Int( &tempX, &tempY, NULL, NULL );
|
|
|
|
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, text, colorTable[CT_CYAN], cgs.media.qhFontSmall, -1, FONT_SCALE);
|
|
|
|
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 tempX = 320 - w/2;
|
|
|
|
int tempY = 53;
|
|
|
|
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);
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, text, colorTable[CT_LTGOLD1], cgs.media.qhFontSmall, -1, 1.2f * FONT_SCALE);
|
|
|
|
|
|
|
|
|
|
|
|
x = 75;
|
|
|
|
x = 75;
|
|
|
@ -186,12 +182,10 @@ void CG_MissionCompletion(void)
|
|
|
|
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;
|
|
|
|
tempX = x;
|
|
|
|
tempY = y;
|
|
|
|
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_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) );
|
|
|
|
cgi_SP_GetStringTextString( "INGAME_SECRETAREAS_OF", text, sizeof(text) );
|
|
|
|
tempX = x+w;
|
|
|
|
tempX = x+w;
|
|
|
|
tempY = y;
|
|
|
|
tempY = y;
|
|
|
|
CG_AdjustFrom640Int( &tempX, &tempY, NULL, NULL );
|
|
|
|
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, va("%d %s %d",
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, va("%d %s %d",
|
|
|
|
cg_entities[0].gent->client->sess.missionStats.secretsFound,
|
|
|
|
cg_entities[0].gent->client->sess.missionStats.secretsFound,
|
|
|
|
text,
|
|
|
|
text,
|
|
|
@ -204,11 +198,9 @@ void CG_MissionCompletion(void)
|
|
|
|
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;
|
|
|
|
tempX = x;
|
|
|
|
tempY = y;
|
|
|
|
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_R_Font_DrawString(tempX, tempY, text, colorTable[CT_LTGOLD1], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
tempX = x+w;
|
|
|
|
tempX = x+w;
|
|
|
|
tempY = y;
|
|
|
|
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_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) );
|
|
|
|
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);
|
|
|
|
w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 0.8f * FONT_SCALE);
|
|
|
|
tempX = x;
|
|
|
|
tempX = x;
|
|
|
|
tempY = y;
|
|
|
|
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_R_Font_DrawString(tempX, tempY, text, colorTable[CT_LTGOLD1], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
|
|
|
|
|
|
|
|
int wpn=0,i;
|
|
|
|
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);
|
|
|
|
// cgi_R_Font_DrawString(tempX, tempY, va("%d",wpn), colorTable[CT_WHITE], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
tempX = x+w;
|
|
|
|
tempX = x+w;
|
|
|
|
tempY = y;
|
|
|
|
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);
|
|
|
|
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);
|
|
|
|
w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 0.8f * FONT_SCALE);
|
|
|
|
tempX = x;
|
|
|
|
tempX = x;
|
|
|
|
tempY = y;
|
|
|
|
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_R_Font_DrawString(tempX, tempY, text, colorTable[CT_LTGOLD1], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
tempX = x+w;
|
|
|
|
tempX = x+w;
|
|
|
|
tempY = y;
|
|
|
|
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);
|
|
|
|
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);
|
|
|
|
w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 0.8f * FONT_SCALE);
|
|
|
|
tempX = x;
|
|
|
|
tempX = x;
|
|
|
|
tempY = y;
|
|
|
|
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_R_Font_DrawString(tempX, tempY, text, colorTable[CT_LTGOLD1], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
tempX = x+w;
|
|
|
|
tempX = x+w;
|
|
|
|
tempY = y;
|
|
|
|
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);
|
|
|
|
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);
|
|
|
|
w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 0.8f * FONT_SCALE);
|
|
|
|
tempX = x;
|
|
|
|
tempX = x;
|
|
|
|
tempY = y;
|
|
|
|
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_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;
|
|
|
|
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;
|
|
|
|
tempX = x+w;
|
|
|
|
tempY = y;
|
|
|
|
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);
|
|
|
|
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 )
|
|
|
|
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) );
|
|
|
|
cgi_SP_GetStringTextString( "INGAME_FORCEUSE", text, sizeof(text) );
|
|
|
|
tempX = x;
|
|
|
|
tempX = x;
|
|
|
|
tempY = y;
|
|
|
|
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);
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, text, colorTable[CT_WHITE], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
|
|
|
|
|
|
|
|
y +=pad;
|
|
|
|
y +=pad;
|
|
|
@ -308,11 +291,9 @@ void CG_MissionCompletion(void)
|
|
|
|
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;
|
|
|
|
tempX = x;
|
|
|
|
tempY = y;
|
|
|
|
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_R_Font_DrawString(tempX, tempY, text, colorTable[CT_LTGOLD1], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
tempX = x+w;
|
|
|
|
tempX = x+w;
|
|
|
|
tempY = y;
|
|
|
|
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);
|
|
|
|
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;
|
|
|
|
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);
|
|
|
|
w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 0.8f * FONT_SCALE);
|
|
|
|
tempX = x;
|
|
|
|
tempX = x;
|
|
|
|
tempY = y;
|
|
|
|
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_R_Font_DrawString(tempX, tempY, text, colorTable[CT_LTGOLD1], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
tempX = x+w;
|
|
|
|
tempX = x+w;
|
|
|
|
tempY = y;
|
|
|
|
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);
|
|
|
|
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;
|
|
|
|
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);
|
|
|
|
w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 0.8f * FONT_SCALE);
|
|
|
|
tempX = x;
|
|
|
|
tempX = x;
|
|
|
|
tempY = y;
|
|
|
|
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_R_Font_DrawString(tempX, tempY, text, colorTable[CT_LTGOLD1], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
tempX = x+w;
|
|
|
|
tempX = x+w;
|
|
|
|
tempY = y;
|
|
|
|
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);
|
|
|
|
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;
|
|
|
|
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);
|
|
|
|
w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 0.8f * FONT_SCALE);
|
|
|
|
tempX = x;
|
|
|
|
tempX = x;
|
|
|
|
tempY = y;
|
|
|
|
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_R_Font_DrawString(tempX, tempY, text, colorTable[CT_LTGOLD1], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
tempX = x+w;
|
|
|
|
tempX = x+w;
|
|
|
|
tempY = y;
|
|
|
|
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);
|
|
|
|
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;
|
|
|
|
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);
|
|
|
|
w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 0.8f * FONT_SCALE);
|
|
|
|
tempX = x;
|
|
|
|
tempX = x;
|
|
|
|
tempY = y;
|
|
|
|
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_R_Font_DrawString(tempX, tempY, text, colorTable[CT_LTGOLD1], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
tempX = x+w;
|
|
|
|
tempX = x+w;
|
|
|
|
tempY = y;
|
|
|
|
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);
|
|
|
|
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;
|
|
|
|
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);
|
|
|
|
w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 0.8f * FONT_SCALE);
|
|
|
|
tempX = x;
|
|
|
|
tempX = x;
|
|
|
|
tempY = y;
|
|
|
|
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_R_Font_DrawString(tempX, tempY, text, colorTable[CT_LTGOLD1], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
tempX = x+w;
|
|
|
|
tempX = x+w;
|
|
|
|
tempY = y;
|
|
|
|
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);
|
|
|
|
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;
|
|
|
|
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);
|
|
|
|
w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 0.8f * FONT_SCALE);
|
|
|
|
tempX = x;
|
|
|
|
tempX = x;
|
|
|
|
tempY = y;
|
|
|
|
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_R_Font_DrawString(tempX, tempY, text, colorTable[CT_LTGOLD1], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
tempX = x+w;
|
|
|
|
tempX = x+w;
|
|
|
|
tempY = y;
|
|
|
|
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);
|
|
|
|
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
|
|
|
|
//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) );
|
|
|
|
cgi_SP_GetStringTextString( "INGAME_LIGHTSABERUSE", text, sizeof(text) );
|
|
|
|
tempX = x;
|
|
|
|
tempX = x;
|
|
|
|
tempY = y;
|
|
|
|
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);
|
|
|
|
cgi_R_Font_DrawString(tempX, tempY, text, colorTable[CT_WHITE], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
|
|
|
|
|
|
|
|
y +=pad;
|
|
|
|
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);
|
|
|
|
w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 0.8f * FONT_SCALE);
|
|
|
|
tempX = x;
|
|
|
|
tempX = x;
|
|
|
|
tempY = y;
|
|
|
|
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_R_Font_DrawString(tempX, tempY, text, colorTable[CT_LTGOLD1], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
tempX = x+w;
|
|
|
|
tempX = x+w;
|
|
|
|
tempY = y;
|
|
|
|
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);
|
|
|
|
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;
|
|
|
|
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);
|
|
|
|
w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 0.8f * FONT_SCALE);
|
|
|
|
tempX = x;
|
|
|
|
tempX = x;
|
|
|
|
tempY = y;
|
|
|
|
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_R_Font_DrawString(tempX, tempY, text, colorTable[CT_LTGOLD1], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
tempX = x+w;
|
|
|
|
tempX = x+w;
|
|
|
|
tempY = y;
|
|
|
|
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);
|
|
|
|
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;
|
|
|
|
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);
|
|
|
|
w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 0.8f * FONT_SCALE);
|
|
|
|
tempX = x;
|
|
|
|
tempX = x;
|
|
|
|
tempY = y;
|
|
|
|
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_R_Font_DrawString(tempX, tempY, text, colorTable[CT_LTGOLD1], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
tempX = x+w;
|
|
|
|
tempX = x+w;
|
|
|
|
tempY = y;
|
|
|
|
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);
|
|
|
|
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;
|
|
|
|
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);
|
|
|
|
w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 0.8f * FONT_SCALE);
|
|
|
|
tempX = x;
|
|
|
|
tempX = x;
|
|
|
|
tempY = y;
|
|
|
|
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_R_Font_DrawString(tempX, tempY, text, colorTable[CT_LTGOLD1], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
tempX = x+w;
|
|
|
|
tempX = x+w;
|
|
|
|
tempY = y;
|
|
|
|
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);
|
|
|
|
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;
|
|
|
|
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);
|
|
|
|
w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 0.8f * FONT_SCALE);
|
|
|
|
tempX = x;
|
|
|
|
tempX = x;
|
|
|
|
tempY = y;
|
|
|
|
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_R_Font_DrawString(tempX, tempY, text, colorTable[CT_LTGOLD1], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
tempX = x+w;
|
|
|
|
tempX = x+w;
|
|
|
|
tempY = y;
|
|
|
|
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);
|
|
|
|
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;
|
|
|
|
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);
|
|
|
|
w = cgi_R_Font_StrLenPixels(text, cgs.media.qhFontSmall, 0.8f * FONT_SCALE);
|
|
|
|
tempX = x;
|
|
|
|
tempX = x;
|
|
|
|
tempY = y;
|
|
|
|
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_R_Font_DrawString(tempX, tempY, text, colorTable[CT_LTGOLD1], cgs.media.qhFontSmall, -1, 0.8f * FONT_SCALE);
|
|
|
|
tempX = x+w;
|
|
|
|
tempX = x+w;
|
|
|
|
tempY = y;
|
|
|
|
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);
|
|
|
|
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);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|