diff options
author | Bastien Bouclet | 2010-11-29 20:51:18 +0000 |
---|---|---|
committer | Bastien Bouclet | 2010-11-29 20:51:18 +0000 |
commit | a85346cb16a006b82116d3022ad8536bae0a3c75 (patch) | |
tree | 2da4ba732e1ab0af042141094e3aa3f7cec869f4 /engines/mohawk/myst_areas.h | |
parent | 2e984cf136c2199b7ea1aed4bddcfe4f555e1d76 (diff) | |
download | scummvm-rg350-a85346cb16a006b82116d3022ad8536bae0a3c75.tar.gz scummvm-rg350-a85346cb16a006b82116d3022ad8536bae0a3c75.tar.bz2 scummvm-rg350-a85346cb16a006b82116d3022ad8536bae0a3c75.zip |
MOHAWK : Change areas inheritance to match the original
svn-id: r54599
Diffstat (limited to 'engines/mohawk/myst_areas.h')
-rw-r--r-- | engines/mohawk/myst_areas.h | 47 |
1 files changed, 10 insertions, 37 deletions
diff --git a/engines/mohawk/myst_areas.h b/engines/mohawk/myst_areas.h index b1755a8a08..780f99ff69 100644 --- a/engines/mohawk/myst_areas.h +++ b/engines/mohawk/myst_areas.h @@ -133,30 +133,6 @@ protected: // No MystResourceType9! -class MystResourceType10 : public MystResourceType8 { -public: - MystResourceType10(MohawkEngine_Myst *vm, Common::SeekableReadStream *rlstStream, MystResource *parent); - virtual ~MystResourceType10(); - void handleMouseDown(); - void handleMouseUp(); - void handleMouseMove(); - -protected: - uint16 _kind; - Common::Rect _rect10; - uint16 _u0; - uint16 _u1; - uint16 _mouseDownOpcode; - uint16 _mouseDragOpcode; - uint16 _mouseUpOpcode; - struct { - uint16 listCount; - uint16 *list; - } _lists[4]; - - bool _mouseDown; -}; - class MystResourceType11 : public MystResourceType8 { public: MystResourceType11(MohawkEngine_Myst *vm, Common::SeekableReadStream *rlstStream, MystResource *parent); @@ -181,7 +157,16 @@ protected: bool _mouseDown; }; -class MystResourceType12 : public MystResourceType8 { +class MystResourceType10 : public MystResourceType11 { +public: + MystResourceType10(MohawkEngine_Myst *vm, Common::SeekableReadStream *rlstStream, MystResource *parent); + virtual ~MystResourceType10(); + +protected: + uint16 _unk10; +}; + +class MystResourceType12 : public MystResourceType11 { public: MystResourceType12(MohawkEngine_Myst *vm, Common::SeekableReadStream *rlstStream, MystResource *parent); virtual ~MystResourceType12(); @@ -189,18 +174,6 @@ public: void handleMouseUp(); protected: - uint16 _kind; - Common::Rect _rect11; - uint16 _state0Frame; - uint16 _state1Frame; - uint16 _mouseDownOpcode; - uint16 _mouseDragOpcode; - uint16 _mouseUpOpcode; - struct { - uint16 listCount; - uint16 *list; - } _lists[3]; - uint16 _numFrames; uint16 _firstFrame; Common::Rect _frameRect; |