From b8390fa161c0c324af0e52a4f3a740cca9e9a479 Mon Sep 17 00:00:00 2001 From: sluicebox Date: Fri, 15 Nov 2019 01:38:21 -0800 Subject: GRAPHICS: Add interface for horizontal shake --- common/system.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'common/system.h') 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 -- cgit v1.2.3