|
Value: {\
PA_DeleteBg(screen, bg_select);\
PA_LoadBgTiles(screen, bg_select, bg_tiles); \
PA_LoadRotBgMap(screen, bg_select, (void*)bg_map, bg_size); \
PA_InitBg(screen, bg_select, bg_size, wraparound, 1);\
PA_SetBgRot(screen, bg_select, 0, 0, 0, 0, 0, 256);\
}
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
- Parameters:
-
| screen | Chose de screen (0 or 1) |
| bg_select | Background number to load |
| bg_tiles | Name of the tiles' info (example: ship_Tiles) |
| bg_map | Name of the map's info (example : ship_Map) |
| bg_size | Background size. Use the following macros : BG_ROT_128X128, or 256X256, 512X512, or 1024X1024 |
| wraparound | If the background wraps around or not. |
|