aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorsluicebox2019-11-15 01:38:21 -0800
committerEugene Sandulenko2019-11-19 00:20:40 +0100
commitb8390fa161c0c324af0e52a4f3a740cca9e9a479 (patch)
treee88f1e7cbb2c35c1b1c3319c9481c4edafca734d /common
parent3238e523ee2ac442c7562830a85b347400b7da88 (diff)
downloadscummvm-rg350-b8390fa161c0c324af0e52a4f3a740cca9e9a479.tar.gz
scummvm-rg350-b8390fa161c0c324af0e52a4f3a740cca9e9a479.tar.bz2
scummvm-rg350-b8390fa161c0c324af0e52a4f3a740cca9e9a479.zip
GRAPHICS: Add interface for horizontal shake
Diffstat (limited to 'common')
-rw-r--r--common/system.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/common/system.h b/common/system.h
index 0ea925352e..ca3f269d9c 100644
--- a/common/system.h
+++ b/common/system.h
@@ -922,11 +922,13 @@ public:
* not cause any graphic data to be lost - that is, to restore the original
* view, the game engine only has to call this method again with offset
* equal to zero. No calls to copyRectToScreen are necessary.
- * @param shakeOffset the shake offset
+ * @param shakeXOffset the shake x offset
+ * @param shakeYOffset the shake y offset
*
- * @note This is currently used in the SCUMM, QUEEN and KYRA engines.
+ * @note This is currently used in the SCUMM, QUEEN, KYRA, SCI, DREAMWEB,
+ * SUPERNOVA, TEENAGENT, and TOLTECS engines.
*/
- virtual void setShakePos(int shakeOffset) = 0;
+ virtual void setShakePos(int shakeXOffset, int shakeYOffset) = 0;
/**
* Sets the area of the screen that has the focus. For example, when a character