X-Git-Url: http://de.git.xonotic.org/?p=voretournament%2Fvoretournament.git;a=blobdiff_plain;f=data%2Fqcsrc%2Fmenu%2Fvoret%2Fdialog_settings_effects.c;h=19c2be7df38467788bceb5ac15bba4bd0f1c4c47;hp=f3f493ebb89247e0d8e1874dc490897eb88b07ea;hb=27f209865bfd5bbe84d4d0aff5118b2830c336c8;hpb=142ffe15a749603025208a0f5a64c1ae2b2cd7c6 diff --git a/data/qcsrc/menu/voret/dialog_settings_effects.c b/data/qcsrc/menu/voret/dialog_settings_effects.c index f3f493eb..19c2be7d 100644 --- a/data/qcsrc/menu/voret/dialog_settings_effects.c +++ b/data/qcsrc/menu/voret/dialog_settings_effects.c @@ -3,7 +3,7 @@ CLASS(VoretEffectsSettingsTab) EXTENDS(VoretTab) METHOD(VoretEffectsSettingsTab, fill, void(entity)) ATTRIB(VoretEffectsSettingsTab, title, string, "Effects") ATTRIB(VoretEffectsSettingsTab, intendedWidth, float, 0.9) - ATTRIB(VoretEffectsSettingsTab, rows, float, 19) + ATTRIB(VoretEffectsSettingsTab, rows, float, 20) ATTRIB(VoretEffectsSettingsTab, columns, float, 6.5) ENDCLASS(VoretEffectsSettingsTab) entity makeVoretEffectsSettingsTab(); @@ -163,8 +163,10 @@ void fillVoretEffectsSettingsTab(entity me) me.TR(me); me.TDempty(me, 0.2); me.TD(me, 1, 1, e = makeVoretTextLabel(0, "Intensity:")); - me.TD(me, 1, 2, e = makeVoretSlider(2, 6, 0.1, "r_bloom_brighten")); + me.TD(me, 1, 2, e = makeVoretSlider(2, 4, 0.1, "r_bloom_brighten")); setDependentOR(e, "r_bloom", 1, 1, "r_hdr", 1, 1); + me.TR(me); + me.TD(me, 1, 1, e = makeVoretCheckBox(0, "r_hdr_irisadaptation", "Iris adaptation")); me.TR(me); me.TR(me); s = makeVoretSlider(0.1, 1, 0.1, "r_motionblur"); @@ -173,10 +175,9 @@ void fillVoretEffectsSettingsTab(entity me) e.savedValue = 0.5; // default me.TD(me, 1, 2, s); me.TR(me); - me.TD(me, 1, 2, e = makeVoretCheckBoxEx(0.65, 0, "hud_damage", "Screen splashes & Blur")); // must match defaults - makeMulti(e, "hud_stomach"); - me.TD(me, 1, 1, e = makeVoretCheckBoxEx(0.5, 0, "hud_powerup", "Sharpening")); // must match defaults - + me.TD(me, 1, 2, e = makeVoretCheckBoxEx(0.5, 0, "hud_postprocessing_maxbluralpha", "Damage & Water blur")); + me.TD(me, 1, 1, e = makeVoretCheckBoxEx(0.5, 0, "hud_powerup", "Powerup sharpen")); + me.gotoRC(me, me.rows - 1, 0); me.TD(me, 1, me.columns, makeVoretCommandButton("Apply immediately", '0 0 0', "vid_restart", COMMANDBUTTON_APPLY)); }