Sprite color table interface.
More...
Sprite color table interface.
◆ sprite_color
MSX2
Element of sprite color table (for sprite mode 2).
Definition at line 37 of file sprite_color.h.
Data Fields |
tagged_color_t |
tagged_colors[16] |
EC | CC | IC | 0 | Color Code |
◆ vmem_set_sprite_color()
MSX2
Set sprite color table element (tagged color for each scanlines) of a sprite.
- Parameters
-
base | Base address of the SPRITE ATTRIBUTE TABLE in VRAM. |
plane | The plane number. |
sprite_color | Pointer to constructed sprite color table element, that to be copied into VRAM. |
- Note
- For use with
SPRITE MODE 2
.
◆ vmem_set_sprite_color_s()
MSX
Set sprite color (tagged color) of a sprite.
- Parameters
-
base | Base address of the SPRITE ATTRIBUTE TABLE in VRAM. |
plane | The plane number. |
tagged_color | A color code and sprite attribute tags, that is applied for sprite of the sprite plane number plane . |
- Note
- For use with
SPRITE MODE 1
.
◆ vmem_set_sprite_color_m()
MSX
Set sprite color (tagged color) of some sprites.
- Parameters
-
base | Base address of the SPRITE ATTRIBUTE TABLE in VRAM. |
plane | The plane number. |
n | Number of planes |
tagged_colors | Array of color code and sprite attribute tags, that is applied for each sprite of the sprite plane number from plane to plane + n -1 , one by one. |
- Note
- For use with
SPRITE MODE 1
.