diff options
author | Robert Göffringmann | 2003-06-02 00:01:34 +0000 |
---|---|---|
committer | Robert Göffringmann | 2003-06-02 00:01:34 +0000 |
commit | e95a72f7c42cbf53ff6e40813cab3d90b8e7e99a (patch) | |
tree | a5f60f65070b1b42f33598f99f5304541a00fc97 | |
parent | f8ead8a776cbb7326092820e21442d87feedb648 (diff) | |
download | scummvm-rg350-e95a72f7c42cbf53ff6e40813cab3d90b8e7e99a.tar.gz scummvm-rg350-e95a72f7c42cbf53ff6e40813cab3d90b8e7e99a.tar.bz2 scummvm-rg350-e95a72f7c42cbf53ff6e40813cab3d90b8e7e99a.zip |
fix intro timing + text
svn-id: r8256
-rw-r--r-- | sky/intro.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sky/intro.cpp b/sky/intro.cpp index 77ff99db2e..a71ab84a82 100644 --- a/sky/intro.cpp +++ b/sky/intro.cpp @@ -193,9 +193,9 @@ void SkyState::initVirgin() { void SkyState::escDelay(uint32 pDelay) { - pDelay /= 50; + pDelay /= 500; while (pDelay) { - delay(50); + delay(500); if (_key_pressed == 27) pDelay = 0; else pDelay--; } @@ -463,7 +463,8 @@ void SkyState::showIntroText(uint32 *&cmdPtr) { } cmdPtr += 4; - + _system->copy_rect(_workScreen + startPos, GAME_SCREEN_WIDTH, xPos, yPos, width, height); + _system->update_screen(); } void SkyState::removeText(uint32 *&cmdPtr) { @@ -482,6 +483,8 @@ void SkyState::removeText(uint32 *&cmdPtr) { } cmdPtr += 2; + _system->copy_rect(_workScreen + startPos, GAME_SCREEN_WIDTH, startPos % GAME_SCREEN_WIDTH, startPos / GAME_SCREEN_WIDTH, width, height); + _system->update_screen(); } #undef _workScreen |