aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/video
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/video')
-rw-r--r--engines/wintermute/video/VidTheoraPlayer.cpp5
-rw-r--r--engines/wintermute/video/VidTheoraPlayer.h6
2 files changed, 6 insertions, 5 deletions
diff --git a/engines/wintermute/video/VidTheoraPlayer.cpp b/engines/wintermute/video/VidTheoraPlayer.cpp
index d7e8850177..3bbd2172f7 100644
--- a/engines/wintermute/video/VidTheoraPlayer.cpp
+++ b/engines/wintermute/video/VidTheoraPlayer.cpp
@@ -32,7 +32,8 @@
#include "engines/wintermute/Base/BBase.h"
#include "engines/wintermute/Base/BGame.h"
#include "engines/wintermute/Base/BFileManager.h"
-#include "engines/wintermute/Base/BSurfaceSDL.h"
+#include "engines/wintermute/Base/gfx/osystem/base_surface_osystem.h"
+#include "engines/wintermute/Base/gfx/base_image.h"
#include "engines/wintermute/Base/BSoundMgr.h"
#include "engines/wintermute/utils/utils.h"
#include "engines/wintermute/PlatformSDL.h"
@@ -155,7 +156,7 @@ bool CVidTheoraPlayer::initialize(const Common::String &filename, const Common::
// Additional setup.
_surface.create(_theoraDecoder->getWidth(), _theoraDecoder->getHeight(), _theoraDecoder->getPixelFormat());
- _texture = new CBSurfaceSDL(_gameRef);
+ _texture = new CBSurfaceOSystem(_gameRef);
_texture->create(_theoraDecoder->getWidth(), _theoraDecoder->getHeight());
_state = THEORA_STATE_PLAYING;
_playZoom = 100;
diff --git a/engines/wintermute/video/VidTheoraPlayer.h b/engines/wintermute/video/VidTheoraPlayer.h
index 74fc0ce5b4..f403a82f64 100644
--- a/engines/wintermute/video/VidTheoraPlayer.h
+++ b/engines/wintermute/video/VidTheoraPlayer.h
@@ -31,14 +31,14 @@
#include "engines/wintermute/Base/BBase.h"
#include "engines/wintermute/Base/file/BFile.h"
-#include "engines/wintermute/Base/BSurface.h"
-#include "engines/wintermute/Base/BImage.h"
#include "engines/wintermute/persistent.h"
#include "video/video_decoder.h"
#include "common/stream.h"
+#include "graphics/surface.h"
namespace WinterMute {
-
+class CBSurface;
+class CBImage;
class CVidTheoraPlayer : public CBBase {
private:
enum {