MCPcopy Create free account
hub / github.com/dhewm/dhewm3 / SCR_DrawTextLeftAlign

Function SCR_DrawTextLeftAlign

neo/framework/Console.cpp:163–171  ·  view source on GitHub ↗

================== SCR_DrawTextLeftAlign ================== */

Source from the content-addressed store, hash-verified

161==================
162*/
163void SCR_DrawTextLeftAlign( float &y, const char *text, ... ) {
164 char string[MAX_STRING_CHARS];
165 va_list argptr;
166 va_start( argptr, text );
167 idStr::vsnPrintf( string, sizeof( string ), text, argptr );
168 va_end( argptr );
169 renderSystem->DrawSmallStringExt( 0, y + 2, string, colorWhite, true, localConsole.charSetShader );
170 y += SMALLCHAR_HEIGHT + 4;
171}
172
173/*
174==================

Callers 1

SCR_DrawSoundDecodersFunction · 0.85

Calls 1

DrawSmallStringExtMethod · 0.80

Tested by

no test coverage detected