delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/19/14:39:00

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 <joe_dark AT randomcreation DOT com>
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
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019