Date: Sat, 10 Oct 1998 05:43:06 +0100 (BST) From: George Foot To: djgpp AT delorie DOT com Subject: Re: displayin' bitmaps In-Reply-To: <6vmel0$luo$3@nntp.gulfsouth.verio.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com On Fri, 9 Oct 1998, Jameson wrote: > hey i read the recently posted post about displaying bitmap's but can > someone send me some actual source code??I don't mean like this: > bitmap*bitvar; > load_bitmap(whatever,whatever,whatever); > > but rather like this: > > bitmap*bitvar; > load_bitmap(102,381,102); What?!? `load_bitmap' takes two parameters -- the filename of the bitmap to load, and the address of an array to store the palette in. Why would you want to pass numbers to it? > in other words don't show the format of doing it..show an actual source. `ex15.c' in the examples directory is source code to display a bitmap. I'm assuming that you were using Allegro. -- george DOT foot AT merton DOT oxford DOT ac DOT uk xu do tavla fo la lojban -- http://xiron.pc.helsinki.fi/lojban/lojban.html