From ce9afcfab13bbbfe6ef5fe384a249a218067774a Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Thu, 19 Aug 2010 17:33:10 +0000 Subject: MOHAWK: Draw in the telescope combination in Catherine's journal svn-id: r52215 --- engines/mohawk/graphics.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/mohawk/graphics.h') diff --git a/engines/mohawk/graphics.h b/engines/mohawk/graphics.h index dd1764e6d6..5670f6d071 100644 --- a/engines/mohawk/graphics.h +++ b/engines/mohawk/graphics.h @@ -117,7 +117,7 @@ private: uint16 type; uint16 width; uint16 height; - } *entries; + } *entries; Common::File picFile; } _pictureFile; @@ -147,6 +147,7 @@ public: Common::Array _activatedPLSTs; void drawPLST(uint16 x); void drawRect(Common::Rect rect, bool active); + void drawImageRect(uint16 id, Common::Rect srcRect, Common::Rect dstRect); // Water Effect void scheduleWaterEffect(uint16); @@ -181,7 +182,6 @@ private: Graphics::Surface *_mainScreen; bool _dirtyScreen; Graphics::PixelFormat _pixelFormat; - byte findBlackIndex(); }; class LBGraphics { -- cgit v1.2.3 From 8d0b207dd5b450b70de7f98404a28266a3153fb4 Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Mon, 23 Aug 2010 04:14:30 +0000 Subject: MOHAWK: Add initial work for the dome sliders While the sliders cannot move yet, the game now knows if the puzzle is complete and whether you're over a slider or not. Drawing the sliders and moving the sliders will come next. svn-id: r52292 --- engines/mohawk/graphics.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines/mohawk/graphics.h') diff --git a/engines/mohawk/graphics.h b/engines/mohawk/graphics.h index 5670f6d071..5271c86d0d 100644 --- a/engines/mohawk/graphics.h +++ b/engines/mohawk/graphics.h @@ -41,6 +41,8 @@ class MohawkBitmap; class MystBitmap; enum { + kRivenOpenHandCursor = 2003, + kRivenClosedHandCursor = 2004, kRivenMainCursor = 3000, kRivenPelletCursor = 5000, kRivenHideCursor = 9000 -- cgit v1.2.3 From 30080c7e070aa06fa1fb795db90392d85351a62c Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Thu, 9 Sep 2010 17:27:02 +0000 Subject: MOHAWK: Add initial work on the Riven marble puzzle The marbles are currently drawn, and you can pick them up, but you can not place them on the grid yet. svn-id: r52661 --- engines/mohawk/graphics.h | 1 + 1 file changed, 1 insertion(+) (limited to 'engines/mohawk/graphics.h') diff --git a/engines/mohawk/graphics.h b/engines/mohawk/graphics.h index 5271c86d0d..9419aad277 100644 --- a/engines/mohawk/graphics.h +++ b/engines/mohawk/graphics.h @@ -150,6 +150,7 @@ public: void drawPLST(uint16 x); void drawRect(Common::Rect rect, bool active); void drawImageRect(uint16 id, Common::Rect srcRect, Common::Rect dstRect); + void drawExtrasImage(uint16 id, Common::Rect dstRect); // Water Effect void scheduleWaterEffect(uint16); -- cgit v1.2.3