SGDK
A free and open development kit for the Sega Mega Drive
Loading...
Searching...
No Matches
AnimationFrame Struct Reference

Sprite animation frame structure. More...

#include <sprite_eng.h>

Collaboration diagram for AnimationFrame:
[legend]

Public Attributes

s8 numSprite
 
u8 timer
 
TileSettileset
 
Collisioncollision
 
FrameVDPSprite frameVDPSprites []
 

Detailed Description

Sprite animation frame structure.

Parameters
numSpritenumber 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
timeractive time for this frame (in 1/60 of second)
tilesettileset containing tiles for this animation frame (ordered for sprite)
collisioncollision structure (not used currently)
frameSpritesarray of VDP sprites info composing the frame

The documentation for this struct was generated from the following file: