ScummVM API documentation
Nancy::MoviePlayer Class Reference

Public Member Functions

bool loadFile (const Common::Path &name, bool bidirectionalCache=false)
 
bool isVideoLoaded () const
 
void close ()
 
Video::VideoDecodergetDecoder ()
 
void start ()
 
void stop ()
 
void pauseVideo (bool pause)
 
bool isPlaying () const
 
bool needsUpdate () const
 
bool endOfVideo () const
 
void seekToFrame (uint frame)
 
void seek (const Audio::Timestamp &time)
 
void rewind ()
 
void setRate (const Common::Rational &rate)
 
Common::Rational getRate () const
 
void setReverse (bool reverse)
 
int getCurFrame () const
 
int getFrameCount () const
 
Audio::Timestamp getDuration () const
 
uint16 getWidth () const
 
uint16 getHeight () const
 
void addFrameTime (uint16 timeToAdd)
 
const Graphics::SurfacedecodeNextFrame (int frameNr=-1)
 
void goToFrame (int frameNr)
 
void playRange (int first, int last)
 
bool update ()
 
bool isRangePlaying () const
 
int getCurrentFrame () const
 
void drawFrame (Graphics::ManagedSurface &dst, const Common::Point &pos) const
 

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