aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/gfx.cpp15
-rw-r--r--scumm/scumm.h1
2 files changed, 2 insertions, 14 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp
index 8bb4bda913..bf151e7fd3 100644
--- a/scumm/gfx.cpp
+++ b/scumm/gfx.cpp
@@ -2862,7 +2862,7 @@ void ScummEngine::fadeIn(int effect) {
dissolveEffect(1, 1);
break;
case 135:
- unkScreenEffect5(1);
+ dissolveEffect(1, virtscr[0].h);
break;
default:
warning("Unknown screen effect, %d", effect);
@@ -2914,7 +2914,7 @@ void ScummEngine::fadeOut(int effect) {
dissolveEffect(1, 1);
break;
case 135:
- unkScreenEffect5(1);
+ dissolveEffect(1, virtscr[0].h);
break;
default:
warning("fadeOut: default case %d", effect);
@@ -3225,17 +3225,6 @@ void ScummEngine::unkScreenEffect6() {
dissolveEffect(8, 4);
}
-void ScummEngine::unkScreenEffect5(int a) {
- // unkScreenEffect5(0), which is used by FOA during the opening
- // cutscene when Indy opens the small statue, has been replaced by
- // dissolveEffect(1, 1).
- //
- // I still don't know what unkScreenEffect5(1) is supposed to do.
-
- // FIXME: not implemented
- warning("stub unkScreenEffect(%d)", a);
-}
-
} // End of namespace Scumm
#ifdef __PALM_OS__
diff --git a/scumm/scumm.h b/scumm/scumm.h
index e36ea4b51e..05f49d1c66 100644
--- a/scumm/scumm.h
+++ b/scumm/scumm.h
@@ -1024,7 +1024,6 @@ protected:
void fadeIn(int effect);
void fadeOut(int effect);
- void unkScreenEffect5(int a);
void unkScreenEffect6();
void transitionEffect(int a);
void dissolveEffect(int width, int height);