libnds
Data Fields
ConsoleFont Struct Reference

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
 
u16gfx
 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.
 
u16pal
 A pointer to the font palette (will be loaded by consoleInit() if loadGraphics is true.
 

Detailed Description

a font struct for the console.

Field Documentation

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.


The documentation for this struct was generated from the following file: