6#ifndef AFFINE_BACKGROUND_H
7#define AFFINE_BACKGROUND_H
17#define AFFINE_BG_IDX 2
23#define AFFINE_BG_PAL_LEN 16
29#define AFFINE_BG_PB (PAL_ROW_LEN * 15)
void affine_background_set_color(COLOR color)
Update the affine background color.
void affine_background_init()
Initialize resources for affine background rendering.
IWRAM_CODE void affine_background_update()
Per-frame update of the affine background.
AffineBackgroundID
An ID to specify background rendering types.
@ AFFINE_BG_GAME
Display background for game play.
@ AFFINE_BG_NONE
Display background for the initial splash screen.
@ AFFINE_BG_MAIN_MENU
Display background for main menu.
void affine_background_change_background(enum AffineBackgroundID new_bg)
Update the background id.
IWRAM_CODE void affine_background_hblank()
Interrupt routine to update display on HBLANK.
void affine_background_load_palette(const u16 *src)
Set the background palette.
Graphic utility functions.