16 me.configureDialog(me);
25 miscApplyButton.disableOnClick =
true;
31 _(
"Show a graph of packet sizes and other information")));
34 _(
"Each packet includes a copy of the previous message")));
36 me.TD(me, 1, 3, e =
makeXonoticCheckBox(0,
"cl_movement_errorcompensation", _(
"Movement prediction error compensation")));
40 me.TD(me, 1, 3, e =
makeXonoticCheckBoxEx(2, 1,
"crypto_aeslevel", _(
"Use encryption (AES) when available")));
47 _(
"Maximum number of concurrent HTTP downloads")));
51 #define ADDVALUE_SPEED_KB(i) e.addText(e, strzone(sprintf(_("%d KiB/s"), i)), i)
52 #define ADDVALUE_SPEED_MB(i, j) e.addText(e, strzone(sprintf(_("%d MiB/s"), i)), j)
61 #undef ADDVALUE_SPEED_KB
62 #undef ADDVALUE_SPEED_MB
63 e.addText(e,
strzone(_(
"Unlimited")), 0);
64 e.configureXonoticMixedSliderValues(e);
66 me.gotoRC(me, 0, 3.2); me.setFirstColumn(me, me.currentColumn);
71 _(
"Menu tooltips: disabled, standard or advanced (also shows cvar or console command bound to the menu item)")));
72 e.setValueSpace(e, e.valueSpace * 1.2);
73 e.addText(e,
ZCTX(_(
"TLTIP^Disabled")), 0);
74 e.addText(e,
ZCTX(_(
"TLTIP^Standard")), 1);
75 e.addText(e,
ZCTX(_(
"TLTIP^Advanced")), 2);
76 e.configureXonoticMixedSliderValues(e);
80 _(
"How fast animations in the menu occur")));
82 e.setValueSpace(e, e.valueSpace * 1.2);
83 e.addText(e,
ZCTX(_(
"Disabled")), 0);
84 e.addRange(e, 0.05, 0.5, 0.05);
85 e.configureXonoticMixedSliderValues(e);
88 _(
"Draw a shadow behind all text to improve readability")));
89 e.applyButton = miscApplyButton;
92 _(
"Show current date and time of day, useful on screenshots")));
98 _(
"Advanced settings where you can tweak every single variable of the game")));
100 e.onClickEntity =
main.cvarsDialog;
106 e.onClickEntity =
main.resetDialog;
108 me.gotoRC(me, me.rows - 1, 0);
109 me.TD(me, 1, me.columns, miscApplyButton);
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
float CVAR_TYPEFLAG_ENGINE
#define ADDVALUE_SPEED_KB(i)
entity makeXonoticMiscSettingsTab()
#define ADDVALUE_SPEED_MB(i, j)
void XonoticMiscSettingsTab_fill(entity me)
void DialogOpenButton_Click(entity button, entity tab)
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 makeXonoticMixedSlider(string theCvar)
entity makeXonoticMixedSlider_T(string theCvar, string theTooltip)
entity makeXonoticSlider_T(float theValueMin, float theValueMax, float theValueStep, string theCvar, string theTooltip)