|
sgdk
|
Sprite definition structure. More...
#include <sprite_eng.h>
Public Attributes | |
| u16 | w |
| u16 | h |
| Palette * | palette |
| u16 | numAnimation |
| Animation ** | animations |
| u16 | maxNumTile |
| u16 | maxNumSprite |
Sprite definition structure.
| w | frame cell width in pixel |
| h | frame cell height in pixel |
| palette | default palette data |
| numAnimation | number of animation for this sprite |
| animations | animation definitions |
| maxNumTile | maximum number of tile used by a single animation frame (used for VRAM tile space allocation) |
| maxNumSprite | maximum number of VDP sprite used by a single animation frame (used for VDP sprite allocation) |
Contains all animations for a Sprite and internal informations.