From 2a0ba88aef12a2934201d14eedfc185bf22aaf76 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Mon, 17 Apr 2006 13:48:44 +0000 Subject: Trigger videos for OmniTV in FF svn-id: r21978 --- engines/simon/animation.cpp | 6 ++++++ engines/simon/simon.h | 1 + 2 files changed, 7 insertions(+) (limited to 'engines') diff --git a/engines/simon/animation.cpp b/engines/simon/animation.cpp index 5a54f1ccb3..5403f92c6e 100644 --- a/engines/simon/animation.cpp +++ b/engines/simon/animation.cpp @@ -85,6 +85,12 @@ bool MoviePlayer::load(const char *filename) { void MoviePlayer::play() { uint32 tag; + // Load OmniTV video + if (_vm->getBitFlag(40)) { + _vm->_variableArray[254] = 6747; + return; + } + if (_fd.isOpen() == false) { debug(0, "MoviePlayer::play: No file loaded"); return; diff --git a/engines/simon/simon.h b/engines/simon/simon.h index a6061777ed..60f622e85a 100644 --- a/engines/simon/simon.h +++ b/engines/simon/simon.h @@ -137,6 +137,7 @@ class Debugger; class SimonEngine : public Engine { friend class Debugger; + friend class MoviePlayer; void errorString(const char *buf_input, char *buf_output); -- cgit v1.2.3