From: otta8634 Date: Sun, 16 Feb 2025 11:51:05 +0000 (+0800) Subject: Add r_textshadow to the menu X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=215631713401b91a7205557550e3a21e7ea3d362;p=xonotic%2Fxonotic-data.pk3dir.git Add r_textshadow to the menu Added it to the Misc section. This was requested by #793. --- diff --git a/qcsrc/menu/xonotic/dialog_settings_misc.qc b/qcsrc/menu/xonotic/dialog_settings_misc.qc index 7a52a39db..a49666e53 100644 --- a/qcsrc/menu/xonotic/dialog_settings_misc.qc +++ b/qcsrc/menu/xonotic/dialog_settings_misc.qc @@ -71,6 +71,9 @@ void XonoticMiscSettingsTab_fill(entity me) e.addText(e, ZCTX(_("TLTIP^Standard")), 1); e.addText(e, ZCTX(_("TLTIP^Advanced")), 2); e.configureXonoticMixedSliderValues(e); + me.TR(me); + me.TD(me, 1, 3, e = makeXonoticCheckBox_T(0, "r_textshadow", _("Text shadow"), + _("Draw a shadow behind all text to improve readability"))); me.TR(me); me.TD(me, 1, 3, e = makeXonoticCheckBox_T(0, "showtime", _("Show current date and time"), _("Show current date and time of day, useful on screenshots")));