Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
JUTDirectPrint.h
Go to the documentation of this file.
1#ifndef JUTDIRECTPRINT_H
2#define JUTDIRECTPRINT_H
3
5#include "__va_arg.h"
6
12private:
13 /* 802E41E8 */ JUTDirectPrint();
14
15public:
16 /* 802E4288 */ void erase(int, int, int, int);
17 /* 802E431C */ void drawChar(int, int, int);
18 /* 802E456C */ void changeFrameBuffer(void*, u16, u16);
19 /* -------- */ void print(u16, u16, char const*, ...);
20 /* 802E45A4 */ void printSub(u16, u16, char const*, va_list, bool);
21 /* 802E46D8 */ void drawString(u16, u16, char*);
22 /* 802E4708 */ void drawString_f(u16, u16, char const*, ...);
23 /* 802E47C8 */ void setCharColor(u8, u8, u8);
24 /* 802E4798 */ void setCharColor(JUtility::TColor);
25
26 /* 802E4240 */ static JUTDirectPrint* start();
27
28 bool isActive() const { return field_0x00 != 0; }
31 void* getFrameBuffer() { return field_0x00; }
32
34
35private:
36 static u8 sAsciiTable[128];
37 static u32 sFontData[64];
38 static u32 sFontData2[77];
40 static u8 sDirectPrint_padding[4 /* padding */];
41
42private:
43 /* 0x00 */ void* field_0x00;
46 /* 0x08 */ u16 mStride;
47 /* 0x0A */ u16 field_0x0A;
48 /* 0x0C */ size_t mFrameBufferSize;
49 /* 0x10 */ u8 field_0x10[4];
50 /* 0x14 */ u16* mFrameBuffer;
52 /* 0x1C */ u16 mCharColor_Y;
53 /* 0x1E */ u16 mCharColor_Cb;
54 /* 0x20 */ u16 mCharColor_Cb2;
55 /* 0x22 */ u16 mCharColor_Cb4;
56 /* 0x24 */ u16 mCharColor_Cr;
57 /* 0x26 */ u16 mCharColor_Cr2;
58 /* 0x28 */ u16 mCharColor_Cr4;
59 /* 0x2A */ u16 field_0x2A;
60 /* 0x2C */
61};
62
63#endif /* JUTDIRECTPRINT_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition JUTDirectPrint.h:11
void drawString_f(u16, u16, char const *,...)
Definition JUTDirectPrint.cpp:237
u16 mCharColor_Cb
Definition JUTDirectPrint.h:53
void * field_0x00
Definition JUTDirectPrint.h:43
static u8 sAsciiTable[128]
Definition JUTDirectPrint.h:69
void drawChar(int, int, int)
Definition JUTDirectPrint.cpp:115
static JUTDirectPrint * start()
Definition JUTDirectPrint.cpp:32
static JUTDirectPrint * getManager()
Definition JUTDirectPrint.h:33
static u32 sFontData[64]
Definition JUTDirectPrint.h:81
static JUTDirectPrint * sDirectPrint
Definition JUTDirectPrint.h:39
void drawString(u16, u16, char *)
Definition JUTDirectPrint.cpp:232
u16 mCharColor_Cb4
Definition JUTDirectPrint.h:55
u16 mFrameBufferWidth
Definition JUTDirectPrint.h:44
u16 field_0x2A
Definition JUTDirectPrint.h:59
u16 mCharColor_Y
Definition JUTDirectPrint.h:52
size_t mFrameBufferSize
Definition JUTDirectPrint.h:48
void changeFrameBuffer(void *, u16, u16)
Definition JUTDirectPrint.cpp:174
u16 mFrameBufferHeight
Definition JUTDirectPrint.h:45
u16 field_0x0A
Definition JUTDirectPrint.h:47
u16 * mFrameBuffer
Definition JUTDirectPrint.h:50
void print(u16, u16, char const *,...)
Definition JUTDirectPrint.cpp:221
JUtility::TColor mCharColor
Definition JUTDirectPrint.h:51
u8 field_0x10[4]
Definition JUTDirectPrint.h:49
u16 mCharColor_Cr
Definition JUTDirectPrint.h:56
static u8 sDirectPrint_padding[4]
Definition JUTDirectPrint.h:40
JUTDirectPrint()
Definition JUTDirectPrint.cpp:26
u16 mCharColor_Cb2
Definition JUTDirectPrint.h:54
void erase(int, int, int, int)
Definition JUTDirectPrint.cpp:41
void printSub(u16, u16, char const *, va_list, bool)
Definition JUTDirectPrint.cpp:185
void * getFrameBuffer()
Definition JUTDirectPrint.h:31
void changeFrameBuffer(void *param_0)
Definition JUTDirectPrint.h:30
u16 mStride
Definition JUTDirectPrint.h:46
u16 mCharColor_Cr4
Definition JUTDirectPrint.h:58
JUtility::TColor getCharColor() const
Definition JUTDirectPrint.h:29
bool isActive() const
Definition JUTDirectPrint.h:28
u16 mCharColor_Cr2
Definition JUTDirectPrint.h:57
void setCharColor(u8, u8, u8)
Definition JUTDirectPrint.cpp:253
static u32 sFontData2[77]
Definition JUTDirectPrint.h:93
Definition TColor.h:12
unsigned long u32
Definition types.h:10
unsigned short u16
Definition types.h:9
unsigned char u8
Definition types.h:8