From: z411 Date: Sat, 19 Mar 2022 23:35:19 +0000 (-0300) Subject: Removing short fade in cvar - we really never want fade in for counts X-Git-Tag: xonotic-v0.8.5~128^2~10 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5d9877bbc7fe7817eeb4c04f7463bcb3ded8924b;p=xonotic%2Fxonotic-data.pk3dir.git Removing short fade in cvar - we really never want fade in for counts --- diff --git a/_hud_common.cfg b/_hud_common.cfg index 8e6888aec..5fdba6721 100644 --- a/_hud_common.cfg +++ b/_hud_common.cfg @@ -120,7 +120,6 @@ seta hud_panel_infomessages_group_fadetime 0.4 "group message fade in/out time" seta hud_panel_centerprint_time 3 "message duration (NOTE: certain messages have a fixed duration)" seta hud_panel_centerprint_fade_in 0 "how long a message takes to fade in" -seta hud_panel_centerprint_fade_in_short 0 " "how long a message that lasts 2 or less seconds takes to fade in" seta hud_panel_centerprint_fade_out 0.15 "how long a message takes to fade out (this time is included in the message duration and can't be > 5)" seta hud_panel_centerprint_fade_subsequent 1 "enable extra fading effects for each additional message, so that the more messages you have the more they become faded out" seta hud_panel_centerprint_fade_subsequent_passone 3 "division factor for the first pass for alpha fading, with 2 all messages after the first have half alpha" diff --git a/qcsrc/client/hud/panel/centerprint.qc b/qcsrc/client/hud/panel/centerprint.qc index 13ab741d7..e158ce585 100644 --- a/qcsrc/client/hud/panel/centerprint.qc +++ b/qcsrc/client/hud/panel/centerprint.qc @@ -315,7 +315,7 @@ void HUD_CenterPrint() float fade_out_time = autocvar_hud_panel_centerprint_fade_out; if (centerprint_countdown_num[j]) { - fade_in_time = autocvar_hud_panel_centerprint_fade_in_short; + fade_in_time = 0; fade_out_time = 0; } diff --git a/qcsrc/client/hud/panel/centerprint.qh b/qcsrc/client/hud/panel/centerprint.qh index 5bc51882f..01ebd6255 100644 --- a/qcsrc/client/hud/panel/centerprint.qh +++ b/qcsrc/client/hud/panel/centerprint.qh @@ -4,7 +4,6 @@ bool autocvar_hud_panel_centerprint; float autocvar_hud_panel_centerprint_align; float autocvar_hud_panel_centerprint_fade_in = 0.15; -float autocvar_hud_panel_centerprint_fade_in_short = 0; float autocvar_hud_panel_centerprint_fade_out = 0.15; float autocvar_hud_panel_centerprint_fade_subsequent = 1; float autocvar_hud_panel_centerprint_fade_subsequent_passone = 3;