The SGADE Documentation

the SGADE 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.


Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

SoSpriteAnimation Struct Reference
[SoSpriteAnimation]

Sprite animation structure. More...

#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.

u8m_Data
 Actual frame data (palette indices).


Detailed Description

Sprite animation structure.

A single SoSpriteAnimation instance represents a collection of sprite frames.

All the members are private. Use the methods instead.


Field Documentation

bool SoSpriteAnimation::m_16Colors
 

True if the animation is 16 colors, false if 256 colors.

For internal use only.

u8* SoSpriteAnimation::m_Data
 

Actual frame data (palette indices).

For internal use only.

u8 SoSpriteAnimation::m_Height
 

Height of a single frame (in pixels);.

For internal use only.

u8 SoSpriteAnimation::m_NumFrames
 

Number of frames in the tileset.

For internal use only.

u8 SoSpriteAnimation::m_Width
 

Width of a single frame (in pixels);.

For internal use only.


The documentation for this struct was generated from the following file:
Copyright 2002 by the SGADE authors. See SoLicense.h or Visit the SGADE page for more information.