Date: Sat, 11 Jan 1997 15:39:12 -0600 (CST) From: Andrew Deren To: Joyce Osagie cc: djgpp AT delorie DOT com Subject: Re: Allegro Bitmap Functions In-Reply-To: <5b6eqa$r45@nr1.toronto.istar.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Try using Grabber, that comes with allegro. You can add pcx, files (and many different ones too). It creates data file which you can use in your program. example: DATAFILE *file; file = load_datafile("filename.dat"); //and when you have files stored in data file you can use draw_sprite(screen, (BITMAP*)file[1].dat, 10, 10); //to put a bitmap on the screen instead of using one you can use defines generated by grabber. Look at the allegro.txt to find more info about this. I think it is somewhere by the end of the file (before GUI) On 10 Jan 1997, Joyce Osagie wrote: > Does anyone know if allegro come with a function to extract bitmaps > out of a pcx file. I have looked through the text file that comes > with allegro but I can't figure out which function I would have to > use. Any help would be greatly appreciatied. > > Joyce. > >