-
Notifications
You must be signed in to change notification settings - Fork 18
Sprite Functions
void load_sprites(int vaddr, int *spr_data, int nb_spr); |
|---|
|
void init_satb(void); |
|---|
|
void reset_satb(void); |
|---|
|
void satb_update(void); |
|---|
void satb_update(char nb); |
|
|
| void spr_set(char num); |
|---|
Select sprite 'num' (0-63) as the current sprite. |
void spr_x(int value); |
|---|
|
|
| void spr_y(int value); |
|---|
Set the y coordinate of the current sprite. |
void spr_pattern(int vaddr); |
|---|
|
void spr_ctrl(char mask, char value); |
|---|
|
|
| void spr_pal(char pal); |
|---|
Set the palette-block index (0-15) of the current sprite. |
void spr_pri(char pri); |
|---|
|
| ??? spr_get_x(void); |
|---|
Return the x coordinate of the current sprite. |
| ??? spr_get_y(void); |
|---|
Return the y coordinate of the current sprite. |
char spr_get_pal(void); |
|---|
|
??? spr_get_pattern(void); |
|---|
|
void spr_hide(void); |
|---|
void spr_hide(char num); |
|
void spr_show(void); |
|---|
void spr_show(char num); |
|