aboutsummaryrefslogtreecommitdiff
path: root/engines/mads
diff options
context:
space:
mode:
authorFilippos Karapetis2014-06-29 05:22:46 +0300
committerFilippos Karapetis2014-06-29 05:22:46 +0300
commit0113e79e23cb4c8d2507546390f18460f2c7083c (patch)
tree12a0040d23ec240a78357827463b4c0f3fc074a8 /engines/mads
parent4ebf52d3b34a1a65afd55a18be28d31d77d4c308 (diff)
downloadscummvm-rg350-0113e79e23cb4c8d2507546390f18460f2c7083c.tar.gz
scummvm-rg350-0113e79e23cb4c8d2507546390f18460f2c7083c.tar.bz2
scummvm-rg350-0113e79e23cb4c8d2507546390f18460f2c7083c.zip
MADS: Don't error out on unsupported scene transitions
This prevents the game from erroring out when screen fade is toggled
Diffstat (limited to 'engines/mads')
-rw-r--r--engines/mads/screen.cpp15
1 files changed, 11 insertions, 4 deletions
diff --git a/engines/mads/screen.cpp b/engines/mads/screen.cpp
index 284268648a..ab5dff56ff 100644
--- a/engines/mads/screen.cpp
+++ b/engines/mads/screen.cpp
@@ -630,21 +630,28 @@ void ScreenSurface::transition(ScreenTransition transitionType, bool surfaceFlag
case kTransitionBoxInBottomRight:
case kTransitionBoxInTopLeft:
case kTransitionBoxInTopRight:
- error("TODO: transition");
+ warning("TODO: box transition");
+ transition(kTransitionFadeIn, surfaceFlag);
break;
case kTransitionPanLeftToRight:
case kTransitionPanRightToLeft:
- error("TODO: transition");
+ warning("TODO: pan transition");
+ transition(kTransitionFadeIn, surfaceFlag);
+ break;
case kTransitionCircleIn1:
case kTransitionCircleIn2:
case kTransitionCircleIn3:
case kTransitionCircleIn4:
- error("TODO circle transition");
+ warning("TODO circle transition");
+ transition(kTransitionFadeIn, surfaceFlag);
+ break;
case kCenterVertTransition:
- error("TODO: center vert transition");
+ warning("TODO: center vert transition");
+ transition(kTransitionFadeIn, surfaceFlag);
+ break;
default:
// Quick transitions