aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/riven_external.cpp
diff options
context:
space:
mode:
authorAlyssa Milburn2010-12-09 21:24:31 +0000
committerAlyssa Milburn2010-12-09 21:24:31 +0000
commit32ed3b35829dc29617c7a300d043afc2bd26999b (patch)
tree3a068106642ea670ff885c6927c9d0b661a6478e /engines/mohawk/riven_external.cpp
parent8be4da02f66437fd54addbb38e2153e96a3f4ea7 (diff)
downloadscummvm-rg350-32ed3b35829dc29617c7a300d043afc2bd26999b.tar.gz
scummvm-rg350-32ed3b35829dc29617c7a300d043afc2bd26999b.tar.bz2
scummvm-rg350-32ed3b35829dc29617c7a300d043afc2bd26999b.zip
MOHAWK: Allow background videos to be played/manipulated with resource handles
svn-id: r54843
Diffstat (limited to 'engines/mohawk/riven_external.cpp')
-rw-r--r--engines/mohawk/riven_external.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/mohawk/riven_external.cpp b/engines/mohawk/riven_external.cpp
index 8848716967..dc3db08e92 100644
--- a/engines/mohawk/riven_external.cpp
+++ b/engines/mohawk/riven_external.cpp
@@ -223,7 +223,7 @@ void RivenExternal::runEndGame(uint16 video) {
void RivenExternal::runCredits(uint16 video) {
// TODO: Play until the last frame and then run the credits
- VideoHandle videoHandle = _vm->_video->findVideoHandle(video);
+ VideoHandle videoHandle = _vm->_video->findVideoHandleRiven(video);
while (!_vm->_video->endOfVideo(videoHandle) && !_vm->shouldQuit()) {
if (_vm->_video->updateBackgroundMovies())
@@ -247,7 +247,7 @@ void RivenExternal::runDomeButtonMovie() {
void RivenExternal::runDomeCheck() {
// Check if we clicked while the golden frame was showing
- VideoHandle video = _vm->_video->findVideoHandle(1);
+ VideoHandle video = _vm->_video->findVideoHandleRiven(1);
assert(video != NULL_VID_HANDLE);
int32 curFrame = _vm->_video->getCurFrame(video);
@@ -1531,7 +1531,7 @@ void RivenExternal::xbookclick(uint16 argc, uint16 *argv) {
_vm->_cursor->setCursor(kRivenHideCursor);
// Let's hook onto our video
- VideoHandle video = _vm->_video->findVideoHandle(argv[0]);
+ VideoHandle video = _vm->_video->findVideoHandleRiven(argv[0]);
// Convert from the standard QuickTime base time to milliseconds
// The values are in terms of 1/600 of a second.