| u8 Scroll_Initialize( |
| ) |
Initialize scrolling module.
| map u16 | Address of the tilemap used to render the scrolling background. |
First free sprite index (Scroll module reserve several sprites if mask option is activted).
| void Scroll_SetOffsetH( |
| ) |
Set scrolling horizontal offset
| offset i8 | Horizontal scrolling offset (in pixels) |
| void Scroll_SetOffsetV( |
| ) |
Set scrolling vertical offset
| offset i8 | Vertical scrolling offset (in pixels) |
| void Scroll_HBlankAdjust( |
| ) |
Adjust screen offset. Function to be called in the H-Blank handler
| adjust u8 | Ajust step 0: Frame start 1: Scrolling adjust 2: No more adjust |
Update scrolling module