Message-Id: <4.1.19990719113958.0098ec40@mail.randomcreation.com> X-Sender: joe_dark AT mail DOT randomcreation DOT com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1 Date: Mon, 19 Jul 1999 11:45:25 -0700 To: djgpp AT delorie DOT com From: Joe Dark Subject: RLE Sprites and BITMAP In-Reply-To: <3792a65b.18125800@newsserver.cc.monash.edu.au> References: <378EAD2C DOT BD9A743C AT geocities DOT com> <378eb8c2 DOT 1394708 AT newsserver DOT cc DOT monash DOT edu DOT au> <378F5E0E DOT 161797BE AT geocities DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk I'm a little uncertain on what I need to do to display the RLE sprites from a .pcx file. The function: RLE_SPRITE get_rle_sprite(BITMAP *bitmap); My question would actually be on the BITMAP struct. What I tried to do was to pass the FILE handle to the BITMAP->dat variable, thinking that that is supposed to be the handle to the image data. I could be doing this completely wrong.. well, I'm pretty certain I am because I keep getting that lovely error SIGSEGV.. I guess I'm just hoping for some clarification on what needs to go into the BITMAP struct for passing it to this function. As I said earlier I'm trying to display .pcx files which are RLE encoded bitmaps. Matt