mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-12 12:22:38 +00:00
Remove overly specific HU_drawGametype function
This commit is contained in:
parent
e894cd55de
commit
443794e1e5
1 changed files with 2 additions and 16 deletions
|
@ -1735,21 +1735,6 @@ static void HU_DrawCEcho(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void HU_drawGametype(void)
|
|
||||||
{
|
|
||||||
const char *strvalue = NULL;
|
|
||||||
|
|
||||||
if (gametype < 0 || gametype >= gametypecount)
|
|
||||||
return; // not a valid gametype???
|
|
||||||
|
|
||||||
strvalue = Gametype_Names[gametype];
|
|
||||||
|
|
||||||
if (splitscreen)
|
|
||||||
V_DrawString(4, 184, 0, strvalue);
|
|
||||||
else
|
|
||||||
V_DrawString(4, 192, 0, strvalue);
|
|
||||||
}
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// demo info stuff
|
// demo info stuff
|
||||||
//
|
//
|
||||||
|
@ -2683,7 +2668,8 @@ static void HU_DrawRankings(void)
|
||||||
UINT32 whiteplayer;
|
UINT32 whiteplayer;
|
||||||
|
|
||||||
// draw the current gametype in the lower right
|
// draw the current gametype in the lower right
|
||||||
HU_drawGametype();
|
if (gametype >= 0 || gametype < gametypecount)
|
||||||
|
V_DrawString(4, splitscreen ? 184 : 192, 0, Gametype_Names[gametype]);
|
||||||
|
|
||||||
if (gametyperules & (GTR_TIMELIMIT|GTR_POINTLIMIT))
|
if (gametyperules & (GTR_TIMELIMIT|GTR_POINTLIMIT))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue