From 49fa0bdd689514fda992bffb39e06ccd37df85c4 Mon Sep 17 00:00:00 2001 From: Bastien Bouclet Date: Sun, 9 Jul 2017 17:47:56 +0200 Subject: MOHAWK: Myst: Change blocking movies and waits to use the main loop --- engines/mohawk/video.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'engines/mohawk/video.h') 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); -- cgit v1.2.3