1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-22 17:49:43 +01:00

Only render screen effects on the title screen and in-game

In-game because that's where screen effects are used the most. But on
the title screen, screen effects are used when you press ACTION to start
the game, and when you enable screen effects, too.

Otherwise, we don't need screen effects for any other game-gamestate.
This commit is contained in:
Misa 2020-04-26 19:29:40 -07:00 committed by Ethan Lee
parent 857937326e
commit 94edfcf87e
3 changed files with 6 additions and 6 deletions

View file

@ -1275,7 +1275,7 @@ void gamecompleterender()
graphics.drawfade();
graphics.renderwithscreeneffects();
graphics.render();
}
void gamecompleterender2()
@ -1305,7 +1305,7 @@ void gamecompleterender2()
graphics.drawfade();
graphics.renderwithscreeneffects();
graphics.render();
}
void gamerender()
@ -2495,7 +2495,7 @@ void maprender()
}
else
{
graphics.renderwithscreeneffects();
graphics.render();
}
}
@ -2658,6 +2658,6 @@ void teleporterrender()
}
else
{
graphics.renderwithscreeneffects();
graphics.render();
}
}

View file

@ -3422,7 +3422,7 @@ void editorrender()
graphics.drawfade();
graphics.renderwithscreeneffects();
graphics.render();
}
void editorlogic()

View file

@ -95,5 +95,5 @@ void preloaderrender()
graphics.drawfade();
graphics.renderwithscreeneffects();
graphics.render();
}