================== SCR_DrawTextRightAlign ================== */
| 176 | ================== |
| 177 | */ |
| 178 | void SCR_DrawTextRightAlign( float &y, const char *text, ... ) { |
| 179 | char string[MAX_STRING_CHARS]; |
| 180 | va_list argptr; |
| 181 | va_start( argptr, text ); |
| 182 | int i = idStr::vsnPrintf( string, sizeof( string ), text, argptr ); |
| 183 | va_end( argptr ); |
| 184 | renderSystem->DrawSmallStringExt( 635 - i * SMALLCHAR_WIDTH, y + 2, string, colorWhite, true, localConsole.charSetShader ); |
| 185 | y += SMALLCHAR_HEIGHT + 4; |
| 186 | } |
| 187 | |
| 188 | |
| 189 |
no test coverage detected