mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-31 05:30:48 +00:00
Make chat visible in the evaluation gamestate.
This commit is contained in:
parent
918edda672
commit
5bd71970ad
3 changed files with 7 additions and 6 deletions
|
@ -1632,6 +1632,8 @@ void CON_Drawer(void)
|
|||
|
||||
if (con_curlines > 0)
|
||||
CON_DrawConsole();
|
||||
else if (gamestate == GS_LEVEL || gamestate == GS_INTERMISSION || gamestate == GS_CUTSCENE || gamestate == GS_CREDITS)
|
||||
else if (gamestate == GS_LEVEL
|
||||
|| gamestate == GS_INTERMISSION || gamestate == GS_CUTSCENE
|
||||
|| gamestate == GS_CREDITS || gamestate == GS_EVALUATION)
|
||||
CON_DrawHudlines();
|
||||
}
|
||||
|
|
|
@ -352,6 +352,7 @@ static void D_Display(void)
|
|||
|
||||
case GS_EVALUATION:
|
||||
F_GameEvaluationDrawer();
|
||||
HU_Erase();
|
||||
HU_Drawer();
|
||||
break;
|
||||
|
||||
|
|
|
@ -1798,7 +1798,6 @@ boolean G_Responder(event_t *ev)
|
|||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
else if (gamestate == GS_CREDITS)
|
||||
{
|
||||
if (HU_Responder(ev))
|
||||
|
@ -1810,17 +1809,15 @@ boolean G_Responder(event_t *ev)
|
|||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
else if (gamestate == GS_CONTINUING)
|
||||
{
|
||||
if (F_ContinueResponder(ev))
|
||||
return true;
|
||||
}
|
||||
// Demo End
|
||||
else if (gamestate == GS_GAMEEND || gamestate == GS_EVALUATION || gamestate == GS_CREDITS)
|
||||
else if (gamestate == GS_GAMEEND)
|
||||
return true;
|
||||
|
||||
else if (gamestate == GS_INTERMISSION)
|
||||
else if (gamestate == GS_INTERMISSION || gamestate == GS_EVALUATION)
|
||||
if (HU_Responder(ev))
|
||||
return true; // chat ate the event
|
||||
|
||||
|
@ -1977,6 +1974,7 @@ void G_Ticker(boolean run)
|
|||
case GS_EVALUATION:
|
||||
if (run)
|
||||
F_GameEvaluationTicker();
|
||||
HU_Ticker();
|
||||
break;
|
||||
|
||||
case GS_CONTINUING:
|
||||
|
|
Loading…
Reference in a new issue