19 me.configureDialog(me);
27 "sendcvar cl_weaponpriority;" 29 weaponsApplyButton.disableOnClick =
true;
37 e.applyButton = weaponsApplyButton;
38 me.gotoRC(me, 10, 0.25);
41 e.onClickEntity = me.weaponsList;
42 e.applyButton = weaponsApplyButton;
45 e.onClickEntity = me.weaponsList;
46 e.applyButton = weaponsApplyButton;
48 me.gotoRC(me, 0, 3); me.setFirstColumn(me, me.currentColumn);
49 me.TD(me, 1, 3, e =
makeXonoticCheckBox_T(0,
"cl_weaponpriority_useforcycling", _(
"Use priority list for weapon cycling"),
50 _(
"Make use of the list above when cycling through weapons with the mouse wheel")));
52 me.TD(me, 1, 3, e =
makeXonoticCheckBox(1,
"cl_weaponimpulsemode", _(
"Cycle through only usable weapon selections")));
57 _(
"Automatically switch to newly picked up weapons if they are better than what you are carrying")));
60 me.TD(me, 1, 3, e =
makeXonoticCheckBox(0,
"cl_unpress_attack_on_weapon_switch", _(
"Release attack buttons when you switch weapons")));
64 _(
"Draw the weapon model")));
68 _(
"Position of the weapon model; requires reconnect")));
71 _(
"Position of the weapon model; requires reconnect")));
74 _(
"Position of the weapon model; requires reconnect")));
82 e.addValue(e,
"15%",
"0.15");
83 e.addValue(e,
"25%",
"0.25");
84 e.addValue(e,
"50%",
"0.5");
85 e.addValue(e,
"75%",
"0.75");
86 e.addValue(e,
"100%",
"1");
87 e.configureXonoticTextSliderValues(e);
98 me.gotoRC(me, me.rows - 1, 0); me.setFirstColumn(me, me.currentColumn);
99 me.TD(me, 1, me.columns, weaponsApplyButton);
void XonoticGameWeaponsSettingsTab_showNotify(entity me)
entity makeXonoticHeaderLabel(string theText)
entity makeXonoticTextLabel(float theAlign, string theText)
void WeaponsList_MoveDown_Click(entity box, entity me)
void XonoticGameWeaponsSettingsTab_fill(entity me)
entity makeXonoticWeaponsList()
entity makeXonoticCheckBox_T(float isInverted, string theCvar, string theText, string theTooltip)
entity makeXonoticGameWeaponsSettingsTab()
entity makeXonoticTextSlider(string theCvar)
entity makeXonoticCheckBox(float isInverted, string theCvar, string theText)
void WeaponsList_MoveUp_Click(entity box, entity me)