- */
-
- drawfont = hud_bigfont;
- if (cvar("hud_panel_modicons_dom_pps")) // average pps
- drawstring_aspect(numpos, ftos_decimals(stat, 2), eX * (2/3) * newSize_x + eY * newSize_y, color, panel_fg_alpha, DRAWFLAG_NORMAL);
- else // percentage of average pps
- drawstring_aspect(numpos, strcat(ftos_decimals(stat*100 / getstatf(STAT_DOM_TOTAL_PPS), 0), "%"), eX * (2/3) * newSize_x + eY * newSize_y, color, panel_fg_alpha, DRAWFLAG_NORMAL);
- drawfont = hud_font;
-
- // TODO draw controlpoints icons with a bar
- // representing the percentage of average pps
- // and maybe show smaller strings