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  

SoSpriteManager.h File Reference

#include "SoSystem.h"
#include "SoSprite.h"

Go to the source code of this file.

Functions

void SoSpriteManagerInitialize (void)
 Initializes the sprite manager.

void SoSpriteManagerUpdate (void)
 Updates the sprite attributes in real object attribute memory.

void SoSpriteManagerEnableSprites (void)
 Enables sprite rendering.

void SoSpriteManagerDisableSprites (void)
 Disables sprites rendering.

SoSpriteSoSpriteManagerRequestSprite (void)
 Returns a pointer to an available sprite.

void SoSpriteManagerRelease (SoSprite *a_Sprite)
 Releases a sprite.

void SoSpriteManagerSetMosaic (u32 a_HorizontalSize, u32 a_VerticalSize)
 Sets the sprite mosaic values.

u32 SoSpriteManagerGetHorizontalMosaic (void)
 Returns the horizontal sprite mosaic value;.

u32 SoSpriteManagerGetVerticalMosaic (void)
 Returns the vertical sprite mosaic value;.

void SoSpriteManagerSetRotationAndScale (u32 a_Index, s32 a_Angle, u32 a_FixedScaleX, u32 a_FixedScaleY)
 Sets the rotation and scale values for the given index.


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:
Sep 19 2001
See the SoSpriteManager module for more information.


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