From: otta8634 Date: Wed, 12 Feb 2025 17:28:27 +0000 (+0800) Subject: Add r_stereo_redcyan to the menu X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8c6bea9e1a2b34d8c64bb3c0f9e86172f947d2a2;p=xonotic%2Fxonotic-data.pk3dir.git Add r_stereo_redcyan to the menu Added it to the Video section. This was requested by #516. There are other color modes, I only added red-cyan since it's the most popular and will at least make the user aware support exists, so they can hopefully find the other cvars in the console themselves. - There's no space in the dialog to fit all options. --- diff --git a/qcsrc/menu/xonotic/dialog_settings_video.qc b/qcsrc/menu/xonotic/dialog_settings_video.qc index 461809d7f..4d24f1417 100644 --- a/qcsrc/menu/xonotic/dialog_settings_video.qc +++ b/qcsrc/menu/xonotic/dialog_settings_video.qc @@ -35,7 +35,6 @@ void XonoticVideoSettingsTab_fill(entity me) e.applyButton = videoApplyButton; me.TD(me, 1, 2, e = makeXonoticCheckBox(0, "vid_borderless", _("Borderless window"))); setDependent(e, "vid_fullscreen", 0, 0); - me.TR(me); me.TR(me); me.TD(me, 1, 1, e = makeXonoticTextLabel(0, _("Resolution:"))); me.TD(me, 1, 2, e = makeXonoticResolutionSlider()); @@ -54,6 +53,8 @@ void XonoticVideoSettingsTab_fill(entity me) e.addText(e, ZCTX(_("SZ^Colossal")), 1); e.configureXonoticMixedSliderValues(e); e.applyButton = videoApplyButton; + me.TR(me); + me.TD(me, 1, 3, e = makeXonoticCheckBox(0, "r_stereo_redcyan", _("Anaglyph 3D (red-cyan)"))); me.TR(me); me.TD(me, 1, 3, e = makeXonoticCheckBoxEx(2, 0, "r_viewfbo", _("High-quality frame buffer"))); if (cvar_type("vid_gl20") & CVAR_TYPEFLAG_ENGINE)