From: MirceaKitsune Date: Sun, 26 Sep 2010 12:18:46 +0000 (+0300) Subject: Warn about reflections reducing performance a lot in the menu X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c2b99e1122f140d20e88bde8a1340aa32923886c;p=voretournament%2Fvoretournament.git Warn about reflections reducing performance a lot in the menu --- diff --git a/data/qcsrc/menu/voret/dialog_settings_effects.c b/data/qcsrc/menu/voret/dialog_settings_effects.c index 8cb99474..20a816ed 100644 --- a/data/qcsrc/menu/voret/dialog_settings_effects.c +++ b/data/qcsrc/menu/voret/dialog_settings_effects.c @@ -124,7 +124,7 @@ void fillVoretEffectsSettingsTab(entity me) me.TD(me, 1, 1.9, e = makeVoretCheckBox(0, "r_glsl_offsetmapping_reliefmapping", "Relief mapping")); setDependentAND(e, "vid_gl20", 1, 1, "r_glsl_offsetmapping", 1, 1); me.TR(me); - me.TD(me, 1, 1, e = makeVoretCheckBox(0, "r_water", "Reflections:")); + me.TD(me, 1, 1, e = makeVoretCheckBox(0, "r_water", "Reflections: *")); setDependent(e, "vid_gl20", 1, 1); me.TD(me, 1, 2, e = makeVoretTextSlider("r_water_resolutionmultiplier")); e.addValue(e, "Blurred", "0.25"); @@ -133,8 +133,8 @@ void fillVoretEffectsSettingsTab(entity me) e.configureVoretTextSliderValues(e); setDependentAND(e, "vid_gl20", 1, 1, "r_water", 1, 1); me.TR(me); - if(cvar("developer")) - me.TD(me, 1, 3, e = makeVoretCheckBoxEx(3, 0, "r_showsurfaces", "Show surfaces")); + me.TDempty(me, 0.2); + me.TD(me, 1, 1, e = makeVoretTextLabel(0, "* may heavily reduce performance")); me.TR(me); me.TD(me, 1, 3, e = makeVoretRadioButton(1, string_null, string_null, "No dynamic lighting")); me.TR(me);