mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-17 10:11:02 +00:00
Exiting icon on the tab menu! (Requires new patch.dta)
This commit is contained in:
parent
54a8602c4c
commit
5cc1b0dcd0
1 changed files with 8 additions and 0 deletions
|
@ -92,6 +92,7 @@ patch_t *emeraldpics[7];
|
||||||
patch_t *tinyemeraldpics[7];
|
patch_t *tinyemeraldpics[7];
|
||||||
static patch_t *emblemicon;
|
static patch_t *emblemicon;
|
||||||
patch_t *tokenicon;
|
patch_t *tokenicon;
|
||||||
|
static patch_t *exiticon;
|
||||||
|
|
||||||
//-------------------------------------------
|
//-------------------------------------------
|
||||||
// misc vars
|
// misc vars
|
||||||
|
@ -245,6 +246,7 @@ void HU_LoadGraphics(void)
|
||||||
|
|
||||||
emblemicon = W_CachePatchName("EMBLICON", PU_HUDGFX);
|
emblemicon = W_CachePatchName("EMBLICON", PU_HUDGFX);
|
||||||
tokenicon = W_CachePatchName("TOKNICON", PU_HUDGFX);
|
tokenicon = W_CachePatchName("TOKNICON", PU_HUDGFX);
|
||||||
|
exiticon = W_CachePatchName("EXITICON", PU_HUDGFX);
|
||||||
|
|
||||||
emeraldpics[0] = W_CachePatchName("CHAOS1", PU_HUDGFX);
|
emeraldpics[0] = W_CachePatchName("CHAOS1", PU_HUDGFX);
|
||||||
emeraldpics[1] = W_CachePatchName("CHAOS2", PU_HUDGFX);
|
emeraldpics[1] = W_CachePatchName("CHAOS2", PU_HUDGFX);
|
||||||
|
@ -1258,6 +1260,9 @@ void HU_DrawTabRankings(INT32 x, INT32 y, playersort_t *tab, INT32 scorelines, I
|
||||||
V_DrawSmallScaledPatch(x-32, y-4, 0, tagico);
|
V_DrawSmallScaledPatch(x-32, y-4, 0, tagico);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (players[tab[i].num].exiting)
|
||||||
|
V_DrawSmallScaledPatch(x - SHORT(exiticon->width)/2 - 1, y-3, 0, exiticon);
|
||||||
|
|
||||||
if (gametype == GT_RACE)
|
if (gametype == GT_RACE)
|
||||||
{
|
{
|
||||||
if (circuitmap)
|
if (circuitmap)
|
||||||
|
@ -1388,6 +1393,9 @@ void HU_DrawDualTabRankings(INT32 x, INT32 y, playersort_t *tab, INT32 scoreline
|
||||||
else if (G_TagGametype() && players[tab[i].num].pflags & PF_TAGIT)
|
else if (G_TagGametype() && players[tab[i].num].pflags & PF_TAGIT)
|
||||||
V_DrawSmallScaledPatch(x-28, y-4, 0, tagico);
|
V_DrawSmallScaledPatch(x-28, y-4, 0, tagico);
|
||||||
|
|
||||||
|
if (players[tab[i].num].exiting)
|
||||||
|
V_DrawSmallScaledPatch(x - SHORT(exiticon->width)/2 - 1, y-3, 0, exiticon);
|
||||||
|
|
||||||
// Draw emeralds
|
// Draw emeralds
|
||||||
if (!players[tab[i].num].powers[pw_super]
|
if (!players[tab[i].num].powers[pw_super]
|
||||||
|| ((leveltime/7) & 1))
|
|| ((leveltime/7) & 1))
|
||||||
|
|
Loading…
Reference in a new issue