aboutsummaryrefslogtreecommitdiff
path: root/engines/tucker/sequences.cpp
diff options
context:
space:
mode:
authorGregory Montoir2009-01-18 04:00:11 +0000
committerGregory Montoir2009-01-18 04:00:11 +0000
commit1511099a7b3f5d9e31135e901b6c03b75f620f18 (patch)
treedd7a5f44deed182faffecfe5c20c1d22969bf80c /engines/tucker/sequences.cpp
parent8ea8966c02d6d62bac7af6e3b48e6acc7857353d (diff)
downloadscummvm-rg350-1511099a7b3f5d9e31135e901b6c03b75f620f18.tar.gz
scummvm-rg350-1511099a7b3f5d9e31135e901b6c03b75f620f18.tar.bz2
scummvm-rg350-1511099a7b3f5d9e31135e901b6c03b75f620f18.zip
merged Graphics::copyTo640/Graphics::copyFrom640
svn-id: r35892
Diffstat (limited to 'engines/tucker/sequences.cpp')
-rw-r--r--engines/tucker/sequences.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/engines/tucker/sequences.cpp b/engines/tucker/sequences.cpp
index e946d586fb..bb064cff9f 100644
--- a/engines/tucker/sequences.cpp
+++ b/engines/tucker/sequences.cpp
@@ -81,9 +81,9 @@ void TuckerEngine::handleCreditsSequence() {
imgNum = 0;
}
if (num < 6) {
- Graphics::copyTo640(_locationBackgroundGfxBuf, _quadBackgroundGfxBuf, 320, 320, 200);
+ Graphics::copyRect(_locationBackgroundGfxBuf, 640, _quadBackgroundGfxBuf, 320, 320, 200);
} else {
- Graphics::copyTo640(_locationBackgroundGfxBuf, imgBuf + imgNum * 64000, 320, 320, 200);
+ Graphics::copyRect(_locationBackgroundGfxBuf, 640, imgBuf + imgNum * 64000, 320, 320, 200);
drawCreditsString(5, 48, counter2 * 6);
drawCreditsString(5, 60, counter2 * 6 + 1);
drawCreditsString(5, 80, counter2 * 6 + 2);
@@ -173,7 +173,7 @@ void TuckerEngine::handleCongratulationsSequence() {
_fadePaletteCounter = 0;
stopSounds();
loadImage("congrat.pcx", _loadTempBuf, 1);
- Graphics::copyTo640(_locationBackgroundGfxBuf, _loadTempBuf, 320, 320, 200);
+ Graphics::copyRect(_locationBackgroundGfxBuf, 640, _loadTempBuf, 320, 320, 200);
_fullRedrawCounter = 2;
redrawScreen(0);
while (!_quitGame && _timerCounter2 < 450) {
@@ -243,7 +243,7 @@ void TuckerEngine::handleNewPartSequence() {
fadeOutPalette();
++_fadePaletteCounter;
}
- Graphics::copyTo640(_locationBackgroundGfxBuf, _quadBackgroundGfxBuf, 320, 320, 200);
+ Graphics::copyRect(_locationBackgroundGfxBuf, 640, _quadBackgroundGfxBuf, 320, 320, 200);
_fullRedrawCounter = 2;
updateSprites();
drawSprite(0);
@@ -260,7 +260,7 @@ void TuckerEngine::handleNewPartSequence() {
fadeInPalette();
--_fadePaletteCounter;
}
- Graphics::copyTo640(_locationBackgroundGfxBuf, _quadBackgroundGfxBuf, 320, 320, 200);
+ Graphics::copyRect(_locationBackgroundGfxBuf, 640, _quadBackgroundGfxBuf, 320, 320, 200);
_fullRedrawCounter = 2;
updateSprites();
drawSprite(0);
@@ -295,7 +295,7 @@ void TuckerEngine::handleMeanwhileSequence() {
fadeOutPalette();
++_fadePaletteCounter;
}
- Graphics::copyTo640(_locationBackgroundGfxBuf, _quadBackgroundGfxBuf + 89600, 320, 320, 200);
+ Graphics::copyRect(_locationBackgroundGfxBuf, 640, _quadBackgroundGfxBuf + 89600, 320, 320, 200);
_fullRedrawCounter = 2;
redrawScreen(0);
waitForTimer(3);
@@ -306,7 +306,7 @@ void TuckerEngine::handleMeanwhileSequence() {
fadeInPalette();
--_fadePaletteCounter;
}
- Graphics::copyTo640(_locationBackgroundGfxBuf, _quadBackgroundGfxBuf + 89600, 320, 320, 200);
+ Graphics::copyRect(_locationBackgroundGfxBuf, 640, _quadBackgroundGfxBuf + 89600, 320, 320, 200);
_fullRedrawCounter = 2;
redrawScreen(0);
waitForTimer(3);
@@ -338,7 +338,7 @@ void TuckerEngine::handleMapSequence() {
while (!_quitGame) {
waitForTimer(2);
updateMouseState();
- Graphics::copyTo640(_locationBackgroundGfxBuf + _scrollOffset, _quadBackgroundGfxBuf + 89600, 320, 320, 200);
+ Graphics::copyRect(_locationBackgroundGfxBuf + _scrollOffset, 640, _quadBackgroundGfxBuf + 89600, 320, 320, 200);
_fullRedrawCounter = 2;
if (_flagsTable[7] > 0 && _mousePosX > 30 && _mousePosX < 86 && _mousePosY > 36 && _mousePosY < 86) {
textNum = 13;
@@ -460,7 +460,7 @@ int TuckerEngine::handleSpecialObjectSelectionSequence() {
while (!_quitGame) {
waitForTimer(2);
updateMouseState();
- Graphics::copyTo640(_locationBackgroundGfxBuf + _scrollOffset, _quadBackgroundGfxBuf, 320, 320, 200);
+ Graphics::copyRect(_locationBackgroundGfxBuf + _scrollOffset, 640, _quadBackgroundGfxBuf, 320, 320, 200);
_fullRedrawCounter = 2;
if (_fadePaletteCounter < 14) {
fadeOutPalette();