#include <nds/jtypes.h>
マクロ定義 | |
| #define | CONSOLE_USE_COLOR255 16 |
関数 | |
| void | consoleInit (u16 *font, u16 *charBase, u16 numCharacters, u8 charStart, u16 *map, u8 pal, u8 bitDepth) |
| Initialise the console. | |
| void | consoleInitDefault (u16 *map, u16 *charBase, u8 bitDepth) |
| Initialize the console with some default parameters. | |
| void | consoleDemoInit (void) |
| Initialize the console to a default state for prototyping. This function sets the console to use sub display, VRAM_C, and BG0 and enables MODE_0_2D on the sub display. It is intended for use in prototyping applications which need print ability and not actual game use. Print functionality can be utilized with just this call. | |
| void | consoleClear (void) |
| Clears the screan by iprintf("\x1b[2J"); | |
| #define CONSOLE_USE_COLOR255 16 |
| void consoleClear | ( | void | ) |
Clears the screan by iprintf("\x1b[2J");
| void consoleDemoInit | ( | void | ) |
Initialize the console to a default state for prototyping. This function sets the console to use sub display, VRAM_C, and BG0 and enables MODE_0_2D on the sub display. It is intended for use in prototyping applications which need print ability and not actual game use. Print functionality can be utilized with just this call.
| void consoleInit | ( | u16 * | font, | |
| u16 * | charBase, | |||
| u16 | numCharacters, | |||
| u8 | charStart, | |||
| u16 * | map, | |||
| u8 | pal, | |||
| u8 | bitDepth | |||
| ) |
Initialise the console.
| font | base address of the 16 color font to use | |
| charBase | VRAM address to load the font | |
| numCharacters | number of characters in the font | |
| charStart | ascii code of the first character in the font | |
| map | base address of the map to use for printing | |
| pal | 16 color palette index to use | |
| bitDepth | 256/16 color tile flag. |
Initialize the console with some default parameters.
| charBase | VRAM address to load the font | |
| map | base address of the map to use for printing | |
| bitDepth | 256/16 color tile flag |
1.5.4