renders text, scaled, alphaed, saturated,
| 887 | |
| 888 | // renders text, scaled, alphaed, saturated, |
| 889 | void RenderHUDText(ddgr_color col, uint8_t alpha, int sat_count, int x, int y, const char *fmt, ...) { |
| 890 | std::va_list arglist; |
| 891 | char buf[128]; |
| 892 | |
| 893 | va_start(arglist, fmt); |
| 894 | std::vsnprintf(buf, 128, fmt, arglist); |
| 895 | va_end(arglist); |
| 896 | |
| 897 | RenderHUDTextFlagsNoFormat(0, col, alpha, sat_count, x, y, buf); |
| 898 | } |
| 899 | |
| 900 | // renders text, scaled, alphaed, saturated, |
| 901 | void RenderHUDTextFlagsNoFormat(int flags, ddgr_color col, uint8_t alpha, int sat_count, int x, int y, const char *str) { |
no test coverage detected