libnds
|
a font struct for the console. More...
#include <console.h>
Data Fields | |
u16 | asciiOffset |
Offset to the first valid character in the font table. | |
u8 | bpp |
Bits per pixel in the font graphics. | |
bool | convertSingleColor |
u16 * | gfx |
A pointer to the font graphics (will be loaded by consoleInit() if loadGraphics is true. | |
u16 | numChars |
Number of characters in the font graphics. | |
u16 | numColors |
Number of colors in the font palette. | |
u16 * | pal |
A pointer to the font palette (will be loaded by consoleInit() if loadGraphics is true. | |
a font struct for the console.
bool ConsoleFont::convertSingleColor |
If true font is treated as a single color font where all non zero pixels are set to a value of 15 or 255 (4bpp / 8bpp respectivly). This ensures only one palette entry is utilized for font rendering.