MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / format

Function format

Descent3/TelComEffects.cpp:684–692  ·  view source on GitHub ↗

////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

682
683/////////////////////////////////////////////////////////////////////////
684char *format(const char *fmt, ...) {
685 static char tempbuffer[8192];
686
687 std::va_list ap;
688 va_start(ap, fmt);
689 std::vsnprintf(tempbuffer, sizeof(tempbuffer), fmt, ap);
690 va_end(ap);
691 return tempbuffer;
692}
693
694bool CreateTextEffect(TCTEXTDESC* desc, const char *text, int monitor, int screen, int id) {
695 ASSERT(desc);

Callers 1

TelComMainMenuFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected