|
libmsx
C library for MSX
|
Sprites. More...
Include dependency graph for sprite.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | sprite |
| Element of sprite attribute table. More... | |
Macros | |
| #define | SPRITE_H |
Typedefs | |
| typedef uint8_t | tagged_color_t |
| Color code with tags of sprite attribute table. | |
Enumerations | |
| enum | sprite_tag { SPRITE_TAG_IC = (1<<5) , SPRITE_TAG_CC = (1<<6) , SPRITE_TAG_EC = (1<<7) } |
| Enumerations for tags of sprite attribute table. More... | |
Functions | |
| void | sprite_set_x (struct sprite *s, int x) |
MSX Set x coordinates to a struct sprite. | |
| void | sprite_set_y (struct sprite *s, int y) |
MSX Set y coordinates to a struct sprite. | |
| void | sprite_set_xy (struct sprite *s, int x, int y) |
MSX Set x and y coordinates to a struct sprite. | |
| void | sprite_set_pat (struct sprite *s, uint8_t pat) |
MSX Set sprite pattern number to a struct sprite. | |
| void | sprite_set_color (struct sprite *s, tagged_color_t tagged_color) |
MSX Set tags and color code to a struct sprite. | |
| void | vmem_set_sprite (vmemptr_t base, uint8_t plane, const struct sprite *s) |
MSX Set sprite attribute table element. | |
| void | vmem_init_sprites (vmemptr_t base) |
MSX Initialize the sprite attribute table. | |
Sprites.
Definition in file sprite.h.