libnds
|
Console structure used to store the state of a console render context. More...
#include <console.h>
Data Fields | |
int | bgId |
bgId, should be set with a call to bgInit() or bgInitSub() | |
u8 | bgLayer |
Bg layer used by the background. | |
int | consoleHeight |
Height of the console hardware layer in tiles. | |
bool | consoleInitialised |
True if the console is initialized. | |
int | consoleWidth |
Width of the console hardware layer in tiles. | |
int | cursorX |
Current X location of the cursor (as a tile offset by default) | |
int | cursorY |
Current Y location of the cursor (as a tile offset by default) | |
ConsoleFont | font |
Font of the console. | |
u16 * | fontBgGfx |
Pointer to the bg layer graphics if used. Is set by bgInit if bgId is valid. | |
u16 * | fontBgMap |
Pointer to the bg layer map if used. Is set by bgInit if bgId is valid. | |
u16 | fontCharOffset |
Offset to the first graphics tile in background memory (in case your font is not loaded at a graphics base boundary) | |
u16 | fontCurPal |
The current palette used by the engine (only applies to 4bpp text backgrounds) | |
u8 | gfxBase |
Tile graphics base set by console init based on background setup. | |
bool | loadGraphics |
True if consoleInit should attempt to load font graphics into background memory. | |
u8 | mapBase |
Map base set by console init based on background setup. | |
int | prevCursorX |
Internal state. | |
int | prevCursorY |
Internal state. | |
ConsolePrint | PrintChar |
Callback for printing a character. It should return true if it has handled rendering the graphics (else the print engine will attempt to render via tiles) | |
int | tabSize |
Size of a tab. | |
int | windowHeight |
Window height in tiles (not implemented) | |
int | windowWidth |
Window width in tiles (not implemented) | |
int | windowX |
Window X location in tiles (not implemented) | |
int | windowY |
Window Y location in tiles (not implemented) | |
Console structure used to store the state of a console render context.
Default values from consoleGetDefault();