Mail Archives: djgpp/1998/03/30/19:01:08
Well, here's the deal...
I start the program in whatever the default
palette is when I set_gfx_mode(GFX_VESA, 800, 600, 0, 0);
I then proceede to use textout to print
a bit of text, and then play my 320x200 Flic in a
little corner of the screen.
The problem is, the flic is using a different color palette,
and so the colors are all screwed up. I was wondering
if there is a way to change the palette for just that
little portion of the screen, or maybe change the palette
of each frame before I print it... or do I have to remake
my whole flic?
ricki lee king wrote:
>
> here is a little about palette for images.
> maybe it will help you.
>
> PALETTE pal;
> BITMAP *splashbx = load_bmp("splashbx.bmp",pal);
> set_pallete (pal);
>
> the last line corrects the palette.
> bye
>
> At 02:18 PM 3/30/98 -0800, Ishpeck wrote:
> >I created a .FLI file with Animagician
> >and played it in my program using Allegro.
> >
> >The problem is the color palette is all
> >different, so my yellows are purple and
> >my reds are yellow and so on...
> >
> >The question is:
> >
> >Where can I find a .FLI editor that
> >can change palettes, or, how can I
> >change the palette when I load the
> >.FLI?
> >
> >
- Raw text -