From: MirceaKitsune Date: Fri, 25 Feb 2011 23:50:59 +0000 (+0200) Subject: Damage blur requires screen splashes in the menu, due to how the cvars work X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=749408095961db30f57e58b79b8749641c8a599a;p=voretournament%2Fvoretournament.git Damage blur requires screen splashes in the menu, due to how the cvars work --- diff --git a/data/qcsrc/menu/voret/dialog_settings_effects.c b/data/qcsrc/menu/voret/dialog_settings_effects.c index ca205960..f876a2f4 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"); @@ -132,9 +132,6 @@ void fillVoretEffectsSettingsTab(entity me) e.addValue(e, "Sharp", "1"); e.configureVoretTextSliderValues(e); setDependentAND(e, "vid_gl20", 1, 1, "r_water", 1, 1); - me.TR(me); - me.TDempty(me, 0.2); - me.TD(me, 1, 1, e = makeVoretTextLabel(0, "* may heavily reduce performance")); me.TR(me); me.TR(me); me.TD(me, 1, 3, e = makeVoretRadioButton(1, string_null, string_null, "No dynamic lighting")); @@ -176,7 +173,10 @@ void fillVoretEffectsSettingsTab(entity me) e.savedValue = 0.5; // default me.TD(me, 1, 2, s); me.TR(me); - me.TD(me, 1, 1, e = makeVoretCheckBox(0, "hud_postprocessing", "Damage & Water blur")); + me.TD(me, 1, 1, e = makeVoretCheckBox(0, "hud_postprocessing", "Damage & Water blur *")); + me.TR(me); + me.TDempty(me, 0.2); + me.TD(me, 1, 1, e = makeVoretTextLabel(0, "* damage blur requires 'screen splashes'")); me.gotoRC(me, me.rows - 1, 0); me.TD(me, 1, me.columns, makeVoretCommandButton("Apply immediately", '0 0 0', "vid_restart", COMMANDBUTTON_APPLY));