Scriptified DBaseStatusBar::Draw
This commit is contained in:
parent
3bb716c414
commit
31cd741cb0
4 changed files with 30 additions and 56 deletions
|
|
@ -2108,21 +2108,6 @@ DEFINE_ACTION_FUNCTION_NATIVE(DBaseStatusBar, DetachAllMessages, SBar_DetachAllM
|
|||
return 0;
|
||||
}
|
||||
|
||||
static void SBar_Draw(DBaseStatusBar *self, int state, double ticFrac)
|
||||
{
|
||||
self->Draw((EHudState)state, ticFrac);
|
||||
}
|
||||
|
||||
|
||||
DEFINE_ACTION_FUNCTION_NATIVE(DBaseStatusBar, Draw, SBar_Draw)
|
||||
{
|
||||
PARAM_SELF_PROLOGUE(DBaseStatusBar);
|
||||
PARAM_INT(state);
|
||||
PARAM_FLOAT(ticFrac);
|
||||
self->Draw((EHudState)state, ticFrac);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void SetMugshotState(DBaseStatusBar *self, const FString &statename, bool wait, bool reset)
|
||||
{
|
||||
self->mugshot.SetState(statename.GetChars(), wait, reset);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue