aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/tattoo/tattoo_scene.h
diff options
context:
space:
mode:
authorPaul Gilbert2015-07-01 21:10:57 -0400
committerPaul Gilbert2015-07-01 21:10:57 -0400
commitdc4689e4b901971448f2625a96d5708a0c6e8ddf (patch)
tree3b8ef050736472384bd56a93546d22e1a519865f /engines/sherlock/tattoo/tattoo_scene.h
parent121ee4d40c2cd203d1a0dfef2b8e1d8d83b0b43f (diff)
downloadscummvm-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/tattoo/tattoo_scene.h')
-rw-r--r--engines/sherlock/tattoo/tattoo_scene.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/sherlock/tattoo/tattoo_scene.h b/engines/sherlock/tattoo/tattoo_scene.h
index 81d76374f3..c3d6e3b929 100644
--- a/engines/sherlock/tattoo/tattoo_scene.h
+++ b/engines/sherlock/tattoo/tattoo_scene.h
@@ -96,6 +96,11 @@ protected:
* Synchronize the data for a savegame
*/
virtual void synchronize(Serializer &s);
+
+ /**
+ * Returns the index of the closest zone to a given point.
+ */
+ virtual int closestZone(const Common::Point &pt);
public:
StreamingImageFile _activeCAnim;
Common::Array<SceneTripEntry> _sceneTripCounters;