diff options
Diffstat (limited to 'engines/sword25/fmv/movieplayer.cpp')
-rw-r--r-- | engines/sword25/fmv/movieplayer.cpp | 43 |
1 files changed, 42 insertions, 1 deletions
diff --git a/engines/sword25/fmv/movieplayer.cpp b/engines/sword25/fmv/movieplayer.cpp index bfba6d1b7a..a031fc8283 100644 --- a/engines/sword25/fmv/movieplayer.cpp +++ b/engines/sword25/fmv/movieplayer.cpp @@ -38,11 +38,52 @@ namespace Sword25 { #define BS_LOG_PREFIX "MOVIEPLAYER" -BS_MoviePlayer::BS_MoviePlayer(BS_Kernel * pKernel) : BS_Service(pKernel) { +BS_Service *BS_OggTheora_CreateObject(BS_Kernel *pKernel) { return new BS_MoviePlayer(pKernel); } + +BS_MoviePlayer::BS_MoviePlayer(BS_Kernel *pKernel) : BS_Service(pKernel) { if (!_RegisterScriptBindings()) BS_LOG_ERRORLN("Script bindings could not be registered."); else BS_LOGLN("Script bindings registered."); } +bool BS_MoviePlayer::LoadMovie(const Common::String &Filename, unsigned int Z) { + return true; +} + +bool BS_MoviePlayer::UnloadMovie() { + return true; +} + +bool BS_MoviePlayer::Play() { + return true; +} + +bool BS_MoviePlayer::Pause() { + return true; +} + +void BS_MoviePlayer::Update() { +} + +bool BS_MoviePlayer::IsMovieLoaded() { + return true; +} + +bool BS_MoviePlayer::IsPaused() { + return true; +} + +float BS_MoviePlayer::GetScaleFactor() { + return 1.0f; +} + +void BS_MoviePlayer::SetScaleFactor(float ScaleFactor) { +} + +double BS_MoviePlayer::GetTime() { + return 1.0; +} + + } // End of namespace Sword25 |