mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-20 01:43:50 +00:00
Show tab emblems in Coop
This commit is contained in:
parent
122ddade61
commit
fb5b8ce1be
1 changed files with 9 additions and 12 deletions
|
@ -2862,18 +2862,6 @@ static void HU_DrawRankings(void)
|
|||
V_DrawCenteredString(256, 16, 0, va("%d", cv_pointlimit.value));
|
||||
}
|
||||
}
|
||||
else if (gametyperankings[gametype] == GT_COOP)
|
||||
{
|
||||
INT32 totalscore = 0;
|
||||
for (i = 0; i < MAXPLAYERS; i++)
|
||||
{
|
||||
if (playeringame[i])
|
||||
totalscore += players[i].score;
|
||||
}
|
||||
|
||||
V_DrawCenteredString(256, 8, 0, "TOTAL SCORE");
|
||||
V_DrawCenteredString(256, 16, 0, va("%u", totalscore));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (circuitmap)
|
||||
|
@ -3029,6 +3017,15 @@ static void HU_DrawNetplayCoopOverlay(void)
|
|||
V_DrawSmallScaledPatch(148, 6, 0, tokenicon);
|
||||
}
|
||||
|
||||
if (G_CoopGametype() && LUA_HudEnabled(hud_tabemblems))
|
||||
{
|
||||
V_DrawCenteredString(256, 14, 0, "/");
|
||||
V_DrawString(256 + 4, 14, 0, va("%d", numemblems + numextraemblems));
|
||||
V_DrawRightAlignedString(256 - 4, 14, 0, va("%d", M_CountEmblems(clientGamedata)));
|
||||
|
||||
V_DrawSmallScaledPatch(256 - (emblemicon->width / 4), 6, 0, emblemicon);
|
||||
}
|
||||
|
||||
if (!LUA_HudEnabled(hud_coopemeralds))
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in a new issue