23 localcmd(
"menu_cmd directmenu Uid2Name\n");
30 LOG_INFO(_(
"^1You must answer before entering HUD configure mode"));
109 if (mySize.x / mySize.y > 3)
111 newSize.x = 3 * mySize.y;
112 newSize.y = mySize.y;
114 pos.x += (mySize.x - newSize.x) * 0.5;
118 newSize.y = 1/3 * mySize.x;
119 newSize.x = mySize.x;
121 pos.y += (mySize.y - newSize.y) * 0.5;
126 ? _(
"Allow servers to store and display your name?")
127 : _(
"A vote has been called for:");
130 s = _(
"^1Configure the HUD");
141 pos.y += (5/8) * mySize.y;
142 vector tmp_size =
vec2(mySize.x, (3/8) * mySize.y);
154 drawsetcliparea(pos.x + 0.5 * mySize.x, pos.y, mySize.x * 0.5, mySize.y);
#define MUTATOR_CALLHOOK(id,...)
void drawstring_aspect(vector pos, string text, vector sz, vector color, float theAlpha, float drawflag)
void drawcolorcodedstring_aspect(vector pos, string text, vector sz, float theAlpha, float drawflag)
#define drawsetcliparea(xposition, yposition, w, h)
#define drawpic_skin(pos, pic, sz, color, theAlpha, drawflag)
void HUD_Vote_Export(int fh)
bool autocvar_hud_panel_vote
bool autocvar_hud_panel_vote_dynamichud
float autocvar_hud_panel_vote_alreadyvoted_alpha
int autocvar_cl_allow_uid2name
#define getcommandkey_forcename(cmd_name, command)
string textShortenToWidth(string theText, float maxWidth, vector theFontSize, textLengthUpToWidth_widthFunction_t tw)
const int SERVERFLAG_PLAYERSTATS
const float DRAWFLAG_NORMAL
void HUD_Panel_LoadCvars()
float autocvar__menu_alpha
#define HUD_Panel_DrawBg()
#define HUD_Write_Cvar(cvar)
bool autocvar__hud_configure
float hud_configure_menu_open
noref float vid_conheight
ERASEABLE string ColorTranslateRGB(string s)
float stringwidth_colors(string s, vector theSize)