PVSnesLib
4.3.0
Documentation to code in C or ASM for the Nintendo SNES
|
Dynamic sprite definition (16 bytes) More...
#include <sprite.h>
Data Fields | |
u16 | dummy1 |
12..15 to be 16 aligned | |
u8 | oamattribute |
6 sprite attribute value (vhoopppc v : vertical flip h: horizontal flip o: priority bits p: palette num c : last byte of tile num) | |
u16 | oamframeid |
4 frame index in graphic file of the sprite | |
u8 * | oamgraphics |
8..11 pointer to graphic file | |
u8 | oamrefresh |
7 =1 if we need to load graphics from graphic file | |
s16 | oamx |
0 x position on the screen | |
s16 | oamy |
2 y position on the screen | |
Dynamic sprite definition (16 bytes)