diff options
author | Bastien Bouclet | 2010-11-29 20:51:35 +0000 |
---|---|---|
committer | Bastien Bouclet | 2010-11-29 20:51:35 +0000 |
commit | 536c6b6ef41478c76d3325fcd6d03c83c6fe985f (patch) | |
tree | 49f60734b965ea5c72db88009b7300e0894c4ca7 /engines/mohawk/myst_areas.h | |
parent | a85346cb16a006b82116d3022ad8536bae0a3c75 (diff) | |
download | scummvm-rg350-536c6b6ef41478c76d3325fcd6d03c83c6fe985f.tar.gz scummvm-rg350-536c6b6ef41478c76d3325fcd6d03c83c6fe985f.tar.bz2 scummvm-rg350-536c6b6ef41478c76d3325fcd6d03c83c6fe985f.zip |
MOHAWK: Rename some fields for type 11 areas
svn-id: r54600
Diffstat (limited to 'engines/mohawk/myst_areas.h')
-rw-r--r-- | engines/mohawk/myst_areas.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/engines/mohawk/myst_areas.h b/engines/mohawk/myst_areas.h index 780f99ff69..be960425f6 100644 --- a/engines/mohawk/myst_areas.h +++ b/engines/mohawk/myst_areas.h @@ -52,7 +52,7 @@ public: // Mouse interface virtual void handleMouseUp(); virtual void handleMouseDown() {} - virtual void handleMouseMove() {} + virtual void handleMouseDrag() {} virtual void handleMouseEnter() {} virtual void handleMouseLeave() {} @@ -94,7 +94,7 @@ private: bool _videoRunning; }; -struct MystResourceType7 : public MystResource { +class MystResourceType7 : public MystResource { public: MystResourceType7(MohawkEngine_Myst *vm, Common::SeekableReadStream *rlstStream, MystResource *parent); virtual ~MystResourceType7(); @@ -139,13 +139,16 @@ public: virtual ~MystResourceType11(); void handleMouseDown(); void handleMouseUp(); - void handleMouseMove(); + void handleMouseDrag(); protected: - uint16 _kind; - Common::Rect _rect11; - uint16 _u0; - uint16 _u1; + uint16 _flagHV; + uint16 _minH; + uint16 _maxH; + uint16 _minV; + uint16 _maxV; + uint16 _posH; + uint16 _posV; uint16 _mouseDownOpcode; uint16 _mouseDragOpcode; uint16 _mouseUpOpcode; @@ -153,8 +156,6 @@ protected: uint16 listCount; uint16 *list; } _lists[3]; - - bool _mouseDown; }; class MystResourceType10 : public MystResourceType11 { |