Sender: nate AT cartsys DOT com Message-ID: <37938E51.80FB344C@cartsys.com> Date: Mon, 19 Jul 1999 13:45:05 -0700 From: Nate Eldredge X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.10 i586) MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: RLE Sprites and BITMAP 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> <4 DOT 1 DOT 19990719113958 DOT 0098ec40 AT mail DOT randomcreation DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Joe Dark wrote: > > 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. You can use `load_bitmap' to load a PCX file from disk and put it in a BITMAP. -- Nate Eldredge nate AT cartsys DOT com