aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/objects.h
diff options
context:
space:
mode:
authorPaul Gilbert2015-03-22 15:44:11 -0400
committerPaul Gilbert2015-03-22 15:44:11 -0400
commit0f424da24b8d5c3399714d56c896e3a46983faac (patch)
treeacf223fedc4281fcfc04ab27d44160a3bf42f955 /engines/sherlock/objects.h
parent840bd862b734d54b18eb505b32ce030da10c934d (diff)
downloadscummvm-rg350-0f424da24b8d5c3399714d56c896e3a46983faac.tar.gz
scummvm-rg350-0f424da24b8d5c3399714d56c896e3a46983faac.tar.bz2
scummvm-rg350-0f424da24b8d5c3399714d56c896e3a46983faac.zip
SHERLOCK: First game scene is partially showing
Diffstat (limited to 'engines/sherlock/objects.h')
-rw-r--r--engines/sherlock/objects.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/sherlock/objects.h b/engines/sherlock/objects.h
index 2a52ec4d33..9e43c087b8 100644
--- a/engines/sherlock/objects.h
+++ b/engines/sherlock/objects.h
@@ -206,6 +206,9 @@ public:
void setFlagsAndToggles();
void adjustObject();
+
+ int frameWidth() const { return _imageFrame ? _imageFrame->_frame.w : 0; }
+ int frameHeight() const { return _imageFrame ? _imageFrame->_frame.h : 0; }
};
struct CAnim {