Struct that holds information about backgrounds loaded to the screen.
More...
#include <nf_tiledbg.h>
|
u8 | tilebase |
| Initial VRAM block used by the tile set.
|
|
u8 | tileblocks |
| Number of blocks used by the tile set.
|
|
u8 | mapbase |
| Initial VRAM block used by the map.
|
|
u8 | mapblocks |
| Number of blocks used by the map.
|
|
u16 | bgwidth |
| Background width.
|
|
u16 | bgheight |
| Background height.
|
|
u16 | mapwidth |
| Map width.
|
|
u16 | mapheight |
| Map height.
|
|
u8 | bgtype |
| Background type.
|
|
u8 | bgslot |
| Graphics buffer used (NF_BUFFER_BGMAP)
|
|
u8 | blockx |
| Map block (horizontal)
|
|
u8 | blocky |
| Map block (vertical)
|
|
bool | created |
| True if the background has been created.
|
|
Struct that holds information about backgrounds loaded to the screen.
The hardware of the DS doesn't allow using maps bigger than 512x512 pixels. It is needed to keep a value that speficies if the hardware manages the background (if it's smaller or equal to 512x512), or if we use the tile swapping engine of NFLib (if it's bigger).
Background types:
- 0: Normal (max is 512 x 512)
- 1: Larger than 512 x 256
- 2: 256 x Largen than 512
- 3: Both dimensions are larger than 512
The documentation for this struct was generated from the following file: