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 <SoTileMap.h>
Data Fields | |
| bool | m_16Colors |
| True if the map is 16 colors, false if 256 colors. | |
| u16 | m_PalBank |
| u16 | m_SizeX |
| number of columns in map | |
| u16 | m_SizeY |
| number of rows in map | |
| u16 * | m_Data |
| actual map data (tile indices) | |
A single SoTileMap instance represents a single playfield layout. The SoTileMap and it's Data may reside in ROM if no data will be written to it (such as for a static scrolling background). Conversely, the data must reside in RAM if it is to be updated.
All the members are private. Use the methods instead.
|
|
True if the map is 16 colors, false if 256 colors.
For internal use only.
|
|
|
actual map data (tile indices)
For internal use only.
|
|
|
For internal use only. The bank of colors to use for this map if in 16 color mode (0 - 15) |
|
|
number of columns in map
For internal use only.
|
|
|
number of rows in map
For internal use only.
|