diff options
-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); |