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#include "m_Do/m_Do_mtx.h"
6
7class J3DModelData;
8class dKy_tevstr_c;
9
11public:
12 MtxP getMtx() { return mMtx; }
14
15 /* 0x00 */ Mtx mMtx;
16 /* 0x30 */ dMdl_obj_c* mpObj;
17};
18
19class dMdl_c : public J3DPacket {
20public:
21 /* 8009C650 */ void create(J3DModelData*, u16, dKy_tevstr_c*);
22 /* 8009C668 */ void entryObj(dMdl_obj_c*);
23 /* 8009C930 */ dMdl_c();
24
25 /* 8009C4FC */ virtual void draw();
26 /* 8009C808 */ virtual ~dMdl_c();
27
31
32private:
35 /* 0x18 */ u16 mMaterialId;
36 /* 0x1A */ bool field_0x1a;
38};
39
41public:
44
45 /* 8009C6DC */ dMdl_c* search(J3DModelData*, u16, dKy_tevstr_c*);
46 /* 8009C724 */ dMdl_c* entry(J3DModelData*, u16, dKy_tevstr_c*);
47 /* 8009C8D8 */ static dMdl_c* entry(J3DModelData*, u16, int);
48 /* 8009C7AC */ static void create();
49 /* 8009C864 */ static void remove();
50 /* 8009C8C0 */ static void reset();
51
53
54private:
55 /* 0x00 */ dMdl_c field_0x0[4];
56 /* 0x80 */ u8 field_0x80;
57};
58
59#endif /* D_D_MODEL_H */
static Mtx mtx[10]
Definition c_lib.cpp:510
Definition J3DPacket.h:100
Definition d_model.h:19
bool field_0x1a
Definition d_model.h:36
dKy_tevstr_c * mpTevstr
Definition d_model.h:34
virtual ~dMdl_c()
Definition d_model.cpp:116
J3DModelData * getModelData()
Definition d_model.h:28
u16 getMaterialId()
Definition d_model.h:29
dKy_tevstr_c * getTevstr()
Definition d_model.h:30
J3DModelData * mpModelData
Definition d_model.h:33
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:37
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:35
Definition d_model.h:40
~dMdl_mng_c()
Definition d_model.h:43
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:52
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:55
dMdl_mng_c()
Definition d_model.h:42
u8 field_0x80
Definition d_model.h:56
Definition d_model.h:10
void setMtx(Mtx mtx)
Definition d_model.h:13
dMdl_obj_c * mpObj
Definition d_model.h:16
MtxP getMtx()
Definition d_model.h:12
Mtx mMtx
Definition d_model.h:15
void cMtx_copy(const Mtx src, Mtx dst)
Definition m_Do_mtx.h:95
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