diff options
Diffstat (limited to 'engines/simon/oracle.cpp')
-rw-r--r-- | engines/simon/oracle.cpp | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/engines/simon/oracle.cpp b/engines/simon/oracle.cpp index 4d3302e5b8..08ddb3ae0f 100644 --- a/engines/simon/oracle.cpp +++ b/engines/simon/oracle.cpp @@ -79,10 +79,8 @@ void SimonEngine::linksDown() { void SimonEngine::scrollOracle() { int i; - for (i = 0; i < 5; i++) { + for (i = 0; i < 5; i++) scrollOracleUp(); - bltOracleText(); - } } void SimonEngine::oracleTextUp() { @@ -112,7 +110,6 @@ void SimonEngine::oracleTextUp() { if(sub) startSubroutineEx(sub); setBitFlag(94, false); - bltOracleText(); } if (_currentBoxNumber != 601 || !getBitFlag(89)) break; @@ -147,7 +144,6 @@ void SimonEngine::oracleTextDown() { if (sub) startSubroutineEx(sub); setBitFlag(93, false); - bltOracleText(); } if (_currentBoxNumber != 600 || !getBitFlag(89)) break; @@ -212,23 +208,6 @@ void SimonEngine::scrollOracleDown() { } } -void SimonEngine::bltOracleText() { - byte *src, *dst1, *dst2; - uint16 h; - - src = getFrontBuf() + 103 * _screenWidth + 136; - dst1 = getFrontBuf() + 103 * _screenWidth + 136; - dst2 = getBackBuf() + 103 * _screenWidth + 136; - - for (h = 0; h < 104; h++) { - memcpy(dst1, src, 360); - memcpy(dst2, src, 360); - dst1 += _screenWidth; - dst2 += _screenWidth; - src += _screenWidth; - } -} - void SimonEngine::oracleLogo() { Common::Rect srcRect, dstRect; byte *src, *dst; |