aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTravis Howell2006-04-17 13:48:44 +0000
committerTravis Howell2006-04-17 13:48:44 +0000
commit2a0ba88aef12a2934201d14eedfc185bf22aaf76 (patch)
tree53f9806b638a66040866bc8a5dcabe29371209e5 /engines
parentd832f69f4ca73af8579c9c5aad63e2b2ec4bb218 (diff)
downloadscummvm-rg350-2a0ba88aef12a2934201d14eedfc185bf22aaf76.tar.gz
scummvm-rg350-2a0ba88aef12a2934201d14eedfc185bf22aaf76.tar.bz2
scummvm-rg350-2a0ba88aef12a2934201d14eedfc185bf22aaf76.zip
Trigger videos for OmniTV in FF
svn-id: r21978
Diffstat (limited to 'engines')
-rw-r--r--engines/simon/animation.cpp6
-rw-r--r--engines/simon/simon.h1
2 files changed, 7 insertions, 0 deletions
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);