Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
JUTDbPrint.h
Go to the documentation of this file.
1#ifndef JUTDBPRINT_H
2#define JUTDBPRINT_H
3
5
6class JKRHeap;
7
8// TODO: fix struct
13struct unk_print {
14 /* 0x00 */ unk_print* mNext;
15 /* 0x04 */ s16 unk_0x04;
16 /* 0x06 */ s16 unk_0x06;
17 /* 0x08 */ s16 unk_0x08;
18 /* 0x0A */ s16 unk_0x0A;
19 /* 0x0C */ char unk_0x0C[0];
20};
21
27public:
29 static JUTDbPrint* start(JUTFont*, JKRHeap*);
31 void enter(int, int, int, char const*, int);
32 void flush(int, int, int, int);
33 void flush();
34 void drawString(int, int, int, u8 const*);
35
36 static JUTDbPrint* getManager() { return sDebugPrint; }
37
38 void setVisible(bool visible) { mVisible = visible; }
39 JUTFont* getFont() const { return mFont; }
40
42
44
45private:
46 /* 0x00 */ unk_print* mFirst;
47 /* 0x04 */ JUTFont* mFont;
49 /* 0x0C */ bool mVisible;
50 /* 0x10 */ JKRHeap* mHeap;
51};
52
53#endif /* JUTDBPRINT_H */
Definition JKRHeap.h:20
Definition JUTDbPrint.h:26
JUTFont * getFont() const
Definition JUTDbPrint.h:39
JUTDbPrint(JUTFont *, JKRHeap *)
Definition JUTDbPrint.cpp:9
void drawString(int, int, int, u8 const *)
Definition JUTDbPrint.cpp:85
JKRHeap * mHeap
Definition JUTDbPrint.h:50
static JUTDbPrint * sDebugPrint
Definition JUTDbPrint.h:43
JUTFont * changeFont(JUTFont *)
Definition JUTDbPrint.cpp:30
void flush()
Definition JUTDbPrint.cpp:53
void enter(int, int, int, char const *, int)
Definition JUTDbPrint.cpp:38
unk_print * mFirst
Definition JUTDbPrint.h:46
bool mVisible
Definition JUTDbPrint.h:49
JUtility::TColor mColor
Definition JUTDbPrint.h:48
JUTFont * mFont
Definition JUTDbPrint.h:47
void setVisible(bool visible)
Definition JUTDbPrint.h:38
void setCharColor(JUtility::TColor color)
Definition JUTDbPrint.h:41
static JUTDbPrint * getManager()
Definition JUTDbPrint.h:36
Definition JUTFont.h:69
static GXColor color
Definition d_a_obj_crope.cpp:39
signed short int s16
Definition types.h:9
unsigned char u8
Definition types.h:8
@ start
Definition strtoul.c:8
Definition TColor.h:12
Definition JUTDbPrint.h:13
char unk_0x0C[0]
Definition JUTDbPrint.h:19
s16 unk_0x04
Definition JUTDbPrint.h:15
s16 unk_0x0A
Definition JUTDbPrint.h:18
s16 unk_0x06
Definition JUTDbPrint.h:16
s16 unk_0x08
Definition JUTDbPrint.h:17
unk_print * mNext
Definition JUTDbPrint.h:14