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

Go to the documentation of this file.
00001 // ----------------------------------------------------------------------------
00013 // ----------------------------------------------------------------------------
00014 
00015 #ifndef SO_SPRITE_MEM_MANAGER_H
00016 #define SO_SPRITE_MEM_MANAGER_H
00017 
00018 #ifdef __cplusplus
00019     extern "C" {
00020 #endif
00021 
00022 
00023 // ---------------------------------------------------------------------------- //! @{
00048 // ----------------------------------------------------------------------------
00049 
00050 // ----------------------------------------------------------------------------
00051 // Includes;
00052 // ----------------------------------------------------------------------------
00053 
00054 #include "SoSystem.h"
00055 #include "SoSpriteAnimation.h"
00056 #include "SoImage.h"
00057 
00058 // ----------------------------------------------------------------------------
00059 // Public functions;
00060 // ----------------------------------------------------------------------------
00061 
00062 void SoSpriteMemManagerInitialize( void );
00063 
00064 void SoSpriteMemManagerSetInBitmappedMode( bool a_Enable );
00065 
00066 void SoSpriteMemManagerCopyFromImage( u32 a_Index, SoImage* a_Image );
00067 u32  SoSpriteMemManagerLoadFromImage( SoImage* a_Image );
00068 
00069 u32  SoSpriteMemManagerLoad( const SoSpriteAnimation* a_Animation );
00070 u32  SoSpriteMemManagerLoadFrame( u16 a_Frame, const SoSpriteAnimation* a_Animation);
00071 void SoSpriteMemManagerCopyFrame(u32 a_Index, u16 a_Frame, const SoSpriteAnimation* a_Animation);
00072 void SoSpriteMemManagerRelease( u32 a_Index );
00073 
00074 // ----------------------------------------------------------------------------
00075 // EOF;
00076 // ----------------------------------------------------------------------------
00077 
00079 
00080 #ifdef __cplusplus
00081 } // extern "C"
00082 #endif
00083 
00084 #endif

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