Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_pane_class.h
Go to the documentation of this file.
1#ifndef D_PANE_D_PANE_CLASS_H
2#define D_PANE_D_PANE_CLASS_H
3
6
7class JKRHeap;
8
11bool dPaneClass_setPriority(void**, JKRHeap*, J2DScreen*, char const*, u32, JKRArchive*);
12
13class CPaneMgr : public CPaneMgrAlpha {
14public:
15 /* 80253A18 */ virtual ~CPaneMgr();
16 /* 80253AB4 */ virtual void setAlpha(u8);
17
19 /* 80253930 */ CPaneMgr();
20 /* 80253B2C */ void reinit();
21 /* 80253C08 */ void initiate(J2DPane*, JKRExpHeap*);
22 /* 80254018 */ void childPaneGetSize(J2DPane*);
23 /* 80254134 */ void childPaneSetSize(J2DPane*, f32, f32);
24 /* 802542E8 */ f32 getGlobalPosX();
25 /* 80254364 */ f32 getGlobalPosY();
27 /* 802545B0 */ void paneTrans(f32, f32);
28 /* 80254638 */ void paneScale(f32, f32);
29 /* 802547CC */ bool scaleAnime(s16, f32, f32, u8);
32 /* 80254C90 */ Vec getGlobalVtx(J2DPane*, f32 (*)[3][4], u8, bool, s16);
33 /* 80254EBC */ Vec getGlobalVtxCenter(J2DPane*, bool, s16);
34 /* 80254FB8 */ JGeometry::TBox2<f32>* getBounds(J2DPane*);
35
37 return getGlobalVtx(getPanePtr(), param_0, param_1, param_2, param_3);
38 }
39
43
45 return getGlobalPosY() + mPane->getHeight() / 2;
46 }
47
49 return mPane->getBounds().i.x + mPane->getWidth() / 2;
50 }
51
53 void scale(f32 h, f32 v) { getPanePtr()->scale(h, v); }
54 void resize(f32 x, f32 y) { getPanePtr()->resize(x, y); }
55 void move(f32 x, f32 y) { getPanePtr()->move(x, y); }
56
59
60 f32 getPosX() { return getPanePtr()->getBounds().i.x; }
61 f32 getPosY() { return getPanePtr()->getBounds().i.y; }
62
63 f32 getSizeX() { return getPanePtr()->getWidth(); }
64 f32 getSizeY() { return getPanePtr()->getHeight(); }
65
67
68 f32 getInitCenterPosX() { return mInitPos.x + mInitSize.x * 0.5f; }
69
70 f32 getInitCenterPosY() { return mInitPos.y + mInitSize.y * 0.5f; }
71
72 f32 getInitPosX() { return mInitPos.x; }
73 f32 getInitPosY() { return mInitPos.y; }
74
77
80
83
86
87 f32 getScaleX() { return mPane->getScaleX(); }
88 f32 getScaleY() { return mPane->getScaleY(); }
89
92
95
96private:
97 /* 0x1C */ void* mpFirstStackSize;
98 /* 0x20 */ s16* field_0x20;
104 /* 0x4C */ f32 mRotateZ;
108 /* 0x60 */ s16 field_0x60;
109 /* 0x62 */ s16 field_0x62;
110 /* 0x64 */ s16 mScaleAnime;
111 /* 0x66 */ s16 field_0x66;
112 /* 0x68 */ s16 field_0x68;
113 /* 0x6A */ s16 mColorAnime;
114};
115
116#endif /* D_PANE_D_PANE_CLASS_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition d_pane_class_alpha.h:10
J2DPane * mPane
Definition d_pane_class_alpha.h:36
J2DPane * getPanePtr()
Definition d_pane_class_alpha.h:30
Definition d_pane_class.h:13
f32 getRotateZ()
Definition d_pane_class.h:66
f32 getGlobalPosY()
Definition d_pane_class.cpp:216
f32 getInitSizeX()
Definition d_pane_class.h:81
void initiate(J2DPane *, JKRExpHeap *)
Definition d_pane_class.cpp:79
JGeometry::TVec2< f32 > mInitSize
Definition d_pane_class.h:101
f32 getGlobalPosX()
Definition d_pane_class.cpp:206
void resize(f32 x, f32 y)
Definition d_pane_class.h:54
f32 getInitScaleX()
Definition d_pane_class.h:84
s16 mColorAnime
Definition d_pane_class.h:113
JUtility::TColor mInitWhite
Definition d_pane_class.h:106
f32 getScaleY()
Definition d_pane_class.h:88
void translate(f32 x, f32 y)
Definition d_pane_class.h:52
s16 field_0x66
Definition d_pane_class.h:111
JGeometry::TVec2< f32 > mInitPos
Definition d_pane_class.h:99
void move(f32 x, f32 y)
Definition d_pane_class.h:55
f32 getInitScaleY()
Definition d_pane_class.h:85
f32 getInitGlobalCenterPosX()
Definition d_pane_class.h:78
virtual ~CPaneMgr()
Definition d_pane_class.cpp:34
f32 mRotateZ
Definition d_pane_class.h:104
f32 getInitPosY()
Definition d_pane_class.h:73
s16 * field_0x20
Definition d_pane_class.h:98
f32 getSizeX()
Definition d_pane_class.h:63
Vec getGlobalVtx(Mtx *param_0, u8 param_1, bool param_2, s16 param_3)
Definition d_pane_class.h:36
JUtility::TColor getInitBlack()
Definition d_pane_class.h:93
Vec getGlobalVtx(J2DPane *, f32(*)[3][4], u8, bool, s16)
JUtility::TColor getInitWhite()
Definition d_pane_class.h:94
JGeometry::TVec2< f32 > mRotateOffset
Definition d_pane_class.h:105
void colorAnimeStart(s16 start)
Definition d_pane_class.h:58
f32 getGlobalCenterPosY()
Definition d_pane_class.h:44
void paneTrans(f32, f32)
Definition d_pane_class.cpp:271
f32 getInitSizeY()
Definition d_pane_class.h:82
Vec getGlobalVtxCenter(bool param_0, s16 param_1)
Definition d_pane_class.h:40
void childPaneGetSize(J2DPane *)
Definition d_pane_class.cpp:173
f32 getPosY()
Definition d_pane_class.h:61
s16 field_0x62
Definition d_pane_class.h:109
bool colorAnime(s16, JUtility::TColor, JUtility::TColor, JUtility::TColor, JUtility::TColor, u8)
Definition d_pane_class.cpp:316
f32 getInitGlobalPosX()
Definition d_pane_class.h:75
bool scaleAnime(s16, f32, f32, u8)
Definition d_pane_class.cpp:299
void childPaneSetSize(J2DPane *, f32, f32)
Definition d_pane_class.cpp:189
f32 getInitGlobalCenterPosY()
Definition d_pane_class.h:79
f32 getInitCenterPosX()
Definition d_pane_class.h:68
f32 getSizeY()
Definition d_pane_class.h:64
void scaleAnimeStart(s16 v)
Definition d_pane_class.h:57
virtual void setAlpha(u8)
Definition d_pane_class.cpp:46
s16 mScaleAnime
Definition d_pane_class.h:110
f32 getPosX()
Definition d_pane_class.h:60
void paneScale(f32, f32)
Definition d_pane_class.cpp:278
Vec getGlobalVtxCenter(J2DPane *, bool, s16)
Definition d_pane_class.cpp:426
f32 getTranslateX()
Definition d_pane_class.h:90
f32 getScaleX()
Definition d_pane_class.h:87
JGeometry::TBox2< f32 > * getBounds(J2DPane *)
Definition d_pane_class.cpp:444
JUtility::TColor mInitBlack
Definition d_pane_class.h:107
JGeometry::TVec2< f32 > mInitTrans
Definition d_pane_class.h:103
CPaneMgr()
Definition d_pane_class.cpp:20
void reinit()
Definition d_pane_class.cpp:56
f32 getInitGlobalPosY()
Definition d_pane_class.h:76
f32 getInitCenterPosY()
Definition d_pane_class.h:70
void setBlackWhite(JUtility::TColor, JUtility::TColor)
Definition d_pane_class.cpp:245
JGeometry::TVec2< f32 > mGlobalPos
Definition d_pane_class.h:100
s16 field_0x60
Definition d_pane_class.h:108
JGeometry::TVec2< f32 > mInitScale
Definition d_pane_class.h:102
f32 getInitPosX()
Definition d_pane_class.h:72
f32 getCenterPosX()
Definition d_pane_class.h:48
void scale(f32 h, f32 v)
Definition d_pane_class.h:53
void * mpFirstStackSize
Definition d_pane_class.h:97
f32 getTranslateY()
Definition d_pane_class.h:91
s16 field_0x68
Definition d_pane_class.h:112
Definition J2DPane.h:51
f32 getHeight() const
Definition J2DPane.h:124
JGeometry::TBox2< f32 > & getBounds()
Definition J2DPane.cpp:421
f32 getRotateZ() const
Definition J2DPane.h:139
f32 getWidth() const
Definition J2DPane.h:125
f32 getScaleX() const
Definition J2DPane.h:131
virtual void resize(f32 x, f32 y)
Definition J2DPane.cpp:396
f32 getTranslateY() const
Definition J2DPane.h:137
void scale(f32 scaleH, f32 scaleV)
Definition J2DPane.h:157
virtual void move(f32 x, f32 y)
Definition J2DPane.cpp:382
void translate(f32 transX, f32 transY)
Definition J2DPane.h:151
f32 getTranslateX() const
Definition J2DPane.h:135
f32 getScaleY() const
Definition J2DPane.h:133
Definition J2DScreen.h:48
Definition JKRArchive.h:57
Definition JKRHeap.h:16
bool dPaneClass_setPriority(void **, JKRHeap *, J2DScreen *, char const *, u32, JKRArchive *)
Definition d_pane_class.cpp:486
void dPaneClass_showNullPane(J2DScreen *)
Definition d_pane_class.cpp:466
double x double x
Definition e_atan2.c:58
double x double y
Definition e_atan2.c:58
double v
Definition e_pow.c:163
f32 Mtx[3][4]
Definition mtx.h:15
@ start
Definition strtoul.c:8
Definition JGeometry.h:496
T i
Definition JGeometry.h:467
Definition JGeometry.h:401
T x
Definition JGeometry.h:458
T y
Definition JGeometry.h:459
Definition d_a_balloon_2D.h:178
Definition TColor.h:12
Definition d_a_hozelda.cpp:18
unsigned long u32
Definition types.h:10
float f32
Definition types.h:22
signed short s16
Definition types.h:5
unsigned long long u64
Definition types.h:11
unsigned char u8
Definition types.h:8