[Scummvm-cvs-logs] SF.net SVN: scummvm: [21978] scummvm/trunk/engines/simon
kirben at users.sourceforge.net
kirben at users.sourceforge.net
Mon Apr 17 06:49:03 CEST 2006
Revision: 21978
Author: kirben
Date: 2006-04-17 06:48:44 -0700 (Mon, 17 Apr 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=21978&view=rev
Log Message:
-----------
Trigger videos for OmniTV in FF
Modified Paths:
--------------
scummvm/trunk/engines/simon/animation.cpp
scummvm/trunk/engines/simon/simon.h
Modified: scummvm/trunk/engines/simon/animation.cpp
===================================================================
--- scummvm/trunk/engines/simon/animation.cpp 2006-04-17 13:19:36 UTC (rev 21977)
+++ scummvm/trunk/engines/simon/animation.cpp 2006-04-17 13:48:44 UTC (rev 21978)
@@ -85,6 +85,12 @@
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;
Modified: scummvm/trunk/engines/simon/simon.h
===================================================================
--- scummvm/trunk/engines/simon/simon.h 2006-04-17 13:19:36 UTC (rev 21977)
+++ scummvm/trunk/engines/simon/simon.h 2006-04-17 13:48:44 UTC (rev 21978)
@@ -137,6 +137,7 @@
class SimonEngine : public Engine {
friend class Debugger;
+ friend class MoviePlayer;
void errorString(const char *buf_input, char *buf_output);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list