PVSnesLib
4.3.0
Documentation to code in C or ASM for the Nintendo SNES
|
Dynamic metasprite definition (16 bytes) More...
#include <sprite.h>
Data Fields | |
u16 | dummy1 |
u8 | metsprattribute |
u16 | metsprend |
u16 | metsprframeid |
u8 * | metsprgraphics |
s16 | metsprofsx |
s16 | metsprofsy |
u8 | metsprtype |
Dynamic metasprite definition (16 bytes)
u16 t_metasprites::dummy1 |
14..15 to be 16 aligned
u8 t_metasprites::metsprattribute |
6 sprite attribute value (vhoopppc v : vertical flip h: horizontal flip o: priority bits p: palette num c : last byte of tile num)
u16 t_metasprites::metsprend |
12..13 0xFFFF if it is the end of meta sprite definition
u16 t_metasprites::metsprframeid |
4 frame index in graphic file of the sprite
u8* t_metasprites::metsprgraphics |
8..11 pointer to graphic file
s16 t_metasprites::metsprofsx |
0 x offset of the current sprite in meta sprite
s16 t_metasprites::metsprofsy |
2 y offset of the current sprite in meta sprite
u8 t_metasprites::metsprtype |
7 1,2 or 4 for 32x32, 16x16, 8x8 sprite type