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.
00001 // ---------------------------------------------------------------------------- 00013 // ---------------------------------------------------------------------------- 00014 00015 #ifndef SO_SPRITE_MANAGER_H 00016 #define SO_SPRITE_MANAGER_H 00017 00018 #ifdef __cplusplus 00019 extern "C" { 00020 #endif 00021 00022 00023 // ---------------------------------------------------------------------------- //! @{ 00053 // ---------------------------------------------------------------------------- 00054 00055 00056 // ---------------------------------------------------------------------------- 00057 // Includes; 00058 // ---------------------------------------------------------------------------- 00059 00060 #include "SoSystem.h" 00061 #include "SoSprite.h" 00062 00063 // ---------------------------------------------------------------------------- 00064 // Public functions 00065 // ---------------------------------------------------------------------------- 00066 00067 void SoSpriteManagerInitialize( void ); 00068 00069 void SoSpriteManagerUpdate( void ); 00070 00071 void SoSpriteManagerEnableSprites( void ); 00072 void SoSpriteManagerDisableSprites( void ); 00073 00074 SoSprite* SoSpriteManagerRequestSprite( void ); 00075 void SoSpriteManagerRelease( SoSprite* a_Sprite ); 00076 00077 void SoSpriteManagerSetMosaic( u32 a_HorizontalSize, u32 a_VerticalSize ); 00078 u32 SoSpriteManagerGetHorizontalMosaic( void ); 00079 u32 SoSpriteManagerGetVerticalMosaic( void ); 00080 00081 void SoSpriteManagerSetRotationAndScale( u32 a_Index, s32 a_Angle, 00082 u32 a_FixedScaleX, u32 a_FixedScaleY ); 00083 00084 // ---------------------------------------------------------------------------- 00085 // EOF 00086 // ---------------------------------------------------------------------------- 00087 00089 00090 #ifdef __cplusplus 00091 } // extern "C" 00092 #endif 00093 00094 #endif