delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/30/17:55:42

Message-Id: <3.0.5.32.19980330175544.007e1320@pop.iquest.net>
Date: Mon, 30 Mar 1998 17:55:44 -0500
To: Ishpeck <aTedjamulia AT sprynet DOT com>, djgpp AT delorie DOT com
From: ricki lee king <rlking AT iquest DOT net>
Subject: Re: Help: Flic Palette in Allegro
In-Reply-To: <35201A44.4313B34C@sprynet.com>
Mime-Version: 1.0

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 -


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