- first stage of migrating intermissions to screenjobs.

This commit is contained in:
Christoph Oelckers 2022-04-10 08:54:45 +02:00
commit 390bf58698
15 changed files with 171 additions and 329 deletions

View file

@ -240,11 +240,14 @@ void CT_Drawer (void)
if (players[consoleplayer].camera != NULL &&
(buttonMap.ButtonDown(Button_ShowScores) ||
players[consoleplayer].camera->health <= 0 ||
SB_ForceActive) &&
// Don't draw during intermission, since it has its own scoreboard in wi_stuff.cpp.
gamestate != GS_INTERMISSION)
SB_ForceActive))
{
HU_DrawScores (&players[consoleplayer]);
bool skipit = false;
if (gamestate == GS_CUTSCENE)
{
// todo: check for summary screen
}
if (!skipit) HU_DrawScores (&players[consoleplayer]);
}
if (chatmodeon)
{