From b555a1569794b9d72803cd6207f70434cc83ed72 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Mon, 3 Sep 2007 15:03:50 +0000 Subject: 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 --- engines/agi/picture.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'engines/agi/picture.h') 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 -- cgit v1.2.3