aboutsummaryrefslogtreecommitdiff
path: root/engines/macventure/image.cpp
diff options
context:
space:
mode:
authorBorja Lorente2016-06-24 21:00:06 +0200
committerBorja Lorente2016-08-14 18:38:10 +0200
commit499ebc0b54c79e89f4ee38628cea1f64cdf40bf2 (patch)
tree57076c28b48766e0a831badbc54f366f2fa5349a /engines/macventure/image.cpp
parentba5ed7fc88a69da782f3df18698837a67a59eb6b (diff)
downloadscummvm-rg350-499ebc0b54c79e89f4ee38628cea1f64cdf40bf2.tar.gz
scummvm-rg350-499ebc0b54c79e89f4ee38628cea1f64cdf40bf2.tar.bz2
scummvm-rg350-499ebc0b54c79e89f4ee38628cea1f64cdf40bf2.zip
MACVENTURE: Script engine fixes
Diffstat (limited to 'engines/macventure/image.cpp')
-rw-r--r--engines/macventure/image.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/macventure/image.cpp b/engines/macventure/image.cpp
index 54d19c9fd2..323b8a1089 100644
--- a/engines/macventure/image.cpp
+++ b/engines/macventure/image.cpp
@@ -350,6 +350,14 @@ bool ImageAsset::isPointInside(Common::Point point) {
return pix != 0;
}
+uint ImageAsset::getWidth() {
+ return _bitWidth;
+}
+
+uint ImageAsset::getHeight() {
+ return _bitWidth;
+}
+
void ImageAsset::blitDirect(Graphics::ManagedSurface * target, uint32 ox, uint32 oy, const Common::Array<byte>& data) {
/*
if (_bitWidth == 0 || _bitHeight == 0) return;