aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/gfx/bitmapresource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sword25/gfx/bitmapresource.cpp')
-rw-r--r--engines/sword25/gfx/bitmapresource.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/engines/sword25/gfx/bitmapresource.cpp b/engines/sword25/gfx/bitmapresource.cpp
index 46e6ca77ce..cf3c85e3ac 100644
--- a/engines/sword25/gfx/bitmapresource.cpp
+++ b/engines/sword25/gfx/bitmapresource.cpp
@@ -35,16 +35,12 @@
#include "sword25/gfx/bitmapresource.h"
#include "sword25/kernel/kernel.h"
#include "sword25/gfx/graphicengine.h"
-#include "sword25/gfx/image/imageloader.h"
#include "sword25/package/packagemanager.h"
namespace Sword25 {
#define BS_LOG_PREFIX "BITMAP"
-// Konstruktion / Destruktion
-// --------------------------
-
BitmapResource::BitmapResource(const Common::String &filename, Image *pImage) :
_valid(false),
_pImage(pImage),
@@ -56,8 +52,6 @@ BitmapResource::~BitmapResource() {
delete _pImage;
}
-// -----------------------------------------------------------------------------
-
uint BitmapResource::getPixel(int x, int y) const {
BS_ASSERT(x >= 0 && x < _pImage->getWidth());
BS_ASSERT(y >= 0 && y < _pImage->getHeight());