aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/util.cpp
diff options
context:
space:
mode:
authorSven Hesse2011-01-19 18:57:43 +0000
committerSven Hesse2011-01-19 18:57:43 +0000
commitbad7f1ce9a67e71eaaa390ac56ae5a3720c3fb7a (patch)
tree49de1da704aa8cfc8f65f4e551e7b7ec66e44b33 /engines/gob/util.cpp
parent878bedf454a8440b3d3c8887bc021a698dbb5605 (diff)
downloadscummvm-rg350-bad7f1ce9a67e71eaaa390ac56ae5a3720c3fb7a.tar.gz
scummvm-rg350-bad7f1ce9a67e71eaaa390ac56ae5a3720c3fb7a.tar.bz2
scummvm-rg350-bad7f1ce9a67e71eaaa390ac56ae5a3720c3fb7a.zip
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
Diffstat (limited to 'engines/gob/util.cpp')
-rw-r--r--engines/gob/util.cpp3
1 files changed, 3 insertions, 0 deletions
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: