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

From: "Christian JACQUIER" <ocrtis AT icanect DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Need help with Allegro
Date: 18 Feb 1997 01:34:12 GMT
Organization: Icanect
Lines: 25
Message-ID: <01bc1d02$a2d8f980$LocalHost@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);
....

						Thanks, Benoit
						ocrtis AT icanect DOT net




- Raw text -


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