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.h File Reference

#include "SoSystem.h"

Go to the source code of this file.

Data Structures

struct  SoSpriteAnimation
 Sprite animation structure. More...


Defines

#define SoSpriteAnimationGetFrameWidth(a_This)
 Returns width of animation frame in pixels.

#define SoSpriteAnimationGetFrameHeight(a_This)
 Returns height of animation frame in pixels.

#define SoSpriteAnimationGetNumFrames(a_This)
 Returns number of frames in the animation.

#define SoSpriteAnimationIs16Colors(a_This)
 Returns true if the animation is 16 colors, false if it is 256 colors.

#define SoSpriteAnimationGetData(a_This)
 Returns actual animation frame data (grahpics bytes).


Functions

u32 SoSpriteAnimationGetSize (const SoSpriteAnimation *a_This)
 Gets the size of the entire frame set.

u32 SoSpriteAnimationGetNumIndicesPerFrame (const SoSpriteAnimation *a_This)
 Returns the number of sprite memory indices (characters) a single frame occupies.


Detailed Description

Copyright (C) 2002 by the SGADE authors For conditions of distribution and use, see copyright notice in SoLicense.txt

Author:
Jaap Suter
Date:
Mar 14 2002
See the SoSpriteAnimation module for more information.


Copyright 2002 by the SGADE authors. See SoLicense.h or Visit the SGADE page for more information.