- scriptified the TimeFreezer powerup.

This commit is contained in:
Christoph Oelckers 2017-01-03 20:06:20 +01:00
commit 15f30886cd
5 changed files with 143 additions and 129 deletions

View file

@ -1852,6 +1852,15 @@ void S_PauseSound (bool notmusic, bool notsfx)
}
}
DEFINE_ACTION_FUNCTION(DObject, S_PauseSound)
{
PARAM_PROLOGUE;
PARAM_BOOL(notmusic);
PARAM_BOOL(notsfx);
S_PauseSound(notmusic, notsfx);
return 0;
}
//==========================================================================
//
// S_ResumeSound
@ -1873,6 +1882,14 @@ void S_ResumeSound (bool notsfx)
}
}
DEFINE_ACTION_FUNCTION(DObject, S_ResumeSound)
{
PARAM_PROLOGUE;
PARAM_BOOL(notsfx);
S_ResumeSound(notsfx);
return 0;
}
//==========================================================================
//
// S_SetSoundPaused