diff options
author | Filippos Karapetis | 2007-09-03 15:03:50 +0000 |
---|---|---|
committer | Filippos Karapetis | 2007-09-03 15:03:50 +0000 |
commit | b555a1569794b9d72803cd6207f70434cc83ed72 (patch) | |
tree | 07a230f15979c3d177a719763bdce45c337e7f71 /engines/agi/picture.h | |
parent | 750ad32030f3343ded3ad7ac942993da43de68b0 (diff) | |
download | scummvm-rg350-b555a1569794b9d72803cd6207f70434cc83ed72.tar.gz scummvm-rg350-b555a1569794b9d72803cd6207f70434cc83ed72.tar.bz2 scummvm-rg350-b555a1569794b9d72803cd6207f70434cc83ed72.zip |
Some updates for Mickey: objects are shown now (though still incorrectly), implemented some incomplete code for the ship's blinking lights, implemented the scene animation function
svn-id: r28848
Diffstat (limited to 'engines/agi/picture.h')
-rw-r--r-- | engines/agi/picture.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/engines/agi/picture.h b/engines/agi/picture.h index 799037e3cd..8cb0e65b43 100644 --- a/engines/agi/picture.h +++ b/engines/agi/picture.h @@ -69,7 +69,6 @@ private: void yCorner(); void fill(); int plotPatternPoint(int x, int y, int bitpos); - void plotPattern(int x, int y); void plotBrush(); void drawPicture(); @@ -85,8 +84,14 @@ public: int decodePicture(int n, int clear, bool agi256 = false, int pic_width = _DEFAULT_WIDTH, int pic_height = _DEFAULT_HEIGHT); int unloadPicture(int); - void showPic(int x = 0, int pic_width = _DEFAULT_WIDTH, int pic_height = _DEFAULT_HEIGHT); + void showPic(int x = 0, int y = 0, int pic_width = _DEFAULT_WIDTH, int pic_height = _DEFAULT_HEIGHT); uint8 *convertV3Pic(uint8 *src, uint32 len); + + void plotPattern(int x, int y); // public because it's used directly by preagi + + // preagi needed functions (for plotPattern) + void setPattern(uint8 code, uint8 num); + void setColor(uint8 color); }; } // End of namespace Agi |