delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/04/12/10:45:46

From: Mark Randell <drandell AT echidna DOT stu DOT cowan DOT edu DOT au>
Newsgroups: comp.os.msdos.djgpp
Subject: Allegro - default palette
Date: Mon, 12 Apr 1999 14:08:53 +0800
Organization: Edith Cowan University
Lines: 12
Message-ID: <37118DF4.9B4B3268@student.cowan.edu.au>
NNTP-Posting-Host: whtstump.stu.cowan.edu.au
Mime-Version: 1.0
X-Mailer: Mozilla 4.07 [en] (Win95; I)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi. I'm converting an RPG I was making in QuickBasic over to C (using
Allegro). Anyway, the graphics I drew use the default 13h palette (well
I think it's the default... it's the same in QB, Pascal and C). My
problem comes when I try to save, fade out of or fade into the palette.
When I fade out half the colors go black before it starts the fade,
making it look awful. If save the default palette and use
set_palette(black_palette), then fade back to the default it comes back
with half the colors messed up! Can someone tell me what going wrong
here?



- Raw text -


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