aboutsummaryrefslogtreecommitdiff
path: root/engines/director/frame.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/director/frame.cpp')
-rw-r--r--engines/director/frame.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/director/frame.cpp b/engines/director/frame.cpp
index 50627d6d16..7690a47893 100644
--- a/engines/director/frame.cpp
+++ b/engines/director/frame.cpp
@@ -415,7 +415,7 @@ void Frame::playTransition(Score *score) {
r.setHeight(stepSize * i);
g_system->delayMillis(stepDuration);
- score->processEvents();
+ processQuitEvent();
g_system->copyRectToScreen(score->_surface->getPixels(), score->_surface->pitch, 0, 0, r.width(), r.height());
g_system->updateScreen();
@@ -431,7 +431,7 @@ void Frame::playTransition(Score *score) {
r.setHeight(stepSize * i);
g_system->delayMillis(stepDuration);
- score->processEvents();
+ processQuitEvent();
g_system->copyRectToScreen(score->_surface->getPixels(), score->_surface->pitch, 0, score->_movieRect.height() - stepSize * i, r.width(), r.height());
g_system->updateScreen();
@@ -446,7 +446,7 @@ void Frame::playTransition(Score *score) {
r.setWidth(stepSize * i);
g_system->delayMillis(stepDuration);
- score->processEvents();
+ processQuitEvent();
g_system->copyRectToScreen(score->_surface->getPixels(), score->_surface->pitch, 0, 0, r.width(), r.height());
g_system->updateScreen();
@@ -461,7 +461,7 @@ void Frame::playTransition(Score *score) {
r.setWidth(stepSize * i);
g_system->delayMillis(stepDuration);
- score->processEvents();
+ processQuitEvent();
g_system->copyRectToScreen(score->_surface->getPixels(), score->_surface->pitch, score->_movieRect.width() - stepSize * i, 0, r.width(), r.height());
g_system->updateScreen();
@@ -477,7 +477,7 @@ void Frame::playTransition(Score *score) {
r.setHeight(stepSize * i);
g_system->delayMillis(stepDuration);
- score->processEvents();
+ processQuitEvent();
g_system->copyRectToScreen(score->_surface->getPixels(), score->_surface->pitch, score->_movieRect.width() - stepSize * i, score->_movieRect.height() - stepSize * i, r.width(), r.height());
g_system->updateScreen();
@@ -493,7 +493,7 @@ void Frame::playTransition(Score *score) {
r.setHeight(stepSize * i);
g_system->delayMillis(stepDuration);
- score->processEvents();
+ processQuitEvent();
g_system->copyRectToScreen(score->_surface->getPixels(), score->_surface->pitch, 0, score->_movieRect.height() - stepSize * i, r.width(), r.height());
g_system->updateScreen();
@@ -509,7 +509,7 @@ void Frame::playTransition(Score *score) {
r.setHeight(stepSize * i);
g_system->delayMillis(stepDuration);
- score->processEvents();
+ processQuitEvent();
g_system->copyRectToScreen(score->_surface->getPixels(), score->_surface->pitch, score->_movieRect.width() - stepSize * i, 0, r.width(), r.height());
g_system->updateScreen();
@@ -525,7 +525,7 @@ void Frame::playTransition(Score *score) {
r.setHeight(stepSize * i);
g_system->delayMillis(stepDuration);
- score->processEvents();
+ processQuitEvent();
g_system->copyRectToScreen(score->_surface->getPixels(), score->_surface->pitch, 0, 0, r.width(), r.height());
g_system->updateScreen();