- scriptified the main statusbar interface and the Strife status bar.

Note that the Strife status bar does not draw the health bars yet. I tried to replace the hacky custom texture with a single fill operation but had to find out that all the coordinate mangling for the status bar is being done deep in the video code. This needs to be fixed before this can be made to work.

Currently this is not usable in mods because they cannot initialize custom status bars yet.
This commit is contained in:
Christoph Oelckers 2017-03-21 20:09:09 +01:00
commit 9bffe4ee50
29 changed files with 1184 additions and 1167 deletions

View file

@ -1296,7 +1296,6 @@ void C_DrawConsole (bool hw2d)
{
screen->Dim (PalEntry ((unsigned char)(player->BlendR*255), (unsigned char)(player->BlendG*255), (unsigned char)(player->BlendB*255)),
player->BlendA, 0, ConBottom, screen->GetWidth(), screen->GetHeight() - ConBottom);
ST_SetNeedRefresh();
V_SetBorderNeedRefresh();
}
}