aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorPaweł Kołodziejski2002-08-31 21:23:28 +0000
committerPaweł Kołodziejski2002-08-31 21:23:28 +0000
commit93b630dcfe687a874f0933d5bcbbf94daa426696 (patch)
tree8b898a035bc4529ed2980bae26f8121c27aade60 /scumm
parent0559f7a6aacacede9fe5b45b1f8e064613d35db3 (diff)
downloadscummvm-rg350-93b630dcfe687a874f0933d5bcbbf94daa426696.tar.gz
scummvm-rg350-93b630dcfe687a874f0933d5bcbbf94daa426696.tar.bz2
scummvm-rg350-93b630dcfe687a874f0933d5bcbbf94daa426696.zip
commited patch: #601899
svn-id: r4890
Diffstat (limited to 'scumm')
-rw-r--r--scumm/gfx.cpp11
-rw-r--r--scumm/scumm.h1
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);