From bad7f1ce9a67e71eaaa390ac56ae5a3720c3fb7a Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Wed, 19 Jan 2011 18:57:43 +0000 Subject: GOB: Implement "live" (non-blocking) videos Many thanks to SylvainTV. :) Urban Runner might actually be completeable now. One caveat: Hotspots at that hotel sequence are a bit glitchy... svn-id: r55333 --- engines/gob/util.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engines/gob/util.cpp') diff --git a/engines/gob/util.cpp b/engines/gob/util.cpp index 8e2b3d89cd..c1cf42b1de 100644 --- a/engines/gob/util.cpp +++ b/engines/gob/util.cpp @@ -31,6 +31,7 @@ #include "gob/draw.h" #include "gob/game.h" #include "gob/video.h" +#include "gob/videoplayer.h" #include "gob/sound/sound.h" #include "common/events.h" @@ -94,6 +95,8 @@ void Util::processInput(bool scroll) { int16 x = 0, y = 0; bool hasMove = false; + _vm->_vidPlayer->updateLive(); + while (eventMan->pollEvent(event)) { switch (event.type) { case Common::EVENT_MOUSEMOVE: -- cgit v1.2.3