|
sgdk
|
VDP sprite definition structure replicating VDP hardware sprite. More...
#include <vdp_spr.h>
Public Attributes | |
| s16 | y |
| union { | |
| struct { | |
| u8 size | |
| u8 link | |
| } | |
| u16 size_link | |
| }; | |
| u16 | attribut |
| s16 | x |
VDP sprite definition structure replicating VDP hardware sprite.
| y | Y position - 0x80 (0x80 = 0 on screen) |
| size | sprite size (see SPRITE_SIZE macro) |
| link | sprite link, this information is used to define sprite drawing order (use 0 to force end of list) |
| attr | tile index and sprite attribut (priority, palette, H/V flip), see TILE_ATTR_FULL macro |
| x | X position - 0x80 (0x80 = 0 on screen) |