mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-24 00:42:32 +00:00
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:
parent
c44790749d
commit
583b7937a3
1 changed files with 19 additions and 2 deletions
|
|
@ -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];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue