Go to the source code of this file.
◆ HUD_Mod_Dom()
Definition at line 64 of file cl_domination.qc.
References autocvar_hud_panel_modicons_dom_layout, ceil(), DrawDomItem(), HUD_GetRowCount(), mod_active, team_count, vec2, and vector().
71 aspect_ratio = (layout) ? 3 : 1;
76 float row = 0, column = 0;
78 itemSize =
vec2(mySize.x / columns, mySize.y / rows);
81 pos = myPos +
vec2(column * itemSize.x, row * itemSize.y);
83 DrawDomItem(pos, itemSize, aspect_ratio, layout, i);
float HUD_GetRowCount(int item_count, vector size, float item_aspect)
int autocvar_hud_panel_modicons_dom_layout
vector(float skel, float bonenum) _skel_get_boneabs_hidden
void DrawDomItem(vector myPos, vector mySize, float aspect_ratio, int layout, int i)
◆ HUD_Mod_Dom_Export()