Skip to content

Commit

Permalink
MOHAWK: Display the weight up after resetting the clock puzzle in Mys…
Browse files Browse the repository at this point in the history
…t ME
  • Loading branch information
bgK committed Dec 12, 2011
1 parent 30b2c37 commit b04af6d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions engines/mohawk/myst_stacks/myst.cpp
Expand Up @@ -2978,15 +2978,17 @@ void Myst::clockReset() {
}

void Myst::clockResetWeight() {
// Set video bounds, weight going up
_clockWeightVideo = _vm->_video->playMovie(_vm->wrapMovieFilename("cl1wlfch", kMystStack) , 124, 0);

if (!(_vm->getFeatures() & GF_ME)) {
_clockWeightVideo = _vm->_video->playMovie(_vm->wrapMovieFilename("cl1wlfch", kMystStack) , 124, 0);
// Set video bounds, weight going up
_vm->_video->setVideoBounds(_clockWeightVideo,
Audio::Timestamp(0, 2214 * 2 - _clockWeightPosition, 600),
Audio::Timestamp(0, 2214 * 2, 600));
} else {
//FIXME: Needs QT backwards playing
//FIXME: Needs QT backwards playing, for now just display the weight up
warning("Weight going back up not implemented");
_vm->_video->drawVideoFrame(_clockWeightVideo, Audio::Timestamp(0, 0, 600));
}

// Reset position
Expand Down

0 comments on commit b04af6d

Please sign in to comment.