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,7 +454,11 @@ 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.
|
||||||
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:
|
default:
|
||||||
// Transparent when not visible.
|
// Transparent when not visible.
|
||||||
|
|
|
||||||
|
|
@ -3257,14 +3257,28 @@ void M_DrawCupSelect(void)
|
||||||
|
|
||||||
if (windata)
|
if (windata)
|
||||||
{
|
{
|
||||||
M_DrawCupWinData(
|
if (cv_reducevfx.value)
|
||||||
x,
|
{
|
||||||
y,
|
M_DrawCupWinData(
|
||||||
templevelsearch.cup,
|
x,
|
||||||
cv_dummygpdifficulty.value,
|
y,
|
||||||
(cupgrid.previewanim & 1),
|
templevelsearch.cup,
|
||||||
false
|
cv_dummygpdifficulty.value,
|
||||||
);
|
false,
|
||||||
|
false
|
||||||
|
);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
M_DrawCupWinData(
|
||||||
|
x,
|
||||||
|
y,
|
||||||
|
templevelsearch.cup,
|
||||||
|
cv_dummygpdifficulty.value,
|
||||||
|
(cupgrid.previewanim & 1),
|
||||||
|
false
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue