This commit is contained in:
Rachael Alexanderson 2017-02-12 21:39:20 -05:00
commit 8c176575c8
64 changed files with 5296 additions and 4532 deletions

View file

@ -1336,6 +1336,14 @@ DEFINE_ACTION_FUNCTION(_Console, HideConsole)
return 0;
}
DEFINE_ACTION_FUNCTION(_Console, Printf)
{
PARAM_PROLOGUE;
FString s = FStringFormat(param, defaultparam, numparam, ret, numret);
Printf("%s\n", s.GetChars());
return 0;
}
static bool C_HandleKey (event_t *ev, FCommandBuffer &buffer)
{
int data1 = ev->data1;