PA_16c.h File Reference

16color pseudo-bitmap mode. More...


Defines

#define PA_16cCustomFont(c16_slot, c16_font)
 Add custom fonts to the 16cText system !! Font must be converted with PAGfx

Functions

ALWAYSINLINE void PA_16c8X8 (u8 screen, s16 x, s16 y, u32 *image)
 Load an 8x8 pixels image at a given position.
void PA_Init16cBg (u8 screen, u8 bg)
 Initialise 16color background on which you can paste images...
void PA_16cErase (u8 screen)
 Erase the 16color background. Must be used right after PA_WaitForVBL to avoid glitches
void PA_Dual16cErase (void)
 Erase the 16color background on both screens. Must be used right after PA_WaitForVBL to avoid glitches
void PA_InitComplete16c (u8 bg, void *Palette)
 Initialise a 16color background on each screen and give them a given palette
s16 PA_16cText (u8 screen, s16 basex, s16 basey, s16 maxx, s16 maxy, char *text, u8 color, u8 size, s32 limit)
 This is a variable width and variable size function to draw text on the screen.
ALWAYSINLINE void PA_16cPutPixel (u8 screen, s16 x, s16 y, u32 color)
 Plot a pixel on a 16c background
ALWAYSINLINE void PA_16c8X4 (u8 screen, s16 x, s16 y, u32 *image)
 Load an 8x4 pixels image at a given position. Fastest of all pasting functions
ALWAYSINLINE void PA_16c8X6 (u8 screen, s16 x, s16 y, u32 *image)
 Load an 8x6 pixels image at a given position. Second fastest of all pasting functions
ALWAYSINLINE void PA_16c8Xi (u8 screen, s16 x, s16 y, u32 *image, u8 i)
 Load an 8xi row from a 8x16 pixels image at a given position. If i>16 the image is repeated.
void PA_16cClearZone (u8 screen, s16 x1, s16 y1, s16 x2, s16 y2)
 Erase a 16c background zone
u8 PA_16cGetPixel (u8 screen, s16 x, s16 y)
 Returns the pixel value of a given point on a 16c background


Detailed Description

16color pseudo-bitmap mode.

Special 16color background on which you can paste images. Usefull to show shots in SHMUP !


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