delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/08/12:30:29

From: Dave Nugent <dave DOT nugent AT ns DOT sympatico DOT ca>
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
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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!

- Raw text -


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