aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/scalpel/scalpel_scene.h
diff options
context:
space:
mode:
authorPaul Gilbert2015-07-26 12:23:26 -0400
committerPaul Gilbert2015-07-26 12:23:26 -0400
commit86a33cf4280aec06a160716ead325342d17a9839 (patch)
treec9504ffec542ba6ec339bc081dae613de3a01c07 /engines/sherlock/scalpel/scalpel_scene.h
parent3217eab5391f9717370d5ae7122d4e4edb3ec2d6 (diff)
downloadscummvm-rg350-86a33cf4280aec06a160716ead325342d17a9839.tar.gz
scummvm-rg350-86a33cf4280aec06a160716ead325342d17a9839.tar.bz2
scummvm-rg350-86a33cf4280aec06a160716ead325342d17a9839.zip
SHERLOCK: RT: Correct order of precedence of shapes in findBgShape
Diffstat (limited to 'engines/sherlock/scalpel/scalpel_scene.h')
-rw-r--r--engines/sherlock/scalpel/scalpel_scene.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/sherlock/scalpel/scalpel_scene.h b/engines/sherlock/scalpel/scalpel_scene.h
index 62dd1c7a92..8fe3b66b38 100644
--- a/engines/sherlock/scalpel/scalpel_scene.h
+++ b/engines/sherlock/scalpel/scalpel_scene.h
@@ -89,6 +89,12 @@ public:
* A negative playRate can also be specified to play the animation in reverse
*/
virtual int startCAnim(int cAnimNum, int playRate = 1);
+
+ /**
+ * Attempts to find a background shape within the passed bounds. If found,
+ * it will return the shape number, or -1 on failure.
+ */
+ virtual int findBgShape(const Common::Point &pt);
};
} // End of namespace Scalpel