mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2025-01-10 19:09:45 +01:00
Make elephant not be flashy if screen effects are disabled
The flashy color of the elephant can be hard on people's eyes, especially if they're the type who want screen effects disabled because they might have epilepsy. The elephant takes up a good 3/4ths of the screen, you know. If screen effects are disabled, the elephant will use color 22, which is a neutral gray. I'm only adding this because the VVVVVV speedrun mods (@tzann, @mohoc) invalidate all runs that have the elephant texture removed, even though many people would be looking at a potentially epilepsy-inducing image many times a day grinding 100% speedruns. (Imo, their justification for this is flimsy at best.)
This commit is contained in:
parent
f0ec627628
commit
529c7bae23
1 changed files with 8 additions and 1 deletions
|
@ -1674,7 +1674,14 @@ void Graphics::drawentities()
|
|||
BlitSurfaceColoured((*spritesvec)[obj.entities[i].drawframe+1],NULL, backBuffer, &drawRect, ct);
|
||||
break;
|
||||
case 11: //The fucking elephant
|
||||
setcol(obj.entities[i].colour);
|
||||
if (game.noflashingmode)
|
||||
{
|
||||
setcol(22);
|
||||
}
|
||||
else
|
||||
{
|
||||
setcol(obj.entities[i].colour);
|
||||
}
|
||||
drawimagecol(3, obj.entities[i].xp, obj.entities[i].yp - yoff);
|
||||
break;
|
||||
case 12: // Regular sprites that don't wrap
|
||||
|
|
Loading…
Reference in a new issue