Skip to content

Commit

Permalink
PRINCE: Compilation fix after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
malikcjm authored and lukaslw committed Jun 22, 2014
1 parent 5ffa58d commit 4c7326c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions engines/prince/mhwanh.h
Expand Up @@ -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();
Expand All @@ -55,7 +55,7 @@ namespace Resource {
}

template <> inline
bool loadFromStream<Graphics::BitmapDecoder>(Graphics::BitmapDecoder &image, Common::SeekableReadStream &stream) {
bool loadFromStream<Image::BitmapDecoder>(Image::BitmapDecoder &image, Common::SeekableReadStream &stream) {
return image.loadStream(stream);
}
}
Expand Down
2 changes: 1 addition & 1 deletion engines/prince/object.h
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion engines/prince/prince.cpp
Expand Up @@ -181,7 +181,7 @@ void PrinceEngine::init() {

delete talkTxtStream;

_roomBmp = new Graphics::BitmapDecoder();
_roomBmp = new Image::BitmapDecoder();

_mainHero = new Hero();
_secondHero = new Hero();
Expand Down
4 changes: 2 additions & 2 deletions engines/prince/prince.h
Expand Up @@ -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"

Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 4c7326c

Please sign in to comment.