diff options
author | Filippos Karapetis | 2007-09-05 15:43:56 +0000 |
---|---|---|
committer | Filippos Karapetis | 2007-09-05 15:43:56 +0000 |
commit | 5a97b3d9be9c92624fc319abf4fb39105f8e7757 (patch) | |
tree | 146f6a08ccaaf25b583766374872ea4772cfcb31 /engines/agi/picture.h | |
parent | 4d30763ab91a450db439440897e45757b87e1352 (diff) | |
download | scummvm-rg350-5a97b3d9be9c92624fc319abf4fb39105f8e7757.tar.gz scummvm-rg350-5a97b3d9be9c92624fc319abf4fb39105f8e7757.tar.bz2 scummvm-rg350-5a97b3d9be9c92624fc319abf4fb39105f8e7757.zip |
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
Diffstat (limited to 'engines/agi/picture.h')
-rw-r--r-- | engines/agi/picture.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 |