|
resonance 1.0.1
|
#include <stdarg.h>
Go to the source code of this file.
Functions | |
| void | ShowScreenMessage (const char *pszText, int nDuration) |
| Show a message for a while, rather than writing it to the console. | |
| void ShowScreenMessage | ( | const char * | pszText, |
| int | nDuration ) |
Show a message for a while, rather than writing it to the console.
The body of this routine is a bare return in the shipped build. None of the three messages that go through it therefore ever appears. The reconstruction retains the call sites because the strings and the calls are both in the image. The routine sits in the debug console unit, between Gs_Initialize() and InitDevConsole(), and devconsole.cpp defines it.
The text is already formatted at every call site, so the routine is not variadic. Both the name and the second argument's unit are inferred: the three callers pass a duration of 300, 600, and a forwarded parameter, and the image does not identify the routine or the value.
| pszText | The message. |
| nDuration | How long to show it. |