Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
visual.h
Go to the documentation of this file.
1#ifndef JSTUDIOTOOLLIBRARY_VISUAL_H
2#define JSTUDIOTOOLLIBRARY_VISUAL_H
3
7
8namespace JStudioToolLibrary {
9 struct TRectangle {
11 TRectangle(int, int, int, int);
12
13 void set(int, int, int, int);
14 int getBottom() const;
15 int getTop() const;
16 int getRight() const;
17 int getLeft() const;
18 int getWidth() const;
19 int getHeight() const;
20
21 /* 0x00 */ int iLeft_;
22 /* 0x04 */ int iTop_;
23 /* 0x08 */ int iRight_;
24 /* 0x0C */ int iBottom_;
25 };
26
29
30 void setRender(J2DOrthoGraph* pOrthoGraph) {
31 pOrthoGraph_ = pOrthoGraph;
32 }
33
34 void fillRectangle(int, int, int, int);
36 void prepare();
37 bool isEnabled() const;
40 void frameRectangle(int, int, int, int);
42
44 };
45
74
75 struct TPrint {
77
78 int getY() const;
79 int getX() const;
80
81 void setFont(JUTFont* pFont) {
82 pFont_ = pFont;
83 }
84
86 void locate(int, int);
87 void prepare();
88 int getFontHeight() const;
89 int getFontWidth() const;
90 bool isEnabled() const;
92 void print(int);
93 void drawCharacter(int);
94 void print(const char*);
95 void print_f(const char*, ...);
96 void print_f_va(const char*, va_list);
97
98 /* 0x00 */ JUTFont* pFont_;
99 /* 0x04 */ int field_0x4;
100 /* 0x08 */ int field_0x8;
101 /* 0x0C */ int iX_;
102 /* 0x10 */ int iY_;
103 };
104
106 struct TVelocity {
108 TVelocity(int, int, int, int);
109
110 /* 0x00 */ int field_0x0;
111 /* 0x04 */ int field_0x4;
112 /* 0x08 */ int field_0x8;
113 /* 0x0C */ int field_0xc;
114 };
115
117 void update();
118 void updateValue_(u8*, int*);
119
122 };
123}
124
125#endif
Definition J2DOrthoGraph.h:10
Definition JUTFont.h:69
enum _GXPrimitive GXPrimitive
unsigned long u32
Definition types.h:12
float f32
Definition types.h:25
unsigned int uint
Definition types.h:35
unsigned char u8
Definition types.h:8
Definition anchor.h:6
TColor_variable(const JUtility::TColor &, const TVelocity &)
JUtility::TColor oColor_
Definition visual.h:120
TVelocity oVelocity_
Definition visual.h:121
void fillRectangle(int, int, int, int)
void setColor(const JUtility::TColor &)
void setColor(const JUtility::TColor &, const JUtility::TColor &, const JUtility::TColor &, const JUtility::TColor &)
void frameRectangle(int, int, int, int)
void setRender(J2DOrthoGraph *pOrthoGraph)
Definition visual.h:30
J2DOrthoGraph * pOrthoGraph_
Definition visual.h:43
void beginGX(GXPrimitive, u32)
f32 fLineWidth_
Definition visual.h:71
GXColor oColor_
Definition visual.h:72
Definition visual.h:75
void setColor(const JUtility::TColor &)
int iY_
Definition visual.h:102
int field_0x8
Definition visual.h:100
void setFont(JUTFont *pFont)
Definition visual.h:81
void print_f_va(const char *, va_list)
int iX_
Definition visual.h:101
JUTFont * pFont_
Definition visual.h:98
void print(const char *)
void print_f(const char *,...)
int field_0x4
Definition visual.h:99
Definition visual.h:9
TRectangle(int, int, int, int)
void set(int, int, int, int)
int iRight_
Definition visual.h:23
int iLeft_
Definition visual.h:21
int iTop_
Definition visual.h:22
int iBottom_
Definition visual.h:24
Definition TColor.h:12
Definition GXStruct.h:30