- 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

@ -109,7 +109,6 @@ void cht_DoCheat (player_t *player, int cheat)
msg = GStrings("STSTR_DQDON");
else
msg = GStrings("STSTR_DQDOFF");
ST_SetNeedRefresh();
break;
case CHT_BUDDHA:
@ -126,7 +125,6 @@ void cht_DoCheat (player_t *player, int cheat)
msg = GStrings("STSTR_DQD2ON");
else
msg = GStrings("STSTR_DQD2OFF");
ST_SetNeedRefresh();
break;
case CHT_BUDDHA2: