From: Rudolf Polzer Date: Sat, 12 Oct 2013 22:09:07 +0000 (+0200) Subject: Add a checkbox for crypto_aeslevel. X-Git-Tag: xonotic-v0.8.0~288 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5cb34c3cbdcbec9ece2053298a62e87e66d615a1;p=xonotic%2Fxonotic-data.pk3dir.git Add a checkbox for crypto_aeslevel. --- diff --git a/qcsrc/menu/xonotic/dialog_settings_misc.c b/qcsrc/menu/xonotic/dialog_settings_misc.c index 37effe932..c14a47c9c 100644 --- a/qcsrc/menu/xonotic/dialog_settings_misc.c +++ b/qcsrc/menu/xonotic/dialog_settings_misc.c @@ -50,6 +50,10 @@ void XonoticMiscSettingsTab_fill(entity me) me.TD(me, 1, 1.8, e = makeXonoticTextLabel(0, _("Client UDP port:"))); me.TD(me, 1, 1, e = makeXonoticInputBox(0, "cl_port")); e.enableClearButton = 0; + me.TR(me); + me.TDempty(me, 0.2); + if(cvar_type("crypto_aeslevel") & CVAR_TYPEFLAG_ENGINE) + me.TD(me, 1, 2.8, e = makeXonoticCheckBoxEx(2, 1, "crypto_aeslevel", _("Use encryption (AES) when available"))); me.TR(me); me.TR(me); me.TDempty(me, 0.2);