Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
print.h
Go to the documentation of this file.
1 #ifndef _PRINT_H
2 #define _PRINT_H
3 
4 #include "types.h"
5 
6 #define TEXRECT_MIN_X 10
7 #define TEXRECT_MAX_X 300
8 #define TEXRECT_MIN_Y 5
9 #define TEXRECT_MAX_Y 220
10 
11 #define GLYPH_SPACE -1
12 #define GLYPH_U 30
13 #define GLYPH_EXCLAMATION_PNT 36
14 #define GLYPH_TWO_EXCLAMATION 37
15 #define GLYPH_QUESTION_MARK 38
16 #define GLYPH_AMPERSAND 39
17 #define GLYPH_PERCENT 40
18 #define GLYPH_MULTIPLY 50
19 #define GLYPH_COIN 51
20 #define GLYPH_MARIO_HEAD 52
21 #define GLYPH_STAR 53
22 #define GLYPH_PERIOD 54
23 #define GLYPH_BETA_KEY 55
24 #define GLYPH_UMLAUT 58
25 
26 extern void print_text_fmt_int(s32 x, s32 y, const char *str, s32 n);
27 extern void print_text(s32 x, s32 y, const char *str);
28 extern void print_text_centered(s32 x, s32 y, const char *str);
29 extern void render_text_labels(void);
30 
31 #endif /* _PRINT_H */
signed int s32
Definition: ultratypes.h:15