diff options
author | Bastien Bouclet | 2010-12-14 19:11:16 +0000 |
---|---|---|
committer | Bastien Bouclet | 2010-12-14 19:11:16 +0000 |
commit | d4ce60336166f2a18632e4bb3fe54d5bdff59651 (patch) | |
tree | a2f75bc39cc74313767af3222ec646a79513fe76 /engines/mohawk/myst_areas.h | |
parent | c2e48f5c085b9ae4ddeb2e6be21071fe4d1cc8bb (diff) | |
download | scummvm-rg350-d4ce60336166f2a18632e4bb3fe54d5bdff59651.tar.gz scummvm-rg350-d4ce60336166f2a18632e4bb3fe54d5bdff59651.tar.bz2 scummvm-rg350-d4ce60336166f2a18632e4bb3fe54d5bdff59651.zip |
MOHAWK: Rework Myst GFX updates
- Initial card state is drawn to the back buffer
- Script driven updates are drawn to the front buffer
Allows opcode 28 (copy back buffer to screen) and opcodes 29/33 (copy image to screen / back buffer) to work properly.
Fixes among others the generator room lights, and the matchbox.
svn-id: r54907
Diffstat (limited to 'engines/mohawk/myst_areas.h')
-rw-r--r-- | engines/mohawk/myst_areas.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/mohawk/myst_areas.h b/engines/mohawk/myst_areas.h index 81fbb0e216..c65c91ba55 100644 --- a/engines/mohawk/myst_areas.h +++ b/engines/mohawk/myst_areas.h @@ -203,17 +203,16 @@ public: MystResourceType10(MohawkEngine_Myst *vm, Common::SeekableReadStream *rlstStream, MystResource *parent); virtual ~MystResourceType10(); - void drawDataToScreen(); void handleMouseDown(const Common::Point &mousee); void handleMouseUp(const Common::Point &mouse); void handleMouseDrag(const Common::Point &mouse); void setStep(uint16 step); void setPosition(uint16 pos); + void restoreBackground(); protected: Common::Rect boundingBox(); void updatePosition(const Common::Point &mouse); - void restoreBackground(); uint16 _dragSound; uint16 _sliderWidth; |