From c3f6c576806cfba9c46ddf0eedaf6cd9cef4cc06 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Wed, 1 Nov 2006 23:39:55 +0000 Subject: Enable Bink video playback in HE100 games svn-id: r24584 --- engines/scumm/he/script_v100he.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'engines/scumm/he') diff --git a/engines/scumm/he/script_v100he.cpp b/engines/scumm/he/script_v100he.cpp index 0001d539fd..0a693c69bb 100644 --- a/engines/scumm/he/script_v100he.cpp +++ b/engines/scumm/he/script_v100he.cpp @@ -27,6 +27,7 @@ #include "scumm/actor.h" #include "scumm/charset.h" +#include "scumm/he/animation_he.h" #include "scumm/he/intern_he.h" #include "scumm/object.h" #include "scumm/resource.h" @@ -2248,13 +2249,11 @@ void ScummEngine_v100he::o100_videoOps() { if (_videoParams.flags == 0) _videoParams.flags = 4; - //const char *filename = (char *)_videoParams.filename + convertFilePath(_videoParams.filename); + const char *filename = (char *)_videoParams.filename + convertFilePath(_videoParams.filename); if (_videoParams.flags == 2) { - // VAR(119) = startVideo(_videoParams.filename, _videoParams.flags, _videoParams.wizResNum); - VAR(119) = -1; + VAR(119) = _moviePlay->load(filename, _videoParams.flags, _videoParams.wizResNum); } else { - // VAR(119) = startVideo(_videoParams.filename, _videoParams.flags); - VAR(119) = -1; + VAR(119) = _moviePlay->load(filename, _videoParams.flags); } } else if (_videoParams.status == 19) { // Stop video -- cgit v1.2.3