aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Montoir2005-06-07 20:45:29 +0000
committerGregory Montoir2005-06-07 20:45:29 +0000
commit7503ff15fd9ba7cbf48a458fc56fc3a2369ecfa4 (patch)
tree18ef8c66eb052d0dc7e570b21c160634664b8f22
parent2c31f4208ed82e7c82b4081b3b46241a077dc093 (diff)
downloadscummvm-rg350-7503ff15fd9ba7cbf48a458fc56fc3a2369ecfa4.tar.gz
scummvm-rg350-7503ff15fd9ba7cbf48a458fc56fc3a2369ecfa4.tar.bz2
scummvm-rg350-7503ff15fd9ba7cbf48a458fc56fc3a2369ecfa4.zip
Based (again) on indy4demo FMTowns, unkScreenEffect5(1) seems equivalent to dissolveEffect(1, virtscr[0].h)
svn-id: r18363
-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);