PA_PaletteDual.h File Reference

Everything concerning the palette system, for both screens at once. More...


Defines

#define PA_DualLoadPal(palette, source)
 Load a 256 color palette in the Bg or Sprite palette of both screens
#define PA_DualLoadPal16(palette, n_palette, source)
 Load a 16 color palette in the Bg or Sprite palette of both screens

Functions

void PA_DualSetPalNeg (u32 palette)
 Set all the palette's color to negative. To undo this, simply negative again...
void PA_DualSetPal16Neg (u32 palette, u8 n_palette)
 Set 16 color palette to negative. To undo this, simply negative again...
void PA_DualLoadSpritePal (u8 palette_number, void *palette)
 Load a 256 color palette in the Sprite palettes
void PA_DualLoadBgPal (u8 bg_number, void *palette)
 Load a 256 color palette for a given background
void PA_DualSetBgColor (u16 color)
 Change the background color of both screens


Detailed Description

Everything concerning the palette system, for both screens at once.

Not much for now, only a function to load a complete palette to a given palette


Generated on Tue Jan 30 23:10:11 2007 for PAlib by  doxygen 1.3.9.1