PA_BgRot.h File Reference

Everything concerning rotscale backgrounds. More...

Go to the source code of this file.

Defines

#define BG_ROT_128X128   0
#define BG_ROT_256X256   1
#define BG_ROT_512X512   2
#define BG_ROT_1024X1024   3
#define PA_BGXX(screen, bg)   _REG32(0x4000008 + (0x1000 * screen) + (bg << 4))
#define PA_BGXY(screen, bg)   _REG32(0x400000C + (0x1000 * screen) + (bg << 4))
#define PA_BGXPA(screen, bg)   _REG16(0x4000000 + (0x1000 * screen) + (bg << 4))
#define PA_BGXPB(screen, bg)   _REG16(0x4000002 + (0x1000 * screen) + (bg << 4))
#define PA_BGXPC(screen, bg)   _REG16(0x4000004 + (0x1000 * screen) + (bg << 4))
#define PA_BGXPD(screen, bg)   _REG16(0x4000006 + (0x1000 * screen) + (bg << 4))
#define PA_LoadRotBg(screen, bg_select, bg_tiles, bg_map, bg_size, wraparound)
 Load a background fit for rotating/scaling ! Warning, you must use PA_SetVideoMode to 1 if you want 1 rotating background (Bg3 only !), or 2 for 2 rotating backgrounds (Bg2 and 3). The background MUST be in 256 colors
#define PA_LoadPAGfxRotBg(screen, bg_select, bg_name, wraparound)
 Load a background fit for rotating/scaling ! Warning, you must use PA_SetVideoMode to 1 if you want 1 rotating background (Bg3 only !), or 2 for 2 rotating backgrounds (Bg2 and 3). The background MUST be in 256 colors

Functions

void PA_LoadRotBgMap (u8 screen, u8 bg_select, void *bg_map, u8 bg_size)
void PA_SetBgRot (u8 screen, u8 bg_select, s32 x_scroll, s32 y_scroll, s32 x_rotcentre, s32 y_rotcentre, s16 bg_angle, s32 bg_zoom)


Detailed Description

Everything concerning rotscale backgrounds.

This file contains all the macros and variables regarding Rotation backgrounds


Generated on Wed Aug 30 21:02:12 2006 for PAlib by  doxygen 1.3.9.1