delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/09/03:46:54

Message-ID: <34B60A32.2034@csinet.net>
Date: Fri, 09 Jan 1998 03:29:54 -0800
From: Tim <christim AT csinet DOT net>
Reply-To: newsgroup AT delorie DOT com, or AT delorie DOT com, christim AT csinet DOT net
Organization: Damaged Designs inc...
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Loading 24 bpp bitmaps... with Allegro library
NNTP-Posting-Host: usr1-1-1.csinet.net
Lines: 14
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 <foo.bmp>,
The syntax would appear as follows..
BITMAP *bmp1
bmp1 = load_bitmap(foo.bmp, ??? ????);

would anyone correct this please ?

TIA
Tim Bruning (christim AT csinet DOT net)

- Raw text -


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