aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/myst_stacks
diff options
context:
space:
mode:
authorBastien Bouclet2018-07-02 21:04:19 +0200
committerBastien Bouclet2018-07-02 21:48:19 +0200
commit9aeb4a356e886cb7a34adfebb3be46d445fcfc54 (patch)
tree45a11d9633ec3c4df62633f0ebc7c21cbaa0053b /engines/mohawk/myst_stacks
parent7df014ea6d63c8ebb831fda2aa69401c4544eebc (diff)
downloadscummvm-rg350-9aeb4a356e886cb7a34adfebb3be46d445fcfc54.tar.gz
scummvm-rg350-9aeb4a356e886cb7a34adfebb3be46d445fcfc54.tar.bz2
scummvm-rg350-9aeb4a356e886cb7a34adfebb3be46d445fcfc54.zip
MOHAWK: MYST: Always clear the screen before playing fullscreen movies
Fixes the broderbund logo movie being partially visible when the Cyan logo is playing. Fixes Trac#10595.
Diffstat (limited to 'engines/mohawk/myst_stacks')
-rw-r--r--engines/mohawk/myst_stacks/intro.cpp9
-rw-r--r--engines/mohawk/myst_stacks/menu.cpp6
2 files changed, 5 insertions, 10 deletions
diff --git a/engines/mohawk/myst_stacks/intro.cpp b/engines/mohawk/myst_stacks/intro.cpp
index 57937c1bcc..15c7195fe1 100644
--- a/engines/mohawk/myst_stacks/intro.cpp
+++ b/engines/mohawk/myst_stacks/intro.cpp
@@ -99,8 +99,7 @@ void Intro::introMovies_run() {
switch (_introStep) {
case 0:
_introStep = 1;
- video = _vm->playMovie("broder", kIntroStack);
- video->center();
+ video = _vm->playMovieFullscreen("broder", kIntroStack);
break;
case 1:
if (!_vm->_video->isVideoPlaying())
@@ -108,8 +107,7 @@ void Intro::introMovies_run() {
break;
case 2:
_introStep = 3;
- video = _vm->playMovie("cyanlogo", kIntroStack);
- video->center();
+ video = _vm->playMovieFullscreen("cyanlogo", kIntroStack);
break;
case 3:
if (!_vm->_video->isVideoPlaying())
@@ -119,8 +117,7 @@ void Intro::introMovies_run() {
_introStep = 5;
if (!(_vm->getFeatures() & GF_DEMO)) { // The demo doesn't have the intro video
- video = _vm->playMovie("intro", kIntroStack);
- video->center();
+ video = _vm->playMovieFullscreen("intro", kIntroStack);
}
break;
case 5:
diff --git a/engines/mohawk/myst_stacks/menu.cpp b/engines/mohawk/myst_stacks/menu.cpp
index ebcfb15a65..e3e9feaa26 100644
--- a/engines/mohawk/myst_stacks/menu.cpp
+++ b/engines/mohawk/myst_stacks/menu.cpp
@@ -319,8 +319,7 @@ void Menu::introMovies_run() {
switch (_introStep) {
case 0:
_introStep = 1;
- video = _vm->playMovie("broder", kIntroStack);
- video->center();
+ video = _vm->playMovieFullscreen("broder", kIntroStack);
break;
case 1:
if (!_vm->_video->isVideoPlaying())
@@ -328,8 +327,7 @@ void Menu::introMovies_run() {
break;
case 2:
_introStep = 3;
- video = _vm->playMovie("cyanlogo", kIntroStack);
- video->center();
+ video = _vm->playMovieFullscreen("cyanlogo", kIntroStack);
break;
case 3:
if (!_vm->_video->isVideoPlaying())