mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Move closed chat to behind rankings HUD
This commit is contained in:
parent
00e28b2915
commit
400a7b5974
1 changed files with 13 additions and 11 deletions
|
|
@ -2075,8 +2075,18 @@ void HU_DrawSongCredits(void)
|
||||||
//
|
//
|
||||||
void HU_Drawer(void)
|
void HU_Drawer(void)
|
||||||
{
|
{
|
||||||
|
// Closed chat
|
||||||
|
if (!chat_on)
|
||||||
|
{
|
||||||
|
typelines = 1;
|
||||||
|
chat_scrolltime = 0;
|
||||||
|
|
||||||
|
if (!OLDCHAT && cv_consolechat.value < 2 && netgame) // Don't display minimized chat if you set the mode to Window (Hidden)
|
||||||
|
HU_drawMiniChat(); // draw messages in a cool fashion.
|
||||||
|
}
|
||||||
|
|
||||||
if (gamestate != GS_LEVEL)
|
if (gamestate != GS_LEVEL)
|
||||||
goto drawchat;
|
goto drawontop;
|
||||||
|
|
||||||
// draw multiplayer rankings
|
// draw multiplayer rankings
|
||||||
if (hu_showscores)
|
if (hu_showscores)
|
||||||
|
|
@ -2116,8 +2126,8 @@ void HU_Drawer(void)
|
||||||
V_DrawCenteredString(BASEVIDWIDTH/2, 180, V_YELLOWMAP | V_ALLOWLOWERCASE, resynch_text);
|
V_DrawCenteredString(BASEVIDWIDTH/2, 180, V_YELLOWMAP | V_ALLOWLOWERCASE, resynch_text);
|
||||||
}
|
}
|
||||||
|
|
||||||
drawchat:
|
drawontop:
|
||||||
// draw chat string plus cursor
|
// Opened chat
|
||||||
if (chat_on)
|
if (chat_on)
|
||||||
{
|
{
|
||||||
if (!OLDCHAT)
|
if (!OLDCHAT)
|
||||||
|
|
@ -2125,14 +2135,6 @@ drawchat:
|
||||||
else
|
else
|
||||||
HU_DrawChat_Old();
|
HU_DrawChat_Old();
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
typelines = 1;
|
|
||||||
chat_scrolltime = 0;
|
|
||||||
|
|
||||||
if (!OLDCHAT && cv_consolechat.value < 2 && netgame) // Don't display minimized chat if you set the mode to Window (Hidden)
|
|
||||||
HU_drawMiniChat(); // draw messages in a cool fashion.
|
|
||||||
}
|
|
||||||
|
|
||||||
if (cechotimer)
|
if (cechotimer)
|
||||||
HU_DrawCEcho();
|
HU_DrawCEcho();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue