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  

SoSpriteMemManager.h File Reference

#include "SoSystem.h"
#include "SoSpriteAnimation.h"
#include "SoImage.h"

Go to the source code of this file.

Functions

void SoSpriteMemManagerInitialize (void)
 Initializes the sprite memory manager.

void SoSpriteMemManagerSetInBitmappedMode (bool a_Enable)
 Use when you are in mode 3, 4, or 5 when using sprites.

void SoSpriteMemManagerCopyFromImage (u32 a_Index, SoImage *a_Image)
 Copies an image in sprite memory.

u32 SoSpriteMemManagerLoadFromImage (SoImage *a_Image)
 Loads an image in sprite memory and returns the index in sprite memory.

u32 SoSpriteMemManagerLoad (const SoSpriteAnimation *a_Animation)
 Loads a animation in sprite memory and returns the index in sprite memory.

u32 SoSpriteMemManagerLoadFrame (u16 a_Frame, const SoSpriteAnimation *a_Animation)
 Load an individual animation frame into memory.

void SoSpriteMemManagerCopyFrame (u32 a_Index, u16 a_Frame, const SoSpriteAnimation *a_Animation)
 Copy an individual animation frame into memory.

void SoSpriteMemManagerRelease (u32 a_Index)
 Releases a given tileset index from memory.


Detailed Description

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

Author:
Jaap Suter, Gabriele Scibilia
Date:
June 23, 2003
See the SoSpriteMemManager module for more information.


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