PAlib
|
Macros | |
#define | PA_LoadLargeBg(screen, bg_select, bg_tiles, bg_map, color_mode, lx, ly) |
[DEPRECATED] Completely load and initialise a background with infinite scrolling (usefull if larger or wider than 512 pixels) | |
#define | PA_LoadPAGfxLargeBg(screen, bg_number, bg_name) |
[DEPRECATED] Completely load and initialise a background with infinite scrolling (usefull if larger or wider than 512 pixels), converted with PAGfx | |
#define | PA_LoadLargeBgEx(screen, bg_select, bg_tiles, tile_size, bg_map, color_mode, lx, ly) |
[DEPRECATED] Completely load and initialise a background with infinite scrolling (usefull if larger or wider than 512 pixels), but here you can put yourself the tile size... | |
Functions | |
static void | PA_InfLargeScrollX (u8 screen, u8 bg_select, s32 x) |
Scroll a large infinite scrolling background horizontaly. It must have been initialised with PA_LoadLargeBg. | |
static void | PA_InfLargeScrollY (u8 screen, u8 bg_select, s32 y) |
Scroll a large infinite scrolling background vertically. It must have been initialised with PA_LoadLargeBg. | |
static void | PA_InfLargeScrollXY (u8 screen, u8 bg_select, s32 x, s32 y) |
Scroll a large infinite scrolling background horizontaly and vertically. It must have been initialised with PA_LoadLargeBg. | |
static void | PA_LargeScrollX (u8 screen, u8 bg_select, s32 x) |
Scroll a large background horizontaly. It must have been initialised with PA_LoadLargeBg. This function does not wrap around, but is faster than the InfLargeScroll... | |
static void | PA_LargeScrollY (u8 screen, u8 bg_select, s32 y) |
Scroll a large background vertically. It must have been initialised with PA_LoadLargeBg. This function does not wrap around, but is faster than the InfLargeScroll... | |
static void | PA_LargeScrollXY (u8 screen, u8 bg_select, s32 x, s32 y) |
Scroll a large background horizontaly and vertically. It must have been initialised with PA_LoadLargeBg. This function does not wrap around, but is faster than the InfLargeScroll... | |
Old LargeMap functions, obsoleted by PA_LoadBackground()
#define PA_LoadLargeBg | ( | screen, | |
bg_select, | |||
bg_tiles, | |||
bg_map, | |||
color_mode, | |||
lx, | |||
ly | |||
) |
[DEPRECATED] Completely load and initialise a background with infinite scrolling (usefull if larger or wider than 512 pixels)
screen | Chose de screen (0 or 1) |
bg_select | Background number to load (from 0 to 3) |
bg_tiles | Name of the tiles' info (example: ship_Tiles) |
bg_map | Name of the map's info (example : ship_Map) |
color_mode | Color mode : 0 for 16 color mode, 1 for 256... |
lx | Width, in tiles. So a 512 pixel wide map is 64 tiles wide... |
ly | Height, in tiles. So a 512 pixel high map is 64 tiles high... |
#define PA_LoadPAGfxLargeBg | ( | screen, | |
bg_number, | |||
bg_name | |||
) |
[DEPRECATED] Completely load and initialise a background with infinite scrolling (usefull if larger or wider than 512 pixels), converted with PAGfx
screen | Chose de screen (0 or 1) |
bg_number | Background number to load (from 0 to 3) |
bg_name | Background name, in PAGfx |
#define PA_LoadLargeBgEx | ( | screen, | |
bg_select, | |||
bg_tiles, | |||
tile_size, | |||
bg_map, | |||
color_mode, | |||
lx, | |||
ly | |||
) |
[DEPRECATED] Completely load and initialise a background with infinite scrolling (usefull if larger or wider than 512 pixels), but here you can put yourself the tile size...
screen | Chose de screen (0 or 1) |
bg_select | Background number to load (from 0 to 3) |
bg_tiles | Name of the tiles' info (example: ship_Tiles) |
tile_size | Size of your tileset |
bg_map | Name of the map's info (example : ship_Map) |
color_mode | Color mode : 0 for 16 color mode, 1 for 256... |
lx | Width, in tiles. So a 512 pixel wide map is 64 tiles wide... |
ly | Height, in tiles. So a 512 pixel high map is 64 tiles high... |
|
inlinestatic |
Scroll a large infinite scrolling background horizontaly. It must have been initialised with PA_LoadLargeBg.
screen | Chose de screen (0 or 1) |
bg_select | Background number to load (from 0 to 3) |
x | X value to scroll |
|
inlinestatic |
Scroll a large infinite scrolling background vertically. It must have been initialised with PA_LoadLargeBg.
screen | Chose de screen (0 or 1) |
bg_select | Background number to load (from 0 to 3) |
y | Y value to scroll |
|
inlinestatic |
Scroll a large infinite scrolling background horizontaly and vertically. It must have been initialised with PA_LoadLargeBg.
screen | Chose de screen (0 or 1) |
bg_select | Background number to load (from 0 to 3) |
x | X value to scroll |
y | Y value to scroll |
|
inlinestatic |
Scroll a large background horizontaly. It must have been initialised with PA_LoadLargeBg. This function does not wrap around, but is faster than the InfLargeScroll...
screen | Chose de screen (0 or 1) |
bg_select | Background number to load (from 0 to 3) |
x | X value to scroll |
|
inlinestatic |
Scroll a large background vertically. It must have been initialised with PA_LoadLargeBg. This function does not wrap around, but is faster than the InfLargeScroll...
screen | Chose de screen (0 or 1) |
bg_select | Background number to load (from 0 to 3) |
y | Y value to scroll |
|
inlinestatic |
Scroll a large background horizontaly and vertically. It must have been initialised with PA_LoadLargeBg. This function does not wrap around, but is faster than the InfLargeScroll...
screen | Chose de screen (0 or 1) |
bg_select | Background number to load (from 0 to 3) |
x | X value to scroll |
y | Y value to scroll |