delorie.com/archives/browse.cgi | search |
From: | "Lark" <rlark DOT at DOT mbhs DOT dot DOT edu AT delorie DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Allegro Palette problem |
Date: | Thu, 11 Mar 1999 21:02:57 -0800 |
Organization: | MindSpring Enterprises |
Lines: | 16 |
Message-ID: | <7c9sm0$vfk$1@camel19.mindspring.com> |
References: | <7c9btb$aa7$1 AT camel25 DOT mindspring DOT com> <36E7E2C5 DOT C62C0EB7 AT xyz DOT net> |
NNTP-Posting-Host: | d1.8a.2d.33 |
X-Server-Date: | 12 Mar 1999 02:03:44 GMT |
X-Newsreader: | Microsoft Outlook Express 4.72.3110.1 |
X-MimeOLE: | Produced By Microsoft MimeOLE V4.72.3110.3 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
>BITMAP *picture; >PALLETE winpallet; > >picture=load_bmp("windows.bmp",winpallet); >set_pallete(winpallet); >blit(picture,screen); //<----missing some arguments but you get the idea > > >doesn't work? I didn't realize you could load a palette with a bmp file. I feel pretty dumb now, because I realize that you would have to be able to do that to load any picture, but thanks a lot for the help.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |