aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/video.h
diff options
context:
space:
mode:
authorBastien Bouclet2017-07-30 17:30:50 +0200
committerBastien Bouclet2017-07-30 17:42:01 +0200
commit07aaed5659e352db1ddece44e715a854159d58ec (patch)
tree03dfa6ebbfe81c60b79d7bbc55fa9295f8b2f4a9 /engines/mohawk/video.h
parent4fee9a492ea9db7fd3c7830e2e07b7d79808bbdc (diff)
downloadscummvm-rg350-07aaed5659e352db1ddece44e715a854159d58ec.tar.gz
scummvm-rg350-07aaed5659e352db1ddece44e715a854159d58ec.tar.bz2
scummvm-rg350-07aaed5659e352db1ddece44e715a854159d58ec.zip
MOHAWK: Myst: Set the mixer sound type to SFX for videos
Also simplify video filename construction.
Diffstat (limited to 'engines/mohawk/video.h')
-rw-r--r--engines/mohawk/video.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/mohawk/video.h b/engines/mohawk/video.h
index 07dc128641..1f8b93d467 100644
--- a/engines/mohawk/video.h
+++ b/engines/mohawk/video.h
@@ -23,6 +23,7 @@
#ifndef MOHAWK_VIDEO_H
#define MOHAWK_VIDEO_H
+#include "audio/mixer.h"
#include "audio/timestamp.h"
#include "common/array.h"
#include "common/list.h"
@@ -240,7 +241,7 @@ public:
virtual ~VideoManager();
// Generic movie functions
- VideoEntryPtr playMovie(const Common::String &filename);
+ VideoEntryPtr playMovie(const Common::String &filename, Audio::Mixer::SoundType soundType = Audio::Mixer::kPlainSoundType);
VideoEntryPtr playMovie(uint16 id);
bool updateMovies();
void pauseVideos();
@@ -263,7 +264,7 @@ protected:
// Utility functions for managing entries
VideoEntryPtr open(uint16 id);
- VideoEntryPtr open(const Common::String &fileName);
+ VideoEntryPtr open(const Common::String &fileName, Audio::Mixer::SoundType soundType);
VideoList::iterator findEntry(VideoEntryPtr ptr);