diff options
| author | Matthew Hoops | 2010-06-26 18:27:18 +0000 |
|---|---|---|
| committer | Matthew Hoops | 2010-06-26 18:27:18 +0000 |
| commit | c2cb3bb79917c8a2993a3895deadae590107a1ec (patch) | |
| tree | 4d4cf60d8526172bde6653fe0dbb337959087955 /engines/mohawk/graphics.cpp | |
| parent | 58fcda82f33e3ba8f813eeac412612ae09a34c9f (diff) | |
| download | scummvm-rg350-c2cb3bb79917c8a2993a3895deadae590107a1ec.tar.gz scummvm-rg350-c2cb3bb79917c8a2993a3895deadae590107a1ec.tar.bz2 scummvm-rg350-c2cb3bb79917c8a2993a3895deadae590107a1ec.zip | |
Add the page turning sound for the Riven journals and stub off the swipe transition used when turning pages.
svn-id: r50336
Diffstat (limited to 'engines/mohawk/graphics.cpp')
| -rw-r--r-- | engines/mohawk/graphics.cpp | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/engines/mohawk/graphics.cpp b/engines/mohawk/graphics.cpp index 00de6dba11..1974aec9c2 100644 --- a/engines/mohawk/graphics.cpp +++ b/engines/mohawk/graphics.cpp @@ -466,27 +466,22 @@ void RivenGraphics::runScheduledTransition() { // transitions were found by hacking scripts. switch (_scheduledTransition) { + case 0: // Swipe Left + case 1: // Swipe Right + case 2: // Swipe Up + case 3: // Swipe Down case 12: // Pan Left - warning ("STUB: Pan left"); - break; case 13: // Pan Right - warning ("STUB: Pan right"); - break; case 14: // Pan Up - warning ("STUB: Pan up"); - break; case 15: // Pan Down - warning ("STUB: Pan down"); - break; case 16: // Dissolve case 17: // Dissolve (tspit CARD 155) - warning ("STUB: Dissolve"); break; default: - if (_scheduledTransition < 12) - error ("Found unused transition %d", _scheduledTransition); + if (_scheduledTransition >= 4 && _scheduledTransition <= 11) + error("Found unused transition %d", _scheduledTransition); else - error ("Found unknown transition %d", _scheduledTransition); + error("Found unknown transition %d", _scheduledTransition); } // For now, just copy the image to screen without doing any transition. |
