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:
28 /* 802E0148 */ JUTDbPrint(JUTFont*, JKRHeap*);
29 /* 802E0190 */ static JUTDbPrint* start(JUTFont*, JKRHeap*);
30 /* 802E0204 */ JUTFont* changeFont(JUTFont*);
31 /* 802E021C */ void enter(int, int, int, char const*, int);
32 /* 802E02DC */ void flush(int, int, int, int);
33 /* 802E02A4 */ void flush();
34 /* 802E0440 */ void drawString(int, int, int, u8 const*);
35
36 static JUTDbPrint* getManager() { return sDebugPrint; }
37
39 JUTFont* getFont() const { return mFont; }
40
42
43private:
44 /* 0x00 */ unk_print* mFirst;
45 /* 0x04 */ JUTFont* mFont;
47 /* 0x0C */ bool mVisible;
48 /* 0x10 */ JKRHeap* mHeap;
49};
50
51#endif /* JUTDBPRINT_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition JKRHeap.h:16
Definition JUTDbPrint.h:26
JUTFont * getFont() const
Definition JUTDbPrint.h:39
void drawString(int, int, int, u8 const *)
Definition JUTDbPrint.cpp:98
JKRHeap * mHeap
Definition JUTDbPrint.h:48
static JUTDbPrint * sDebugPrint
Definition JUTDbPrint.h:41
JUTFont * changeFont(JUTFont *)
Definition JUTDbPrint.cpp:39
void flush()
Definition JUTDbPrint.cpp:64
void enter(int, int, int, char const *, int)
Definition JUTDbPrint.cpp:48
unk_print * mFirst
Definition JUTDbPrint.h:44
bool mVisible
Definition JUTDbPrint.h:47
JUtility::TColor mColor
Definition JUTDbPrint.h:46
JUTFont * mFont
Definition JUTDbPrint.h:45
void setVisible(bool visible)
Definition JUTDbPrint.h:38
static JUTDbPrint * getManager()
Definition JUTDbPrint.h:36
Definition JUTFont.h:69
@ 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
signed short s16
Definition types.h:5
unsigned char u8
Definition types.h:8