From 5cb34c3cbdcbec9ece2053298a62e87e66d615a1 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Sun, 13 Oct 2013 00:09:07 +0200 Subject: [PATCH] Add a checkbox for crypto_aeslevel. --- qcsrc/menu/xonotic/dialog_settings_misc.c | 4 ++++ 1 file changed, 4 insertions(+) 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); -- 2.39.2