ScummVM API documentation
Mohawk::VideoManager Class Reference

Public Member Functions

 VideoManager (MohawkEngine *vm)
 
VideoEntryPtr playMovie (const Common::Path &filename, Audio::Mixer::SoundType soundType=Audio::Mixer::kPlainSoundType)
 
VideoEntryPtr playMovie (uint16 id)
 
bool updateMovies ()
 
void pauseVideos ()
 
void resumeVideos ()
 
void stopVideos ()
 
bool isVideoPlaying ()
 
VideoEntryPtr findVideo (uint16 id)
 
VideoEntryPtr findVideo (const Common::Path &fileName)
 
void drawVideoFrame (const VideoEntryPtr &video, const Audio::Timestamp &time)
 
void removeEntry (const VideoEntryPtr &video)
 

Protected Types

typedef Common::List< VideoEntryPtrVideoList
 

Protected Member Functions

VideoEntryPtr open (uint16 id)
 
VideoEntryPtr open (const Common::Path &fileName, Audio::Mixer::SoundType soundType)
 
VideoList::iterator findEntry (VideoEntryPtr ptr)
 
bool drawNextFrame (VideoEntryPtr videoEntry)
 
void checkEnableDither (VideoEntryPtr &entry)
 

Protected Attributes

MohawkEngine_vm
 
VideoList _videos
 
bool _enableDither
 

The documentation for this class was generated from the following file: