23 localcmd(
"menu_cmd directmenu Uid2Name\n");
30 LOG_INFO(_(
"^1You must answer before entering hud configure mode"));
103 if(mySize.x/mySize.y > 3)
105 newSize.x = 3 * mySize.y;
106 newSize.y = mySize.y;
108 pos.x = pos.x + (mySize.x - newSize.x) / 2;
112 newSize.y = 1/3 * mySize.x;
113 newSize.x = mySize.x;
115 pos.y = pos.y + (mySize.y - newSize.y) / 2;
119 s = _(
"A vote has been called for:");
121 s = _(
"Allow servers to store and display your name?");
125 s = _(
"^1Configure the HUD");
134 pos.y += (5/8) * mySize.y;
135 vector tmp_size =
vec2(mySize.x, (3/8) * mySize.y);
145 drawsetcliparea(pos.x + 0.5 * mySize.x, pos.y, mySize.x * 0.5, mySize.y);
bool autocvar_hud_panel_vote
#define getcommandkey_forcename(cmd_name, command)
void drawstring_aspect(vector pos, string text, vector sz, vector color, float theAlpha, float drawflag)
bool autocvar__hud_configure
string textShortenToWidth(string theText, float maxWidth, vector theFontSize, textLengthUpToWidth_widthFunction_t tw)
const int SERVERFLAG_PLAYERSTATS
bool autocvar_hud_panel_vote_dynamichud
float autocvar__menu_alpha
#define HUD_Panel_DrawBg()
int autocvar_cl_allow_uid2name
void drawcolorcodedstring_aspect(vector pos, string text, vector sz, float theAlpha, float drawflag)
ERASEABLE string ColorTranslateRGB(string s)
float autocvar_hud_panel_vote_alreadyvoted_alpha
#define drawpic_skin(pos, pic, sz, color, theAlpha, drawflag)
const float DRAWFLAG_NORMAL
vector(float skel, float bonenum) _skel_get_boneabs_hidden
#define MUTATOR_CALLHOOK(id,...)
void HUD_Panel_LoadCvars()