Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_mirror.h
Go to the documentation of this file.
1#ifndef D_A_MIRROR_H
2#define D_A_MIRROR_H
3
5
6class dMirror_packet_c : public J3DPacket {
7public:
8 /* 80870BD8 */ dMirror_packet_c();
9 /* 80870C94 */ void reset();
10 /* 80870CA0 */ void calcMinMax();
11 /* 80870D58 */ int entryModel(J3DModel*);
12 /* 80870D88 */ void mirrorZdraw(f32*, f32*, f32, f32, f32, f32, f32, f32);
13 /* 80871268 */ void modelDraw(J3DModel*, f32 (*)[4]);
14 /* 8087146C */ void mainDraw();
15 /* 80871D84 */ virtual void draw();
16 /* 80871E84 */ virtual ~dMirror_packet_c();
18 GXTexObj& getTexObj() { return mTexObj; }
19 cXyz* getQuad() { return mQuad; }
20
21 /* 0x010 */ GXTexObj mTexObj;
22 /* 0x030 */ u8 mModelCount;
23 /* 0x034 */ J3DModel* mModels[0x40];
24 /* 0x134 */ cXyz mQuad[4];
25 /* 0x164 */ cXyz mMinVal;
26 /* 0x170 */ cXyz mMaxVal;
27 /* 0x17C */ cXyz mViewScale;
28};
29
39public:
40 /* 80871E24 */ daMirror_c();
41 /* 80871F08 */ BOOL createHeap();
42 /* 80871F78 */ void setModelMtx();
43 /* 8087206C */ inline int create();
44 /* 808723E4 */ int execute();
45 /* 80872560 */ int entryModel(J3DModel*);
46 /* 8003194C */ static int entry(J3DModel*);
47 /* 80031990 */ static bool remove();
48
49 inline int Delete();
50 inline int draw();
51
52 s32 getType() { return fopAcM_GetParamBit(this, 0, 8); }
53 s32 getSw() { return fopAcM_GetParamBit(this, 8, 8); }
54 static u32 getMirrorRoomPrm() { return 0xFF03; }
55
59
61 /* 0x6f8 */ J3DModel* mpModel;
62};
63
64
65#endif /* D_A_MIRROR_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition J3DPacket.h:100
Definition d_a_mirror.h:6
cXyz mMaxVal
Definition d_a_mirror.h:26
void mainDraw()
Definition d_a_mirror.cpp:248
int entryModel(J3DModel *)
Definition d_a_mirror.cpp:76
cXyz mViewScale
Definition d_a_mirror.h:27
u8 mModelCount
Definition d_a_mirror.h:22
void mirrorZdraw(f32 *, f32 *, f32, f32, f32, f32, f32, f32)
Definition d_a_mirror.cpp:87
void reset()
Definition d_a_mirror.cpp:32
virtual ~dMirror_packet_c()
Definition d_a_mirror.cpp:457
cXyz & getViewScale()
Definition d_a_mirror.h:17
GXTexObj mTexObj
Definition d_a_mirror.h:21
J3DModel * mModels[0x40]
Definition d_a_mirror.h:23
cXyz mMinVal
Definition d_a_mirror.h:25
void calcMinMax()
Definition d_a_mirror.cpp:37
dMirror_packet_c()
Definition d_a_mirror.cpp:27
cXyz * getQuad()
Definition d_a_mirror.h:19
cXyz mQuad[4]
Definition d_a_mirror.h:24
void modelDraw(J3DModel *, f32(*)[4])
Definition d_a_mirror.cpp:192
GXTexObj & getTexObj()
Definition d_a_mirror.h:18
virtual void draw()
Definition d_a_mirror.cpp:441
Mirror.
Definition d_a_mirror.h:38
int Delete()
Definition d_a_mirror.cpp:563
int(daMirror_c::* entryModelFunc)(J3DModel *)
Definition d_a_mirror.h:56
int entryModel(J3DModel *)
Definition d_a_mirror.cpp:633
static entryModelFunc m_entryModel
Definition d_a_mirror.h:57
int create()
Definition d_a_mirror.cpp:488
static bool remove()
Definition d_com_static.cpp:376
int draw()
Definition d_a_mirror.cpp:611
BOOL createHeap()
Definition d_a_mirror.cpp:460
static daMirror_c * m_myObj
Definition d_a_mirror.h:58
s32 getType()
Definition d_a_mirror.h:52
static int entry(J3DModel *)
Definition d_com_static.cpp:368
int execute()
Definition d_a_mirror.cpp:586
void setModelMtx()
Definition d_a_mirror.cpp:471
daMirror_c()
Definition d_a_mirror.cpp:452
static u32 getMirrorRoomPrm()
Definition d_a_mirror.h:54
J3DModel * mpModel
Definition d_a_mirror.h:61
dMirror_packet_c mPacket
Definition d_a_mirror.h:60
s32 getSw()
Definition d_a_mirror.h:53
u32 fopAcM_GetParamBit(void *ac, u8 shift, u8 bit)
Definition f_op_actor_mng.h:228
Definition d_a_ep.cpp:155
Definition d_a_ep.cpp:147
Definition d_a_hozelda.cpp:20
Definition d_a_ep.cpp:19
Definition d_a_hozelda.cpp:14
int BOOL
Definition types.h:27
unsigned long u32
Definition types.h:10
float f32
Definition types.h:22
signed long s32
Definition types.h:6
unsigned char u8
Definition types.h:8