PA_PaletteDual.h File Reference

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

Go to the source code of this file.

Defines

#define PA_DualLoadSpriteExtPal(palette_number, palette)   PA_DualLoadSpritePal(u8 palette_number, void* palette)
#define PAL_BG   PAL_BG0
#define PAL_SPRITE   PAL_SPRITE0
#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 Wed Dec 21 17:41:56 2005 for PAlib by  doxygen 1.3.9.1