From d8b07202283e87faf770ffbab82419cba327ce4f Mon Sep 17 00:00:00 2001 From: FreakyMutantMan Date: Sun, 15 Dec 2024 13:33:07 -0800 Subject: [PATCH 1/2] Flickering hud elements (spraycan aura, super flicky) are instead transparent with reducevfx. --- src/k_hud_track.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/k_hud_track.cpp b/src/k_hud_track.cpp index afadb95e8..84a0eb734 100644 --- a/src/k_hud_track.cpp +++ b/src/k_hud_track.cpp @@ -454,7 +454,11 @@ Visibility is_object_visible(const mobj_t* mobj) case MT_SPRAYCAN: case MT_SUPER_FLICKY: // Always flickers. - return Visibility::kFlicker; + // Actually no, it gave my friend a migraine, this will *not* always flicker + if (cv_reducevfx.value) + return Visibility::kTransparent; + else + return Visibility::kFlicker; default: // Transparent when not visible. From 9cd9f68ef085c61e6bb7ea36d6b88a7467772b27 Mon Sep 17 00:00:00 2001 From: FreakyMutantMan Date: Sun, 15 Dec 2024 14:06:27 -0800 Subject: [PATCH 2/2] Remove cup select emerald flashing if reducevfx is enabled. (Changing setting requires menu reload to take effect.) --- src/k_menudraw.c | 30 ++++++++++++++++++++++-------- 1 file changed, 22 insertions(+), 8 deletions(-) diff --git a/src/k_menudraw.c b/src/k_menudraw.c index ac09774a4..9dce49251 100644 --- a/src/k_menudraw.c +++ b/src/k_menudraw.c @@ -3257,14 +3257,28 @@ void M_DrawCupSelect(void) if (windata) { - M_DrawCupWinData( - x, - y, - templevelsearch.cup, - cv_dummygpdifficulty.value, - (cupgrid.previewanim & 1), - false - ); + if (cv_reducevfx.value) + { + M_DrawCupWinData( + x, + y, + templevelsearch.cup, + cv_dummygpdifficulty.value, + false, + false + ); + } + else + { + M_DrawCupWinData( + x, + y, + templevelsearch.cup, + cv_dummygpdifficulty.value, + (cupgrid.previewanim & 1), + false + ); + } } } }