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  

SoBkgMemManager.h

Go to the documentation of this file.
00001 // ----------------------------------------------------------------------------
00013 // ----------------------------------------------------------------------------
00014 
00015 #ifndef SO_BKG_MEM_MANAGER_H
00016 #define SO_BKG_MEM_MANAGER_H
00017 
00018 #ifdef __cplusplus
00019     extern "C" {
00020 #endif
00021 
00022 // ---------------------------------------------------------------------------- //! @{
00040 // ----------------------------------------------------------------------------
00041 
00042 // ----------------------------------------------------------------------------
00043 // Includes
00044 // ----------------------------------------------------------------------------
00045 
00046 #include "SoSystem.h"
00047 #include "SoTileSet.h"
00048 
00049 // ----------------------------------------------------------------------------
00050 // Public methods;
00051 // ----------------------------------------------------------------------------
00052 
00053 void SoBkgMemManagerPreInitialize(void);
00054 void SoBkgMemManagerAllocTileSet(const SoTileSet* a_TileSet, u32 a_CharBase, u32 a_BaseIdx);
00055 void SoBkgMemManagerAllocBkg(u32 a_Options);
00056 void SoBkgMemManagerInitialize(void);
00057 
00058 void SoBkgMemManagerSetTileSet(const SoTileSet *a_TileSet, u16 *a_TileMapBuffer);
00059 
00060 u16  SoBkgMemManagerAllocTile(u32 a_TileIdx);
00061 void SoBkgMemManagerFreeTile(u32 a_TileIdx);
00062 
00063 u16  SoBkgMemManagerAllocTile16(u32 a_TileIdx);
00064 void SoBkgMemManagerFreeTile16(u32 a_TileIdx);
00065 
00066 /*
00067 void SoBkgMemManagerAllocBkg(u32 a_Options);
00068 void SoBkgMemManagerFreeBkg(u32 a_Options);
00069 
00070 void SoBkgMemManagerAllocTileSet(const SoTileSet* a_This, u32 a_CharBase, u32 a_BaseIdx);
00071 void SoBkgMemManagerFreeTileSet(const SoTileSet* a_This, u32 a_CharBase, u32 a_BaseIdx);
00072 */
00073 
00074 // ----------------------------------------------------------------------------
00075 // EOF
00076 // ----------------------------------------------------------------------------
00077 
00079 
00080 #ifdef __cplusplus
00081 } // extern "C"
00082 #endif
00083 
00084 #endif // SO_BKG_MEM_MANAGER_H

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