diff options
Diffstat (limited to 'engines/sword25/fmv/movieplayer.h')
-rw-r--r-- | engines/sword25/fmv/movieplayer.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/engines/sword25/fmv/movieplayer.h b/engines/sword25/fmv/movieplayer.h index 26b5cdd0d8..350407cea5 100644 --- a/engines/sword25/fmv/movieplayer.h +++ b/engines/sword25/fmv/movieplayer.h @@ -37,12 +37,14 @@ #include "common/scummsys.h" // for USE_THEORADEC -#ifdef USE_THEORADEC #include "sword25/kernel/common.h" #include "sword25/kernel/service.h" -#include "sword25/fmv/theora_decoder.h" #include "sword25/gfx/bitmap.h" +#ifdef USE_THEORADEC +#include "sword25/fmv/theora_decoder.h" +#endif + namespace Sword25 { class MoviePlayer : public Service { @@ -138,16 +140,17 @@ public: private: bool registerScriptBindings(); + +#ifdef USE_THEORADEC TheoraDecoder _decoder; Graphics::Surface *_backSurface; int _outX, _outY; RenderObjectPtr<Bitmap> _outputBitmap; +#endif }; } // End of namespace Sword25 #endif - -#endif |