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.
#include "SoSystem.h"#include "SoBkg.h"#include "SoDisplay.h"#include "SoTileMap.h"Go to the source code of this file.
Data Structures | |
| struct | SoBkgMap |
| Background Map structure. More... | |
Defines | |
| #define | SO_BKG_MAP_MODE_RAW |
| flag - raw mode map | |
| #define | SO_BKG_MAP_MODE_DYNAMIC |
| flag - dynamic mode map | |
| #define | SoBkgMapIsDynamic(a_This) |
| Checks to see if the map is uses demand loaded tiles. | |
| #define | SoBkgMapGetBackground(a_This) |
| Returns the background used by the map. | |
Functions | |
| void | SoBkgMapInit (SoBkgMap *a_This, u16 a_Mode) |
| Initializes the SoBkgMap for use. | |
| void | SoBkgMapSetBackground (SoBkgMap *a_This, u32 a_Index) |
| Associates the map with a background. | |
| void | SoBkgMapSetTileMap (SoBkgMap *a_This, SoTileMap *a_TileMap) |
| Associates a TileMap with the BkgMap. | |
| void | SoBkgMapSetScroll (SoBkgMap *a_This, u16 a_XPos, u16 a_YPos) |
| Sets the scroll position of a map on a background. | |