Expose Print Flags to ZScript
This commit is contained in:
parent
aae1d1439a
commit
03c8da8a44
2 changed files with 26 additions and 0 deletions
|
|
@ -1009,6 +1009,16 @@ DEFINE_ACTION_FUNCTION(_Console, Printf)
|
|||
return 0;
|
||||
}
|
||||
|
||||
DEFINE_ACTION_FUNCTION(_Console, PrintString)
|
||||
{
|
||||
PARAM_PROLOGUE;
|
||||
PARAM_INT(printlevel);
|
||||
PARAM_STRING(str);
|
||||
|
||||
Printf(printlevel,"%s\n", str.GetChars());
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void StopAllSounds()
|
||||
{
|
||||
soundEngine->StopAllChannels();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue