- Fixed: If a log popup is defined, it should not draw the default log message.

- Fixed: The counters in draw(selected)inventory(bar) should not have been limited to 3 characters.
- Added: drawshadow() to drawinventorybar.
- Added: itemflash to drawselectedinventory to use Strife's cursor fade.
- Added: time and logtext to drawstring.  In addition a linebreaks(size) flag was added.

SVN r2928 (trunk)
This commit is contained in:
Braden Obrzut 2010-10-09 15:57:04 +00:00
commit 45f3ef91d3
2 changed files with 85 additions and 8 deletions

View file

@ -1080,6 +1080,11 @@ public:
}
}
bool MustDrawLog (EHudState state)
{
return script->huds[STBAR_POPUPLOG]->NumCommands() == 0;
}
void SetMugShotState (const char *state_name, bool wait_till_done, bool reset)
{
script->MugShot.SetState(state_name, wait_till_done, reset);