aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/video.h
diff options
context:
space:
mode:
authorBastien Bouclet2017-07-09 17:47:56 +0200
committerBastien Bouclet2017-07-22 20:38:56 +0200
commit49fa0bdd689514fda992bffb39e06ccd37df85c4 (patch)
tree4300a47b3bfd75da0fd6683e936830fc596cb968 /engines/mohawk/video.h
parenta106dc8dd4a055821743ed5bf01a27171e093cd0 (diff)
downloadscummvm-rg350-49fa0bdd689514fda992bffb39e06ccd37df85c4.tar.gz
scummvm-rg350-49fa0bdd689514fda992bffb39e06ccd37df85c4.tar.bz2
scummvm-rg350-49fa0bdd689514fda992bffb39e06ccd37df85c4.zip
MOHAWK: Myst: Change blocking movies and waits to use the main loop
Diffstat (limited to 'engines/mohawk/video.h')
-rw-r--r--engines/mohawk/video.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/mohawk/video.h b/engines/mohawk/video.h
index 20da42948c..07dc128641 100644
--- a/engines/mohawk/video.h
+++ b/engines/mohawk/video.h
@@ -240,8 +240,6 @@ public:
virtual ~VideoManager();
// Generic movie functions
- void playMovieBlocking(const Common::String &filename, uint16 x, uint16 y);
- void playMovieBlockingCentered(const Common::String &filename);
VideoEntryPtr playMovie(const Common::String &filename);
VideoEntryPtr playMovie(uint16 id);
bool updateMovies();
@@ -253,8 +251,8 @@ public:
// Handle functions
VideoEntryPtr findVideo(uint16 id);
VideoEntryPtr findVideo(const Common::String &fileName);
- void waitUntilMovieEnds(const VideoEntryPtr &video);
void drawVideoFrame(const VideoEntryPtr &video, const Audio::Timestamp &time);
+ void removeEntry(const VideoEntryPtr &video);
protected:
MohawkEngine *_vm;
@@ -268,7 +266,6 @@ protected:
VideoEntryPtr open(const Common::String &fileName);
VideoList::iterator findEntry(VideoEntryPtr ptr);
- void removeEntry(VideoEntryPtr ptr);
bool drawNextFrame(VideoEntryPtr videoEntry);