_("Vsync prevents tearing, but increases latency and caps your fps at the screen refresh rate")));
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)
setDependent(e, "vid_samples", 0, 1);
me.TR(me);
me.TR(me);
+ if(cvar_type("vid_gl20") & CVAR_TYPEFLAG_ENGINE)
+ {
me.TD(me, 1, 1, e = makeXonoticTextLabel(0, _("Antialiasing:")));
setDependent(e, "r_viewfbo", 0, 0);
me.TD(me, 1, 2, e = makeXonoticTextSlider_T("vid_samples",
e.configureXonoticTextSliderValues(e);
setDependent(e, "r_viewfbo", 0, 0);
e.applyButton = videoApplyButton;
+ }
+ else
+ {
+ me.TD(me, 1, 1, e = makeXonoticTextLabel(0, _("Resolution scaling:")));
+ me.TD(me, 1, 2, e = makeXonoticSlider_T(0.5, 2, 0.25, "r_viewscale",
+ _("Screen or window size multiplier, above 1x does antialiasing, below 1x may help slow GPUs")));
+ }
me.TR(me);
me.TD(me, 1, 1, e = makeXonoticTextLabel(0, _("Anisotropy:")));
me.TD(me, 1, 2, e = makeXonoticTextSlider_T("gl_texture_anisotropy",
_("Brightness of white")));
me.TR(me);
me.TD(me, 1, 1, e = makeXonoticTextLabel(0, _("Gamma:")));
+ if(cvar_type("vid_gl20") & CVAR_TYPEFLAG_ENGINE)
setDependent(e, "vid_gl20", 1, 1);
me.TD(me, 1, 2, e = makeXonoticSlider_T(0.5, 2.0, 0.05, "v_gamma",
_("Inverse gamma correction value, a brightness effect that does not affect white or black")));
+ if(cvar_type("vid_gl20") & CVAR_TYPEFLAG_ENGINE)
setDependent(e, "vid_gl20", 1, 1);
me.TR(me);
me.TD(me, 1, 1, e = makeXonoticTextLabel(0, _("Contrast boost:")));
+ if(cvar_type("vid_gl20") & CVAR_TYPEFLAG_ENGINE)
setDependent(e, "vid_gl20", 1, 1);
me.TD(me, 1, 2, e = makeXonoticSlider_T(1.0, 5.0, 0.1, "v_contrastboost",
_("By how much to multiply the contrast in dark areas")));
+ if(cvar_type("vid_gl20") & CVAR_TYPEFLAG_ENGINE)
setDependent(e, "vid_gl20", 1, 1);
me.TR(me);
me.TD(me, 1, 1, e = makeXonoticTextLabel(0, _("Saturation:")));
+ if(cvar_type("vid_gl20") & CVAR_TYPEFLAG_ENGINE)
setDependent(e, "vid_gl20", 1, 1);
me.TD(me, 1, 2, e = makeXonoticSlider_T(0.5, 2.0, 0.05, "r_glsl_saturation",
_("Saturation adjustment (0 = grayscale, 1 = normal, 2 = oversaturated), requires GLSL color control")));
+ if(cvar_type("vid_gl20") & CVAR_TYPEFLAG_ENGINE)
setDependent(e, "vid_gl20", 1, 1);
me.TR(me);
me.TR(me);
_("Poor man's left handed mode")));
me.TR(me);
me.TD(me, 1, 3, e = makeXonoticCheckBox(0, "v_psycho", _("Psycho coloring (easter egg)")));
+ if(cvar_type("vid_gl20") & CVAR_TYPEFLAG_ENGINE)
setDependent(e, "vid_gl20", 1, 1);
me.TR(me);
me.TD(me, 1, 3, e = makeXonoticCheckBox(0, "r_trippy", _("Trippy vertices (easter egg)")));
+ if(cvar_type("vid_gl20") & CVAR_TYPEFLAG_ENGINE)
setDependent(e, "vid_gl20", 1, 1);
}