mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
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:
commit
7d5e74e72c
2 changed files with 27 additions and 9 deletions
|
|
@ -454,6 +454,10 @@ Visibility is_object_visible(const mobj_t* mobj)
|
|||
case MT_SPRAYCAN:
|
||||
case MT_SUPER_FLICKY:
|
||||
// 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;
|
||||
|
||||
default:
|
||||
|
|
|
|||
|
|
@ -3256,6 +3256,19 @@ void M_DrawCupSelect(void)
|
|||
}
|
||||
|
||||
if (windata)
|
||||
{
|
||||
if (cv_reducevfx.value)
|
||||
{
|
||||
M_DrawCupWinData(
|
||||
x,
|
||||
y,
|
||||
templevelsearch.cup,
|
||||
cv_dummygpdifficulty.value,
|
||||
false,
|
||||
false
|
||||
);
|
||||
}
|
||||
else
|
||||
{
|
||||
M_DrawCupWinData(
|
||||
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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue