19 me.configureDialog(me);
25 me.playerNameLabel.alpha = ((
mod(
time * 2, 2) < 1) ? 1 : 0);
27 me.playerNameLabel.alpha = me.playerNameLabelAlpha;
32 localcmd(
"\nmenu_cmd languageselect\n");
41 "playermodel $_cl_playermodel;" 42 "playerskin $_cl_playerskin;" 44 profileApplyButton.disableOnClick =
true;
49 me.gotoRC(me, 0.5, 0);
52 me.gotoRC(me, 1.5, 0);
55 label.allowColors = 1;
58 label.fontSize = SKINFONTSIZE_TITLE;
60 me.gotoRC(me, 2.5, 0);
62 _(
"Name under which you will appear in the game")));
63 box.forbiddenCharacters =
"\r\n\\\"$";
65 box.saveImmediately = 0;
66 box.enableClearButton = 0;
67 box.applyButton = profileApplyButton;
68 label.textEntity = box;
78 me.gotoRC(me, 9, 0); me.setFirstColumn(me, me.currentColumn);
87 e.onClickEntity = pms;
88 e.applyButton = profileApplyButton;
89 me.TD(me, 11.5, 1.4, pms);
92 e.onClickEntity = pms;
93 e.applyButton = profileApplyButton;
96 me.gotoRC(me, me.currentRow, 0); me.setFirstColumn(me, me.currentColumn);
99 for(i = 0; i < 15; ++i)
104 e.applyButton = profileApplyButton;
109 for(i = 0; i < 15; ++i)
114 e.applyButton = profileApplyButton;
120 me.gotoRC(me, 0.5, 3.1); me.setFirstColumn(me, me.currentColumn);
126 me.TDempty(me, 0.25);
127 me.TD(me, 1, 2.5, e =
makeXonoticCheckBox(0,
"cl_allow_uidtracking", _(
"Allow player statistics to track your client")));
130 me.TDempty(me, 0.25);
131 me.TD(me, 1, 2.5, e =
makeXonoticCheckBox(0,
"cl_allow_uid2name", _(
"Allow player statistics to use your nickname")));
135 me.TDempty(me, 0.25);
136 me.TD(me, 1, 2.5, e =
makeXonoticCheckBox(0,
"cl_allow_uidranking", _(
"Allow player statistics to rank you in leaderboards")));
139 me.gotoRC(me, 4.5, 3.1);
142 me.TDempty(me, 0.25);
149 me.gotoRC(me, 16, 3.1); me.setFirstColumn(me, me.currentColumn);
155 me.TDempty(me, 0.75);
158 e.onClickEntity = me;
164 me.gotoRC(me, me.rows - 1, 0);
165 me.TD(me, 1, me.columns, profileApplyButton);
entity makeXonoticProfileTab()
entity makeXonoticHeaderLabel(string theText)
entity makeXonoticTextLabel(float theAlign, string theText)
void PlayerModelSelector_Next_Click(entity btn, entity me)
void language_selector_click(entity me, entity btn)
entity makeXonoticCharmap(entity controlledInputBox)
void PlayerModelSelector_Prev_Click(entity btn, entity me)
entity makeXonoticStatsList()
entity makeXonoticPlayerModelSelector()
void XonoticProfileTab_draw(entity me)
entity makeXonoticColorpicker(entity theTextbox)
void XonoticProfileTab_fill(entity me)
entity makeXonoticCheckBox(float isInverted, string theCvar, string theText)