- Backend update from GZDoom.

This commit is contained in:
Christoph Oelckers 2022-07-20 14:47:18 +02:00 committed by Mitchell Richters
parent b9ee6c327d
commit abb7f87de3
17 changed files with 77 additions and 188 deletions

View file

@ -1009,6 +1009,18 @@ DEFINE_ACTION_FUNCTION(_Console, Printf)
return 0;
}
DEFINE_ACTION_FUNCTION(_Console, PrintfEx)
{
PARAM_PROLOGUE;
PARAM_INT(printlevel);
PARAM_VA_POINTER(va_reginfo) // Get the hidden type information array
FString s = FStringFormat(VM_ARGS_NAMES,1);
Printf(printlevel,"%s\n", s.GetChars());
return 0;
}
static void StopAllSounds()
{
soundEngine->StopAllChannels();