src/window/text_tables.c
The text's tables: each glyph's width, the text colours' pens, and the party status's divider columns.
Variables
| Name | Description | |
|---|---|---|
const Uint8 | FontGlyphWidths [] | Each glyph's width in pixels from character 0x20: 224 in the Latin fonts, 96 in the Japanese one. |
const Uint8 | FontColorPens [16] | The {background, foreground} pens of the eight text colours. |
const Sint8 | WindowPartyColumnOffsets [] | The party status's divider columns, in tiles: the Djinn column's line first, then the members', ending at -1; mnWindowDrawColumnBorders reads from index 0 or 1 to that end. |
const Uint8 | WindowUnusedPartyColumnBytes [] | Unused: the HP and PP labels' tile numbers (WINDOW_TILE_HP_LABEL and WINDOW_TILE_PP_LABEL, each with its second tile and a 0), which nothing reads; the French edition drops them. |
Description
The text's tables: each glyph's width, the text colours' pens, and the party status's divider columns.
Variables in detail
FontGlyphWidths
const Uint8 FontGlyphWidths[]
Each glyph's width in pixels from character 0x20: 224 in the Latin fonts, 96 in the Japanese one.
Referenced by mnTextDrawStringAsTiles().
Definition at line 10 of file text_tables.c.
FontColorPens
const Uint8 FontColorPens[16]
The {background, foreground} pens of the eight text colours.
Referenced by mnTextDrawStringAsTiles().
Definition at line 30 of file text_tables.c.
WindowPartyColumnOffsets
const Sint8 WindowPartyColumnOffsets[]
The party status's divider columns, in tiles: the Djinn column's line first,
then the members', ending at -1; mnWindowDrawColumnBorders reads from index 0
or 1 to that end. A second list follows, which it never reaches.
Referenced by mnWindowDrawColumnBorders().
Definition at line 52 of file text_tables.c.
WindowUnusedPartyColumnBytes
const Uint8 WindowUnusedPartyColumnBytes[]
Unused: the HP and PP labels' tile numbers (WINDOW_TILE_HP_LABEL and
WINDOW_TILE_PP_LABEL, each with its second tile and a 0), which nothing
reads; the French edition drops them.
Definition at line 69 of file text_tables.c.