diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/director/frame.cpp | 16 | ||||
-rw-r--r-- | engines/director/graphics.cpp | 2 | ||||
-rw-r--r-- | engines/director/movie.cpp | 2 | ||||
-rw-r--r-- | engines/director/score.cpp | 2 |
4 files changed, 11 insertions, 11 deletions
diff --git a/engines/director/frame.cpp b/engines/director/frame.cpp index bf805dca19..a68fca4482 100644 --- a/engines/director/frame.cpp +++ b/engines/director/frame.cpp @@ -450,7 +450,7 @@ void Frame::playTransition(Score *score) { g_system->delayMillis(stepDuration); processQuitEvent(); - g_system->copyRectToScreen(score->_surface->getPixels(), score->_surface->pitch, 0, 0, r.width(), r.height()); + g_system->copyRectToScreen(score->_surface->getPixels(), score->_surface->pitch, 0, 0, r.width(), r.height()); // transition g_system->updateScreen(); } } @@ -466,7 +466,7 @@ void Frame::playTransition(Score *score) { g_system->delayMillis(stepDuration); processQuitEvent(); - g_system->copyRectToScreen(score->_surface->getPixels(), score->_surface->pitch, 0, score->_movieRect.height() - stepSize * i, r.width(), r.height()); + g_system->copyRectToScreen(score->_surface->getPixels(), score->_surface->pitch, 0, score->_movieRect.height() - stepSize * i, r.width(), r.height()); // transition g_system->updateScreen(); } } @@ -481,7 +481,7 @@ void Frame::playTransition(Score *score) { g_system->delayMillis(stepDuration); processQuitEvent(); - g_system->copyRectToScreen(score->_surface->getPixels(), score->_surface->pitch, 0, 0, r.width(), r.height()); + g_system->copyRectToScreen(score->_surface->getPixels(), score->_surface->pitch, 0, 0, r.width(), r.height()); // transition g_system->updateScreen(); } } @@ -496,7 +496,7 @@ void Frame::playTransition(Score *score) { g_system->delayMillis(stepDuration); processQuitEvent(); - g_system->copyRectToScreen(score->_surface->getPixels(), score->_surface->pitch, score->_movieRect.width() - stepSize * i, 0, r.width(), r.height()); + g_system->copyRectToScreen(score->_surface->getPixels(), score->_surface->pitch, score->_movieRect.width() - stepSize * i, 0, r.width(), r.height()); // transition g_system->updateScreen(); } } @@ -512,7 +512,7 @@ void Frame::playTransition(Score *score) { g_system->delayMillis(stepDuration); 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->copyRectToScreen(score->_surface->getPixels(), score->_surface->pitch, score->_movieRect.width() - stepSize * i, score->_movieRect.height() - stepSize * i, r.width(), r.height()); // transition g_system->updateScreen(); } } @@ -528,7 +528,7 @@ void Frame::playTransition(Score *score) { g_system->delayMillis(stepDuration); processQuitEvent(); - g_system->copyRectToScreen(score->_surface->getPixels(), score->_surface->pitch, 0, score->_movieRect.height() - stepSize * i, r.width(), r.height()); + g_system->copyRectToScreen(score->_surface->getPixels(), score->_surface->pitch, 0, score->_movieRect.height() - stepSize * i, r.width(), r.height()); // transition g_system->updateScreen(); } } @@ -544,7 +544,7 @@ void Frame::playTransition(Score *score) { g_system->delayMillis(stepDuration); processQuitEvent(); - g_system->copyRectToScreen(score->_surface->getPixels(), score->_surface->pitch, score->_movieRect.width() - stepSize * i, 0, r.width(), r.height()); + g_system->copyRectToScreen(score->_surface->getPixels(), score->_surface->pitch, score->_movieRect.width() - stepSize * i, 0, r.width(), r.height()); // transition g_system->updateScreen(); } } @@ -560,7 +560,7 @@ void Frame::playTransition(Score *score) { g_system->delayMillis(stepDuration); processQuitEvent(); - g_system->copyRectToScreen(score->_surface->getPixels(), score->_surface->pitch, 0, 0, r.width(), r.height()); + g_system->copyRectToScreen(score->_surface->getPixels(), score->_surface->pitch, 0, 0, r.width(), r.height()); // transition g_system->updateScreen(); } } diff --git a/engines/director/graphics.cpp b/engines/director/graphics.cpp index 3e473131eb..9745d9fe29 100644 --- a/engines/director/graphics.cpp +++ b/engines/director/graphics.cpp @@ -267,7 +267,7 @@ void DirectorEngine::testFontScaling() { x += width + 1; } - g_system->copyRectToScreen(surface.getPixels(), surface.pitch, 0, 0, w, h); + g_system->copyRectToScreen(surface.getPixels(), surface.pitch, 0, 0, w, h); // testing fonts Common::Event event; diff --git a/engines/director/movie.cpp b/engines/director/movie.cpp index 561ab06145..9b1679f289 100644 --- a/engines/director/movie.cpp +++ b/engines/director/movie.cpp @@ -48,7 +48,7 @@ void Movie::play(Common::Point dest) { while (!_currentVideo->endOfVideo()) { if (_currentVideo->needsUpdate()) { const Graphics::Surface *frame = _currentVideo->decodeNextFrame(); - g_system->copyRectToScreen(frame->getPixels(), frame->pitch, dest.x, dest.y, width, height); + g_system->copyRectToScreen(frame->getPixels(), frame->pitch, dest.x, dest.y, width, height); // video playback g_system->updateScreen(); } g_system->delayMillis(10); diff --git a/engines/director/score.cpp b/engines/director/score.cpp index ae2b19d398..54a78cc6a3 100644 --- a/engines/director/score.cpp +++ b/engines/director/score.cpp @@ -1444,7 +1444,7 @@ void Score::renderZoomBox(bool redraw) { box->nextTime = box->startTime + 1000 * box->step * box->delay / 60; if (redraw) { - g_system->copyRectToScreen(_surface->getPixels(), _surface->pitch, 0, 0, _surface->getBounds().width(), _surface->getBounds().height()); + g_system->copyRectToScreen(_surface->getPixels(), _surface->pitch, 0, 0, _surface->getBounds().width(), _surface->getBounds().height()); // zoomBox } } |