Merge branch 'reducevfx-additions' into 'master'

Reduce VFX additions for flickering hud elements and cup select

See merge request KartKrew/RingRacers!76
This commit is contained in:
Eidolon 2025-08-22 18:16:25 -05:00
commit 7d5e74e72c
2 changed files with 27 additions and 9 deletions

View file

@ -454,6 +454,10 @@ Visibility is_object_visible(const mobj_t* mobj)
case MT_SPRAYCAN: case MT_SPRAYCAN:
case MT_SUPER_FLICKY: case MT_SUPER_FLICKY:
// Always flickers. // Always flickers.
// Actually no, it gave my friend a migraine, this will *not* always flicker
if (cv_reducevfx.value)
return Visibility::kTransparent;
else
return Visibility::kFlicker; return Visibility::kFlicker;
default: default:

View file

@ -3256,6 +3256,19 @@ void M_DrawCupSelect(void)
} }
if (windata) if (windata)
{
if (cv_reducevfx.value)
{
M_DrawCupWinData(
x,
y,
templevelsearch.cup,
cv_dummygpdifficulty.value,
false,
false
);
}
else
{ {
M_DrawCupWinData( M_DrawCupWinData(
x, x,
@ -3268,6 +3281,7 @@ void M_DrawCupSelect(void)
} }
} }
} }
}
{ {
fixed_t tx = Easing_Linear(M_DueFrac(cupgrid.xslide.start, CUPMENU_SLIDETIME), cupgrid.xslide.dist * FRACUNIT, 0); fixed_t tx = Easing_Linear(M_DueFrac(cupgrid.xslide.start, CUPMENU_SLIDETIME), cupgrid.xslide.dist * FRACUNIT, 0);