www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/18/01:35:36

From: "Christian JACQUIER" <ocrtis AT icanect DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Need help..
Date: 18 Feb 1997 01:37:36 GMT
Organization: Icanect
Lines: 23
Message-ID: <01bc1d3c$57e68660$c2ab8ece@benoit>
NNTP-Posting-Host: 206.142.171.194
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Ok, i'm a "newbie" and I may did a dumb mistake, but i'd like to know why
my fade from a picture to a white screen doesn't work. I don't have any
compilation error, but when i'm launching the program, it looks weird. I'm
using DJGPP v.2 and Allegro v.2.11.
(Mode VGA)
.....
 PALLETE image_pallete;
 PALLETE white_screen;

for (c=0;c<256;c++) {
 white_screen[c].r = 255;
 white_screen[c].g = 255;
 white_screen[c].b = 255;
}

fade_from(image_pallete,white_screen,1);
.....

So, if you can help me....
						Thanks, Benoit
						ocrtis AT icanect DOT net


- Raw text -


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