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 authored and Ethan Lee committed 2020-04-27 15:07:58 -04:00
1 parent 857937326e
commit 94edfcf87e
3 files changed
+6 -6

No files matched your search

+4 -4
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();
}
}
+1 -1
View File
@@ -3422,7 +3422,7 @@ void editorrender()
graphics.drawfade();
graphics.renderwithscreeneffects();
graphics.render();
}
void editorlogic()
+1 -1
View File
@@ -95,5 +95,5 @@ void preloaderrender()
graphics.drawfade();
graphics.renderwithscreeneffects();
graphics.render();
}