void RivenSimpleCommand::activateMLST(const MLSTRecord &mlstRecord) const { RivenVideo *ptr = _vm->_video->openSlot(mlstRecord.playbackSlot); ptr->load(mlstRecord.movieID); ptr->moveTo(mlstRecord.left, mlstRecord.top); ptr->setLooping(mlstRecord.loop != 0); ptr->setVolume(mlstRecord.volume); }
// Command 32: play foreground movie - blocking (movie_id) void RivenSimpleCommand::playMovieBlocking(uint16 op, const ArgumentArray &args) { RivenVideo *video = _vm->_video->openSlot(args[0]); video->setLooping(false); video->enable(); video->playBlocking(); }