aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/riven_scripts.cpp
diff options
context:
space:
mode:
authorMatthew Hoops2010-02-13 23:34:18 +0000
committerMatthew Hoops2010-02-13 23:34:18 +0000
commit1cd9498dbcf5ad9f8cbdffe76ef3fa31b5543310 (patch)
tree005d01112c3778153d3a12401f259e9bbb172815 /engines/mohawk/riven_scripts.cpp
parent03e8276407e1e701811eaf5bb67c9b384ecf42ba (diff)
downloadscummvm-rg350-1cd9498dbcf5ad9f8cbdffe76ef3fa31b5543310.tar.gz
scummvm-rg350-1cd9498dbcf5ad9f8cbdffe76ef3fa31b5543310.tar.bz2
scummvm-rg350-1cd9498dbcf5ad9f8cbdffe76ef3fa31b5543310.zip
Implement background video support for Riven; some VideoManager/QTPlayer cleanup.
svn-id: r48056
Diffstat (limited to 'engines/mohawk/riven_scripts.cpp')
-rw-r--r--engines/mohawk/riven_scripts.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/engines/mohawk/riven_scripts.cpp b/engines/mohawk/riven_scripts.cpp
index 3761ee5308..7e3d4f77da 100644
--- a/engines/mohawk/riven_scripts.cpp
+++ b/engines/mohawk/riven_scripts.cpp
@@ -488,20 +488,17 @@ void RivenScript::enableMovie(uint16 op, uint16 argc, uint16 *argv) {
// Command 32: play foreground movie - blocking (movie_id)
void RivenScript::playMovie(uint16 op, uint16 argc, uint16 *argv) {
CursorMan.showMouse(false); // Hide the cursor before playing the video
- _vm->_video->enableMovie(argv[0]);
_vm->_video->playMovieBlocking(argv[0]);
CursorMan.showMouse(true); // Show the cursor again when we're done ;)
}
// Command 33: play background movie - nonblocking (movie_id)
void RivenScript::playMovieBg(uint16 op, uint16 argc, uint16 *argv) {
- _vm->_video->enableMovie(argv[0]);
_vm->_video->playMovie(argv[0]);
}
// Command 34: stop a movie
void RivenScript::stopMovie(uint16 op, uint16 argc, uint16 *argv) {
- _vm->_video->disableMovie(argv[0]);
_vm->_video->stopMovie(argv[0]);
}