diff options
author | Bastien Bouclet | 2010-11-29 20:55:11 +0000 |
---|---|---|
committer | Bastien Bouclet | 2010-11-29 20:55:11 +0000 |
commit | 92d74fa56df2583ad01616c2afa394baf2ea5a9f (patch) | |
tree | ea01085fdb3bc66ca088b73f55f7946fde11f47e /engines/mohawk/myst_areas.h | |
parent | 0ac6af59d122319715145883d986ac652f99738d (diff) | |
download | scummvm-rg350-92d74fa56df2583ad01616c2afa394baf2ea5a9f.tar.gz scummvm-rg350-92d74fa56df2583ad01616c2afa394baf2ea5a9f.tar.bz2 scummvm-rg350-92d74fa56df2583ad01616c2afa394baf2ea5a9f.zip |
MOHAWK: Disabled hotspots are now unclickable areas. Display blue rects for unreachable zip destinations when drawing resource rects.
svn-id: r54615
Diffstat (limited to 'engines/mohawk/myst_areas.h')
-rw-r--r-- | engines/mohawk/myst_areas.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/mohawk/myst_areas.h b/engines/mohawk/myst_areas.h index 4a53577a3d..e28b683eb6 100644 --- a/engines/mohawk/myst_areas.h +++ b/engines/mohawk/myst_areas.h @@ -44,10 +44,11 @@ public: virtual void drawConditionalDataToScreen(uint16 state) {} virtual void handleAnimation() {} virtual Common::Rect getRect() { return _rect; } - bool isEnabled() { return _enabled; } - void setEnabled(bool enabled) { _enabled = enabled; } + bool isEnabled(); + void setEnabled(bool enabled); uint16 getDest() { return _dest; } virtual uint16 getType8Var() { return 0xFFFF; } + bool unreachableZipDest(); // Mouse interface virtual void handleMouseUp(Common::Point *mouse); @@ -62,7 +63,6 @@ protected: uint16 _flags; Common::Rect _rect; uint16 _dest; - bool _enabled; }; class MystResourceType5 : public MystResource { |