diff options
Diffstat (limited to 'engines/sherlock/scene.h')
-rw-r--r-- | engines/sherlock/scene.h | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/engines/sherlock/scene.h b/engines/sherlock/scene.h index 8ae6327ce2..0fbda38fe8 100644 --- a/engines/sherlock/scene.h +++ b/engines/sherlock/scene.h @@ -270,18 +270,6 @@ public: int toggleObject(const Common::String &name); /** - * Attempts to find a background shape within the passed bounds. If found, - * it will return the shape number, or -1 on failure. - */ - int findBgShape(const Common::Rect &r); - - /** - * Attempts to find a background shape within the passed bounds. If found, - * it will return the shape number, or -1 on failure. - */ - int findBgShape(const Common::Point &pt); - - /** * Checks to see if the given position in the scene belongs to a given zone type. * If it is, the zone is activated and used just like a TAKL zone or aFLAG_SET zone. */ @@ -298,6 +286,12 @@ public: virtual int closestZone(const Common::Point &pt) = 0; /** + * 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); + + /** * Synchronize the data for a savegame */ virtual void synchronize(Serializer &s); |