aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/transitions32.h
diff options
context:
space:
mode:
authorColin Snover2017-07-07 21:02:39 -0500
committerColin Snover2017-07-07 23:42:30 -0500
commitf59269006c0c7ff42cea4fe106eef2a111d06d64 (patch)
tree19312bc4010c17b40bd96a5863255e703c70cfe9 /engines/sci/graphics/transitions32.h
parent9e90624052af7350b07f50714ed0782b8f72a120 (diff)
downloadscummvm-rg350-f59269006c0c7ff42cea4fe106eef2a111d06d64.tar.gz
scummvm-rg350-f59269006c0c7ff42cea4fe106eef2a111d06d64.tar.bz2
scummvm-rg350-f59269006c0c7ff42cea4fe106eef2a111d06d64.zip
SCI32: Implement kShowStyle HShutterOut transition
This transition style was used when exiting the asteroids minigame in PQ4, though it appears likely that this was an error in the original game script since it does not actually do anything in the context that it is used (neither here nor in the original interpreter). Still, this code is already written, and it fixes the crash, so in it goes. Fixes Trac#9856.
Diffstat (limited to 'engines/sci/graphics/transitions32.h')
-rw-r--r--engines/sci/graphics/transitions32.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/sci/graphics/transitions32.h b/engines/sci/graphics/transitions32.h
index 685012fada..c4c52283d1 100644
--- a/engines/sci/graphics/transitions32.h
+++ b/engines/sci/graphics/transitions32.h
@@ -337,6 +337,12 @@ private:
void configure21EarlyHorizontalWipe(PlaneShowStyle &showStyle, const int16 priority);
/**
+ * Initializes the given PlaneShowStyle for a
+ * horizontal shutter effect for SCI2 to 2.1early.
+ */
+ void configure21EarlyHorizontalShutter(PlaneShowStyle &showStyle, const int16 priority);
+
+ /**
* Initializes the given PlaneShowStyle for an
* iris effect for SCI2 to 2.1early.
*/
@@ -364,7 +370,7 @@ private:
* Performs a transition that renders into a room
* with a horizontal shutter effect.
*/
- void processHShutterOut(PlaneShowStyle &showStyle);
+ bool processHShutterOut(PlaneShowStyle &showStyle);
/**
* Performs a transition that renders to black