From 5a97b3d9be9c92624fc319abf4fb39105f8e7757 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Wed, 5 Sep 2007 15:43:56 +0000 Subject: Some updates for Mickey: - Click to move functionality (improvement over the original game). It's now possible to navigate around using the mouse as well, together with the menu commands. The mouse cursor changes when the player hovers it at the picture's edges, towards a direction where Mickey is able to move to (north, south, east or west) - waitAnyKey has been moved into Mickey's code (because of the animation part) - Implemented the circle flag for AGI picture decoding svn-id: r28853 --- engines/agi/picture.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engines/agi/picture.h') diff --git a/engines/agi/picture.h b/engines/agi/picture.h index 8cb0e65b43..a45bc6087c 100644 --- a/engines/agi/picture.h +++ b/engines/agi/picture.h @@ -75,11 +75,13 @@ private: // TODO: this is hardcoded for V2 pictures for now static const int pictureType = AGIPIC_V2; int width, height; + bool _flagCircle; public: PictureMgr(AgiBase *agi, GfxMgr *gfx) { _vm = agi; _gfx = gfx; + _flagCircle = false; } int decodePicture(int n, int clear, bool agi256 = false, int pic_width = _DEFAULT_WIDTH, int pic_height = _DEFAULT_HEIGHT); @@ -92,6 +94,7 @@ public: // preagi needed functions (for plotPattern) void setPattern(uint8 code, uint8 num); void setColor(uint8 color); + void setFlagCircle(); // needed for some }; } // End of namespace Agi -- cgit v1.2.3