diff options
author | Paul Gilbert | 2015-07-01 21:10:57 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-07-01 21:10:57 -0400 |
commit | dc4689e4b901971448f2625a96d5708a0c6e8ddf (patch) | |
tree | 3b8ef050736472384bd56a93546d22e1a519865f /engines/sherlock/scalpel/scalpel_scene.h | |
parent | 121ee4d40c2cd203d1a0dfef2b8e1d8d83b0b43f (diff) | |
download | scummvm-rg350-dc4689e4b901971448f2625a96d5708a0c6e8ddf.tar.gz scummvm-rg350-dc4689e4b901971448f2625a96d5708a0c6e8ddf.tar.bz2 scummvm-rg350-dc4689e4b901971448f2625a96d5708a0c6e8ddf.zip |
SHERLOCK: Split up closestZone versions for each game
Diffstat (limited to 'engines/sherlock/scalpel/scalpel_scene.h')
-rw-r--r-- | engines/sherlock/scalpel/scalpel_scene.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/sherlock/scalpel/scalpel_scene.h b/engines/sherlock/scalpel/scalpel_scene.h index 77e86cf9cf..fa65ecd95b 100644 --- a/engines/sherlock/scalpel/scalpel_scene.h +++ b/engines/sherlock/scalpel/scalpel_scene.h @@ -65,6 +65,11 @@ protected: * Draw all the shapes, people and NPCs in the correct order */ virtual void drawAllShapes(); + + /** + * Returns the index of the closest zone to a given point. + */ + virtual int closestZone(const Common::Point &pt); public: ScalpelScene(SherlockEngine *vm) : Scene(vm) {} |