Go to the source code of this file.
|
void | print_text_fmt_int (s32 x, s32 y, const char *str, s32 n) |
| Takes a number, finds the intended base, formats the number, and prints it at the given X & Y coordinates. More...
|
|
void | print_text (s32 x, s32 y, const char *str) |
| Prints text in the colorful lettering at given X, Y coordinates. More...
|
|
void | print_text_centered (s32 x, s32 y, const char *str) |
| Prints text in the colorful lettering centered at given X, Y coordinates. More...
|
|
void | render_text_labels (void) |
| Renders the text in sTextLabels on screen at the proper locations by iterating a for loop. More...
|
|
◆ GLYPH_AMPERSAND
#define GLYPH_AMPERSAND 39 |
◆ GLYPH_BETA_KEY
#define GLYPH_BETA_KEY 55 |
◆ GLYPH_COIN
◆ GLYPH_EXCLAMATION_PNT
#define GLYPH_EXCLAMATION_PNT 36 |
◆ GLYPH_MARIO_HEAD
#define GLYPH_MARIO_HEAD 52 |
◆ GLYPH_MULTIPLY
#define GLYPH_MULTIPLY 50 |
◆ GLYPH_PERCENT
◆ GLYPH_PERIOD
◆ GLYPH_QUESTION_MARK
#define GLYPH_QUESTION_MARK 38 |
◆ GLYPH_SPACE
◆ GLYPH_STAR
◆ GLYPH_TWO_EXCLAMATION
#define GLYPH_TWO_EXCLAMATION 37 |
◆ GLYPH_U
◆ GLYPH_UMLAUT
◆ TEXRECT_MAX_X
#define TEXRECT_MAX_X 300 |
◆ TEXRECT_MAX_Y
#define TEXRECT_MAX_Y 220 |
◆ TEXRECT_MIN_X
◆ TEXRECT_MIN_Y
◆ print_text()
Prints text in the colorful lettering at given X, Y coordinates.
◆ print_text_centered()
Prints text in the colorful lettering centered at given X, Y coordinates.
◆ print_text_fmt_int()
Takes a number, finds the intended base, formats the number, and prints it at the given X & Y coordinates.
Warning: this fails on too large numbers, because format_integer has bugs related to overflow. For romhacks, prefer sprintf + print_text.
◆ render_text_labels()
Renders the text in sTextLabels on screen at the proper locations by iterating a for loop.