From 03a969bd0f696f9a7fa0dc56c47c2b05d28a5a47 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Tue, 24 Mar 2015 22:24:45 -0400 Subject: SHERLOCK: Implementing walk code --- engines/sherlock/scene.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'engines/sherlock/scene.h') diff --git a/engines/sherlock/scene.h b/engines/sherlock/scene.h index 1a9fe7b02c..1b3a730179 100644 --- a/engines/sherlock/scene.h +++ b/engines/sherlock/scene.h @@ -137,7 +137,7 @@ public: int _invGraphicItems; Common::String _comments; Common::Array _descText; - Common::Array _bounds; + Common::Array _zones; Common::Array _bgShapes; Common::Array _cAnim; Common::Array _sequenceBuffer; @@ -179,6 +179,10 @@ public: int findBgShape(const Common::Rect &r); int checkForZones(const Common::Point &pt, int zoneType); + + int whichZone(const Common::Point &pt); + + int closestZone(const Common::Point &pt); }; } // End of namespace Sherlock -- cgit v1.2.3