diff options
Diffstat (limited to 'engines/sherlock/scene.h')
-rw-r--r-- | engines/sherlock/scene.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/engines/sherlock/scene.h b/engines/sherlock/scene.h index a4b94652c8..8986b62bf5 100644 --- a/engines/sherlock/scene.h +++ b/engines/sherlock/scene.h @@ -59,8 +59,7 @@ struct BgfileheaderInfo { }; struct Exit { - Common::Point _position; - Common::Point _size; + Common::Rect _bounds; int _scene; int _allow; @@ -100,6 +99,8 @@ private: int toggleObject(const Common::String &name); void updateBackground(); + + void checkBgShapes(ImageFrame *frame, const Common::Point &pt); public: int _currentScene; int _goToRoom; @@ -134,6 +135,7 @@ public: Common::Array<SceneSound> _sounds; Common::Point _hsavedPos; int _hsavedFs; + Common::Array<Object> _canimShapes; public: Scene(SherlockEngine *vm); ~Scene(); @@ -143,6 +145,8 @@ public: void selectScene(); void checkSceneFlags(bool mode); + + Exit *checkForExit(const Common::Rect &r); }; } // End of namespace Sherlock |