mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 17:49:43 +01:00
Disable final color animations if screen effects off
Similar to disabling the elephant flashiness, at least one photosensitive person has told me the flashy color animation makes their eyes kind of hurt a little bit. Also it screws up the compression really badly when they record (especially the green noisy tiles!). The colors will still cycle, but the individual animations within each color will be completely static.
This commit is contained in:
parent
1841f1886a
commit
b114be88d5
1 changed files with 20 additions and 2 deletions
|
@ -475,11 +475,29 @@ int mapclass::finalat(int x, int y)
|
|||
//Special case: animated tiles
|
||||
if (final_mapcol == 1)
|
||||
{
|
||||
return 737 + (int(fRandom() * 11) * 40);
|
||||
int offset;
|
||||
if (game.noflashingmode)
|
||||
{
|
||||
offset = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
offset = int(fRandom() * 11) * 40;
|
||||
}
|
||||
return 737 + offset;
|
||||
}
|
||||
else
|
||||
{
|
||||
return contents[x + vmult[y]] - (final_mapcol * 3) + (final_aniframe * 40);
|
||||
int offset;
|
||||
if (game.noflashingmode)
|
||||
{
|
||||
offset = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
offset = final_aniframe * 40;
|
||||
}
|
||||
return contents[x + vmult[y]] - (final_mapcol * 3) + offset;
|
||||
}
|
||||
}
|
||||
else if (contents[x + vmult[y]] >= 80)
|
||||
|
|
Loading…
Reference in a new issue