diff options
-rw-r--r-- | engines/teenagent/scene.cpp | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/engines/teenagent/scene.cpp b/engines/teenagent/scene.cpp index 60b3e7a5d4..8d3ef077b9 100644 --- a/engines/teenagent/scene.cpp +++ b/engines/teenagent/scene.cpp @@ -1119,7 +1119,22 @@ bool Scene::processEventQueue() { break; case SceneEvent::kEffect: - debug(0, "*stub* shaking the screen"); + _system->setShakePos(8); + _system->updateScreen(); + _system->delayMillis(80); //2 vsyncs + _system->updateScreen(); + + _system->setShakePos(0); + _system->updateScreen(); + _system->delayMillis(80); //2 vsyncs + + _system->setShakePos(4); + _system->updateScreen(); + _system->delayMillis(80); //2 vsyncs + + _system->setShakePos(0); + _system->updateScreen(); + current_event.clear(); break; |