diff options
author | Paweł Kołodziejski | 2002-08-31 21:23:28 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2002-08-31 21:23:28 +0000 |
commit | 93b630dcfe687a874f0933d5bcbbf94daa426696 (patch) | |
tree | 8b898a035bc4529ed2980bae26f8121c27aade60 | |
parent | 0559f7a6aacacede9fe5b45b1f8e064613d35db3 (diff) | |
download | scummvm-rg350-93b630dcfe687a874f0933d5bcbbf94daa426696.tar.gz scummvm-rg350-93b630dcfe687a874f0933d5bcbbf94daa426696.tar.bz2 scummvm-rg350-93b630dcfe687a874f0933d5bcbbf94daa426696.zip |
commited patch: #601899
svn-id: r4890
-rw-r--r-- | scumm/gfx.cpp | 11 | ||||
-rw-r--r-- | scumm/scumm.h | 1 |
2 files changed, 10 insertions, 2 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp index e08f208e89..e684e2d937 100644 --- a/scumm/gfx.cpp +++ b/scumm/gfx.cpp @@ -678,7 +678,7 @@ void Scumm::fadeIn(int effect) transitionEffect(effect - 1); break; case 128: - dissolveEffect(8, 8); + unkScreenEffect6(); break; case 130: unkScreenEffect1(); @@ -735,7 +735,7 @@ void Scumm::fadeOut(int a) transitionEffect(a - 1); break; case 128: - dissolveEffect(8, 8); + unkScreenEffect6(); break; case 129: // Just blit screen 0 to the display (i.e. display will be black) @@ -2092,6 +2092,13 @@ void Scumm::dissolveEffect(int width, int height) { } } +void Scumm::unkScreenEffect6() { + if (_gameId == GID_LOOM256) + dissolveEffect(1, 1); + else + dissolveEffect(8, 4); +} + void Scumm::unkScreenEffect5(int a) { // unkScreenEffect5(0), which is used by FOA during the opening // cutscene when Indy opens the small statue, has been replaced by diff --git a/scumm/scumm.h b/scumm/scumm.h index e268a2b491..bcd3b6588d 100644 --- a/scumm/scumm.h +++ b/scumm/scumm.h @@ -835,6 +835,7 @@ public: void unkScreenEffect3(); void unkScreenEffect4(); void unkScreenEffect5(int a); + void unkScreenEffect6(); void transitionEffect(int a); void dissolveEffect(int width, int height); void scrollEffect(int dir); |