Disable position bulb animations for Reduce VFX

In green resolutions, especially past 12 players, these bulbs take up a
large part of the screen and flash in a particularly intense way for
people with heightened photosensitivity. This disables the animations
while still presenting them effectively.
This commit is contained in:
Eidolon 2024-05-19 02:11:51 -05:00
parent c44790749d
commit 583b7937a3

View file

@ -5025,14 +5025,31 @@ static void K_drawKartStartBulbs(void)
bulbtic -= 14;
// Reduce VFX disables the bulb animation while still presenting this indicator
if (bulbtic > length)
{
bulbtic -= length;
patchnum = chillloop_animation[bulbtic % 2];
if (cv_reducevfx.value != 0)
{
patchnum = chillloop_animation[0];
}
else
{
patchnum = chillloop_animation[bulbtic % 2];
}
}
else
{
patchnum = loop_animation[bulbtic % 4];
if (cv_reducevfx.value != 0)
{
patchnum = loop_animation[0];
}
else
{
patchnum = loop_animation[bulbtic % 4];
}
}
}
}