From: iecheruo AT newstand DOT syr DOT edu (The Ice Man) Newsgroups: comp.os.msdos.djgpp Subject: Re: Loading 24 bpp bitmaps... with Allegro library Date: 9 Jan 1998 11:32:05 GMT Organization: Syracuse University, Syracuse, NY (USA) Lines: 22 Message-ID: <6951rl$c0v@newstand.syr.edu> References: <34B60A32 DOT 2034 AT csinet DOT net> Reply-To: fake_iecheruo AT mailbox DOT syr DOT edu NNTP-Posting-Host: hydra.syr.edu To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Tim (christim AT csinet DOT net) wrote: : My problem is simple and kinda stupid really... : I can't figure out the correct syntax of the pallette part of it... : BITMAP *load_bitmap(char *filename, RGB *pal); : I figured that if I were to load the file , : The syntax would appear as follows.. : BITMAP *bmp1 : bmp1 = load_bitmap(foo.bmp, ??? ????); PALETTE pal; BITMAP *bmp; bmp = load_bitmap("file.bmp", pal); or RGB pal[N] //I recommend N > 255 BITMAP *bmp bmp = load_bitmap("file.bmp", pal) --