From: Dave Nugent Newsgroups: comp.os.msdos.djgpp Subject: Accessing BITMAP *bmp under DJGPP Date: Thu, 08 Jan 1998 02:48:17 -0800 Organization: Bell Solutions Lines: 11 Message-ID: <34B4AEF1.34CA@ns.sympatico.ca> Reply-To: dave DOT nugent AT ns DOT sympatico DOT ca NNTP-Posting-Host: 142.177.33.27 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I've been working on a game using DJGPP. I set up a Double Buffer that I draw my graphics on, and then Blast over to VGA Memory. I recently added Allegro Library, and see that it works with a pointer to BITMAP such as BITMAP *bmp = create_bitmap(size,size). I wish to use some of the Allegro graphics functions. Is there a way I can use the BITMAP setup and still allow my routines to draw in this array? Or is there a way I can point BITMAP *bmp to my buffer? Or does it have to be created through create_bitmap? Thanks for any info! Dave!