Interpolate cutscene bars position

Cutscene bars will now smoothly fade in and out at above 30 FPS instead
of at 30 FPS only.
This commit is contained in:
Misa
2020-04-28 17:16:24 -07:00
committed by Ethan Lee
parent 6655ae418c
commit 2510d3a6ba
5 changed files with 13 additions and 4 deletions

View File

@@ -2593,6 +2593,7 @@ void scriptclass::startgamemode( int t )
game.jumpheld = true;
graphics.showcutscenebars = true;
graphics.cutscenebarspos = 320;
graphics.oldcutscenebarspos = 320;
//set flipmode
if (graphics.setflipmode) graphics.flipmode = true;
@@ -2849,6 +2850,7 @@ void scriptclass::startgamemode( int t )
game.jumpheld = true;
graphics.showcutscenebars = true;
graphics.cutscenebarspos = 320;
graphics.oldcutscenebarspos = 320;
//set flipmode
if (graphics.setflipmode) graphics.flipmode = true;
@@ -2876,6 +2878,7 @@ void scriptclass::startgamemode( int t )
game.jumpheld = true;
graphics.showcutscenebars = true;
graphics.cutscenebarspos = 320;
graphics.oldcutscenebarspos = 320;
//set flipmode
if (graphics.setflipmode) graphics.flipmode = true;