diff options
author | Eugene Sandulenko | 2010-08-04 14:53:07 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2010-10-12 22:22:33 +0000 |
commit | 9b3e26e7a29756848395d7a12928efdb60b8ff21 (patch) | |
tree | 1d4b745342b1f259f5c74ef994ad470e05783216 /engines/sword25/fmv/movieplayer.h | |
parent | 8533538c8343bedbb22b19b5fef738ac54bd84c3 (diff) | |
download | scummvm-rg350-9b3e26e7a29756848395d7a12928efdb60b8ff21.tar.gz scummvm-rg350-9b3e26e7a29756848395d7a12928efdb60b8ff21.tar.bz2 scummvm-rg350-9b3e26e7a29756848395d7a12928efdb60b8ff21.zip |
SWORD25: Start for VideoDecoder-compatible Theora player.
svn-id: r53206
Diffstat (limited to 'engines/sword25/fmv/movieplayer.h')
-rw-r--r-- | engines/sword25/fmv/movieplayer.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/engines/sword25/fmv/movieplayer.h b/engines/sword25/fmv/movieplayer.h index 9988b5e182..be841c51a9 100644 --- a/engines/sword25/fmv/movieplayer.h +++ b/engines/sword25/fmv/movieplayer.h @@ -55,7 +55,7 @@ public: // ----------------------------------------------------------------------------- BS_MoviePlayer(BS_Kernel *pKernel); - virtual ~BS_MoviePlayer() {}; + ~BS_MoviePlayer() {}; // ----------------------------------------------------------------------------- // Abstract interface must be implemented by each Movie Player @@ -71,14 +71,14 @@ public: * @param Z Z indicates the position of the film on the main graphics layer * @return Returns false if an error occured while loading, otherwise true. */ - virtual bool LoadMovie(const Common::String &Filename, unsigned int Z) = 0; + bool LoadMovie(const Common::String &Filename, unsigned int Z); /** * Unloads the currently loaded movie file. * @return Returns false if an error occurred while unloading, otherwise true. * @remark This method can only be called when IsMovieLoaded() returns true. */ - virtual bool UnloadMovie() = 0; + bool UnloadMovie(); /** * Plays the loaded movie. @@ -88,7 +88,7 @@ public: * @return Returns false if an error occurred while starting, otherwise true. * @remark This method can only be called when IsMovieLoaded() returns true. */ - virtual bool Play() = 0; + bool Play(); /** * Pauses movie playback. @@ -97,23 +97,23 @@ public: * @return Returns false if an error occurred while pausing, otherwise true. * @remark This method can only be called when IsMovieLoaded() returns true. */ - virtual bool Pause() = 0; + bool Pause(); /** * This function must be called once per frame. */ - virtual void Update() = 0; + void Update(); /** * Returns whether a film is loaded for playback. */ - virtual bool IsMovieLoaded() = 0; + bool IsMovieLoaded(); /** * Returns whether the movie playback is paused. * @remark This method can only be called when IsMovieLoaded() returns true. */ - virtual bool IsPaused() = 0; + bool IsPaused(); /** * Returns the scaling factor for the loaded film. @@ -123,20 +123,20 @@ public: * @return Returns the scaling factor of the film. * @remark This method can only be called when IsMovieLoaded() returns true. */ - virtual float GetScaleFactor() = 0; + float GetScaleFactor(); /** * Sets the factor by which the loaded film is to be scaled. * @param ScaleFactor The desired scale factor. * @remark This method can only be called when IsMovieLoaded() returns true. */ - virtual void SetScaleFactor(float ScaleFactor) = 0; + void SetScaleFactor(float ScaleFactor); /** * Returns the current playing position in seconds. * @remark This method can only be called when IsMovieLoaded() returns true. */ - virtual double GetTime() = 0; + double GetTime(); private: bool _RegisterScriptBindings(); |