From c1c7b5f563194822b89656396dd0f3c3b8724b20 Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Tue, 11 Sep 2007 20:09:39 +0000 Subject: PreAGI does not need an AGI resource loader, as it only needs to load pictures and doesn't use directories. So, this allows Winnie to decode pictures without using the loader svn-id: r28893 --- engines/agi/picture.h | 1 + 1 file changed, 1 insertion(+) (limited to 'engines/agi/picture.h') diff --git a/engines/agi/picture.h b/engines/agi/picture.h index d92bc92210..d037eebd17 100644 --- a/engines/agi/picture.h +++ b/engines/agi/picture.h @@ -83,6 +83,7 @@ public: PictureMgr(AgiBase *agi, GfxMgr *gfx); int decodePicture(int n, int clear, bool agi256 = false, int pic_width = _DEFAULT_WIDTH, int pic_height = _DEFAULT_HEIGHT); + int decodePicture(byte* data, uint32 length, int clear, int pic_width = _DEFAULT_WIDTH, int pic_height = _DEFAULT_HEIGHT); int unloadPicture(int); void drawPicture(); void showPic(int x = 0, int y = 0, int pic_width = _DEFAULT_WIDTH, int pic_height = _DEFAULT_HEIGHT); -- cgit v1.2.3