diff options
author | Travis Howell | 2006-04-17 04:02:48 +0000 |
---|---|---|
committer | Travis Howell | 2006-04-17 04:02:48 +0000 |
commit | 5b3f73f27cec4204f0d827a2a0ba97a4fb122526 (patch) | |
tree | 6465b5f447242808345dc7b1790fa65218bd05e9 /engines/simon/items.cpp | |
parent | 2c5874e9256b78bab5e532c7760b815003bb02e0 (diff) | |
download | scummvm-rg350-5b3f73f27cec4204f0d827a2a0ba97a4fb122526.tar.gz scummvm-rg350-5b3f73f27cec4204f0d827a2a0ba97a4fb122526.tar.bz2 scummvm-rg350-5b3f73f27cec4204f0d827a2a0ba97a4fb122526.zip |
Intergrate the DXA player for Amiga/Macintosh verisons of FF, from cyx
svn-id: r21959
Diffstat (limited to 'engines/simon/items.cpp')
-rw-r--r-- | engines/simon/items.cpp | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/engines/simon/items.cpp b/engines/simon/items.cpp index aed8157bad..f93b586cd1 100644 --- a/engines/simon/items.cpp +++ b/engines/simon/items.cpp @@ -23,6 +23,8 @@ // Item script opcodes for Simon1/Simon2 #include "common/stdafx.h" + +#include "simon/animation.h" #include "simon/simon.h" #include "simon/intern.h" @@ -1923,12 +1925,19 @@ void SimonEngine::o3_mouseOff() { void SimonEngine::o3_loadSmack() { // 182: load video file - debug(0,"Load video file: %s", getStringPtrByID(getNextStringID())); + _videoName = getStringPtrByID(getNextStringID()); + debug(0,"Load video file: %s", _videoName); } void SimonEngine::o3_playSmack() { // 183: play video - debug(0, "Play video"); + debug(0, "Play video %s", _videoName); + + DXA_Player p; + if (p.open((const char *)_videoName)) { + p.play(); + p.close(); + } } void SimonEngine::o3_centreScroll() { |