Mail Archives: djgpp/1998/03/31/11:03:01
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
- Raw text -