|
SGDK
A free and open development kit for the Sega Mega Drive
|
Sprite animation frame structure. More...
#include <sprite_eng.h>
Public Attributes | |
| s8 | numSprite |
| u8 | timer |
| TileSet * | tileset |
| Collision * | collision |
| FrameVDPSprite | frameVDPSprites [] |
Sprite animation frame structure.
| numSprite | number of VDP sprite which compose this frame. bit 7 is used as a special flag for the sprite engine so always use 'numSprite & 0x7F' to just retrieve the number of sprite |
| timer | active time for this frame (in 1/60 of second) |
| tileset | tileset containing tiles for this animation frame (ordered for sprite) |
| collision | collision structure (not used currently) |
| frameSprites | array of VDP sprites info composing the frame |