- Moved high level parts of view border drawing to status bar.

This commit is contained in:
Christoph Oelckers 2019-01-07 16:56:44 +01:00
commit 848d9c3750
7 changed files with 70 additions and 66 deletions

View file

@ -760,15 +760,15 @@ void D_Display ()
{
AM_Drawer (hud_althud? viewheight : StatusBar->GetTopOfStatusbar());
}
if (!automapactive || viewactive)
{
screen->RefreshViewBorder ();
}
// for timing the statusbar code.
//cycle_t stb;
//stb.Reset();
//stb.Clock();
if (!automapactive || viewactive)
{
StatusBar->RefreshViewBorder ();
}
if (hud_althud && viewheight == SCREENHEIGHT && screenblocks > 10)
{
StatusBar->DrawBottomStuff (HUD_AltHud);