Text rendering configuration. More...
#include <text.h>
Public Attributes | |
| u16 | font_tile |
| u8 | map_width |
| u8 | palette |
| u8 | priority |
| u16 | tilemap_addr |
Text rendering configuration.
| u16 TextConfig::font_tile |
First tile number of font in VRAM
| u8 TextConfig::map_width |
Tilemap width in tiles. 32 only. textInit sets it, tilemapBuffer is sized for 32x32 and the NMI's flush sends the buffer's bytes, so writing 64 here indexes past the buffer instead of widening anything.
| u8 TextConfig::palette |
Palette number (0-7)
| u8 TextConfig::priority |
Priority bit (0 or 1)
| u16 TextConfig::tilemap_addr |
VRAM address of tilemap (word address)