Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
Font Struct Reference

The font (FONT): three text styles, the length of each control code, and decode(), which turns the next character into kind << 8 | value: kind 0 a glyph (value - 4 indexes glyphs), 1 an icon, 2 a control code, 3 a missing character, 4 the end. More...

#include <engine/text.h>

Collaboration diagram for Font:
[legend]

Data Fields

struct TextStyle * styles
 [4], style 0 unused
 
s32 * codeLengths
 
void(* load )()
 
s16(* decode )()
 (text, sjis, style)
 

Detailed Description

The font (FONT): three text styles, the length of each control code, and decode(), which turns the next character into kind << 8 | value: kind 0 a glyph (value - 4 indexes glyphs), 1 an icon, 2 a control code, 3 a missing character, 4 the end.

Definition at line 211 of file text.h.

Field Documentation

◆ styles

struct TextStyle* Font::styles

[4], style 0 unused

Definition at line 212 of file text.h.

Referenced by createTextWindow(), and textWindowSetStyle().

◆ codeLengths

s32* Font::codeLengths

◆ load

void(* Font::load) ()

Definition at line 214 of file text.h.

Referenced by main(), and STDWTITL_tickMovie().

◆ decode

s16(* Font::decode) ()

(text, sjis, style)

Definition at line 215 of file text.h.

Referenced by measureText(), textCodeInsert(), textCodePageBreak(), textWindowDraw(), textWindowInsertPlayerName(), and textWindowShowPage().


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