Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_model.h
Go to the documentation of this file.
1#ifndef D_D_MODEL_H
2#define D_D_MODEL_H
3
5
6class J3DModelData;
7class dKy_tevstr_c;
8
9class dMdl_obj_c {
10public:
11 MtxP getMtx() { return mMtx; }
12
13 /* 0x00 */ Mtx mMtx;
14 /* 0x30 */ dMdl_obj_c* mpObj;
15};
16
17class dMdl_c : public J3DPacket {
18public:
19 /* 8009C650 */ void create(J3DModelData*, u16, dKy_tevstr_c*);
20 /* 8009C668 */ void entryObj(dMdl_obj_c*);
21 /* 8009C930 */ dMdl_c();
22
23 /* 8009C4FC */ virtual void draw();
24 /* 8009C808 */ virtual ~dMdl_c();
25
29
30private:
33 /* 0x18 */ u16 mMaterialId;
34 /* 0x1A */ bool field_0x1a;
36};
37
39public:
42
43 /* 8009C6DC */ dMdl_c* search(J3DModelData*, u16, dKy_tevstr_c*);
44 /* 8009C724 */ dMdl_c* entry(J3DModelData*, u16, dKy_tevstr_c*);
45 /* 8009C8D8 */ static dMdl_c* entry(J3DModelData*, u16, int);
46 /* 8009C7AC */ static void create();
47 /* 8009C864 */ static void remove();
48 /* 8009C8C0 */ static void reset();
49
51
52private:
53 /* 0x00 */ dMdl_c field_0x0[4];
54 /* 0x80 */ u8 field_0x80;
55};
56
57#endif /* D_D_MODEL_H */
Definition J3DPacket.h:100
Definition d_model.h:17
bool field_0x1a
Definition d_model.h:34
dKy_tevstr_c * mpTevstr
Definition d_model.h:32
virtual ~dMdl_c()
Definition d_model.cpp:116
J3DModelData * getModelData()
Definition d_model.h:26
u16 getMaterialId()
Definition d_model.h:27
dKy_tevstr_c * getTevstr()
Definition d_model.h:28
J3DModelData * mpModelData
Definition d_model.h:31
dMdl_c()
Definition d_model.cpp:145
void entryObj(dMdl_obj_c *)
Definition d_model.cpp:63
dMdl_obj_c * mpModelObj
Definition d_model.h:35
virtual void draw()
Definition d_model.cpp:24
void create(J3DModelData *, u16, dKy_tevstr_c *)
Definition d_model.cpp:55
u16 mMaterialId
Definition d_model.h:33
Definition d_model.h:38
~dMdl_mng_c()
Definition d_model.h:41
static void create()
Definition d_model.cpp:111
static void reset()
Definition d_model.cpp:127
static dMdl_mng_c * m_myObj
Definition d_model.h:50
static void remove()
Definition d_model.cpp:119
dMdl_c * entry(J3DModelData *, u16, dKy_tevstr_c *)
Definition d_model.cpp:90
dMdl_c * search(J3DModelData *, u16, dKy_tevstr_c *)
Definition d_model.cpp:76
dMdl_c field_0x0[4]
Definition d_model.h:53
dMdl_mng_c()
Definition d_model.h:40
u8 field_0x80
Definition d_model.h:54
Definition d_model.h:9
dMdl_obj_c * mpObj
Definition d_model.h:14
MtxP getMtx()
Definition d_model.h:11
Mtx mMtx
Definition d_model.h:13
f32(* MtxP)[4]
Definition mtx.h:18
f32 Mtx[3][4]
Definition mtx.h:15
Definition d_a_ep.cpp:51
Definition d_a_ep.cpp:49
unsigned short u16
Definition types.h:9
unsigned char u8
Definition types.h:8