Trigger videos for OmniTV in FF

svn-id: r21978
This commit is contained in:
Travis Howell 2006-04-17 13:48:44 +00:00
parent d832f69f4c
commit 2a0ba88aef
2 changed files with 7 additions and 0 deletions

View File

@ -85,6 +85,12 @@ bool MoviePlayer::load(const char *filename) {
void MoviePlayer::play() { void MoviePlayer::play() {
uint32 tag; uint32 tag;
// Load OmniTV video
if (_vm->getBitFlag(40)) {
_vm->_variableArray[254] = 6747;
return;
}
if (_fd.isOpen() == false) { if (_fd.isOpen() == false) {
debug(0, "MoviePlayer::play: No file loaded"); debug(0, "MoviePlayer::play: No file loaded");
return; return;

View File

@ -137,6 +137,7 @@ class Debugger;
class SimonEngine : public Engine { class SimonEngine : public Engine {
friend class Debugger; friend class Debugger;
friend class MoviePlayer;
void errorString(const char *buf_input, char *buf_output); void errorString(const char *buf_input, char *buf_output);