GRAPHICS: Add interface for horizontal shake

This commit is contained in:
sluicebox 2019-11-15 01:38:21 -08:00 committed by Eugene Sandulenko
parent 3238e523ee
commit b8390fa161
52 changed files with 173 additions and 137 deletions

View file

@ -185,8 +185,8 @@ void ModularBackend::updateScreen() {
#endif
}
void ModularBackend::setShakePos(int shakeOffset) {
_graphicsManager->setShakePos(shakeOffset);
void ModularBackend::setShakePos(int shakeXOffset, int shakeYOffset) {
_graphicsManager->setShakePos(shakeXOffset, shakeYOffset);
}
void ModularBackend::setFocusRectangle(const Common::Rect& rect) {
_graphicsManager->setFocusRectangle(rect);