From 4c7326cfae914639bb5aa974b886f549cefdc4c5 Mon Sep 17 00:00:00 2001 From: Kamil Zbrog Date: Sat, 29 Mar 2014 22:23:20 +0100 Subject: [PATCH] PRINCE: Compilation fix after merge --- engines/prince/mhwanh.h | 8 ++++---- engines/prince/object.h | 2 +- engines/prince/prince.cpp | 2 +- engines/prince/prince.h | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/engines/prince/mhwanh.h b/engines/prince/mhwanh.h index 9344312ccefb..5364c5d20af0 100644 --- a/engines/prince/mhwanh.h +++ b/engines/prince/mhwanh.h @@ -23,14 +23,14 @@ #ifndef PRINCE_MHWANH_H #define PRINCE_MHWANH_H -#include "graphics/decoders/image_decoder.h" -#include "graphics/decoders/bmp.h" +#include "image/image_decoder.h" +#include "image/bmp.h" #include "graphics/surface.h" #include "resource.h" namespace Prince { -class MhwanhDecoder : public Graphics::ImageDecoder { +class MhwanhDecoder : public Image::ImageDecoder { public: MhwanhDecoder(); virtual ~MhwanhDecoder(); @@ -55,7 +55,7 @@ namespace Resource { } template <> inline - bool loadFromStream(Graphics::BitmapDecoder &image, Common::SeekableReadStream &stream) { + bool loadFromStream(Image::BitmapDecoder &image, Common::SeekableReadStream &stream) { return image.loadStream(stream); } } diff --git a/engines/prince/object.h b/engines/prince/object.h index aa55bf06a604..7a3d19e906c3 100644 --- a/engines/prince/object.h +++ b/engines/prince/object.h @@ -23,7 +23,7 @@ #ifndef PRINCE_OBJECT_H #define PRINCE_OBJECT_H -#include "graphics/decoders/image_decoder.h" +#include "image/image_decoder.h" #include "graphics/surface.h" namespace Prince { diff --git a/engines/prince/prince.cpp b/engines/prince/prince.cpp index 687081d60c0b..d778f48b100a 100644 --- a/engines/prince/prince.cpp +++ b/engines/prince/prince.cpp @@ -181,7 +181,7 @@ void PrinceEngine::init() { delete talkTxtStream; - _roomBmp = new Graphics::BitmapDecoder(); + _roomBmp = new Image::BitmapDecoder(); _mainHero = new Hero(); _secondHero = new Hero(); diff --git a/engines/prince/prince.h b/engines/prince/prince.h index 9802769ed9a7..f1707c04ec50 100644 --- a/engines/prince/prince.h +++ b/engines/prince/prince.h @@ -31,7 +31,7 @@ #include "common/rect.h" #include "common/events.h" -#include "graphics/decoders/bmp.h" +#include "image/bmp.h" #include "gui/debugger.h" @@ -157,7 +157,7 @@ class PrinceEngine : public Engine { uint8 _cursorNr; Common::RandomSource *_rnd; - Graphics::BitmapDecoder *_roomBmp; + Image::BitmapDecoder *_roomBmp; Cursor *_cursor1; Cursor *_cursor2; MhwanhDecoder *_walizkaBmp;