18 me.configureDialog(me);
34 _(
"Set a different crosshair for each weapon, good if you play without weapon models")));
89 me.TD(me, 1, 2.8, e =
makeXonoticCheckBox_T(0,
"crosshair_ring", _(
"Use rings to indicate weapon status"),
"-"));
108 e.formatString =
"%";
112 me.gotoRC(me, 0, 3.2); me.setFirstColumn(me, me.currentColumn);
113 me.TD(me, 1, 2.8, e =
makeXonoticCheckBox(0,
"crosshair_dot", _(
"Enable center crosshair dot")));
131 e.formatString =
"%";
140 me.TD(me, 1, 1.8, e =
makeXonoticRadioButton(1,
"crosshair_dot_color_custom",
"0", _(
"Use normal color")));
156 me.TD(me, 1, 3, e =
makeXonoticCheckBox(0,
"crosshair_effect_scalefade", _(
"Smooth effects of crosshairs")));
159 me.TD(me, 1, 3, e =
makeXonoticCheckBox(0,
"crosshair_hittest", _(
"Perform hit tests for the crosshair")));
163 me.TD(me, 1, 2.8, e =
makeXonoticCheckBox(0,
"crosshair_hittest_blur_wall", _(
"Blur if obstructed by an obstacle")));
168 me.TD(me, 1, 2.8, e =
makeXonoticCheckBox(0,
"crosshair_hittest_blur_teammate", _(
"Blur if obstructed by a teammate")));
173 me.TD(me, 1, 2.8, e =
makeXonoticCheckBoxEx(1.25, 1,
"crosshair_hittest", _(
"Shrink if obstructed by a teammate")));
177 me.TD(me, 1, 3, e =
makeXonoticCheckBoxEx(0.5, 0,
"crosshair_hitindication", _(
"Animate crosshair when hitting an enemy")));
180 me.TD(me, 1, 3, e =
makeXonoticCheckBoxEx(0.25, 0,
"crosshair_pickup", _(
"Animate crosshair when picking up an item")));
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
entity makeXonoticColorpickerString(string theCvar, string theDefaultCvar)
entity makeXonoticCrosshairPicker()
entity makeXonoticCrosshairPreview()
entity makeXonoticGameCrosshairSettingsTab()
void XonoticGameCrosshairSettingsTab_showNotify(entity me)
void XonoticGameCrosshairSettingsTab_fill(entity me)
entity makeXonoticTextLabel(float theAlign, string theText)
entity makeXonoticHeaderLabel(string theText)
entity makeXonoticCheckBox_T(float isInverted, string theCvar, string theText, string theTooltip)
entity makeXonoticCheckBox(float isInverted, string theCvar, string theText)
entity makeXonoticCheckBoxEx(float theYesValue, float theNoValue, string theCvar, string theText)
entity makeXonoticSlider(float theValueMin, float theValueMax, float theValueStep, string theCvar)