The Socrates Gameboy Advance Development Engine
The SGADE is a development library for the Nintendo Gameboy
Advance. It's free for all uses and is distributed without guarantees.
For more information visit
the SGADE page.
#include <SoSpriteAnimation.h>
Data Fields | |
| bool | m_16Colors |
| True if the animation is 16 colors, false if 256 colors. | |
| u8 | m_Width |
| Width of a single frame (in pixels);. | |
| u8 | m_Height |
| Height of a single frame (in pixels);. | |
| u8 | m_NumFrames |
| Number of frames in the tileset. | |
| u8 * | m_Data |
| Actual frame data (palette indices). | |
A single SoSpriteAnimation instance represents a collection of sprite frames.
All the members are private. Use the methods instead.
|
|
True if the animation is 16 colors, false if 256 colors.
For internal use only.
|
|
|
Actual frame data (palette indices).
For internal use only.
|
|
|
Height of a single frame (in pixels);.
For internal use only.
|
|
|
Number of frames in the tileset.
For internal use only.
|
|
|
Width of a single frame (in pixels);.
For internal use only.
|