mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-01 08:23:15 +00:00
Based (again) on indy4demo FMTowns, unkScreenEffect5(1) seems equivalent to dissolveEffect(1, virtscr[0].h)
svn-id: r18363
This commit is contained in:
parent
2c31f4208e
commit
7503ff15fd
@ -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__
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user