From: Charles Terry Newsgroups: comp.os.msdos.djgpp Subject: Re: Help: Flic Palette in Allegro Date: Tue, 31 Mar 1998 08:13:18 -0800 Organization: All USENET -- http://www.Supernews.com Lines: 28 Message-ID: <3521161E.3131@plinet.com> References: <3 DOT 0 DOT 5 DOT 32 DOT 19980330175544 DOT 007e1320 AT pop DOT iquest DOT net> <35203D66 DOT 991B872C AT sprynet DOT com> NNTP-Posting-Host: 3660 AT 207 DOT 174 DOT 3 DOT 173 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Ishpeck wrote: > > 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? > No the palette is set in the graphics driver so if you change it the whole display changes but you seem to be indicating that the rest of the screen at this point is unused except for the textout-? I think you can use the grabber utility to get the pallete from your flic and package both the flic and pallete in a data file and load both at runtime Charles Terry