Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_simple_model.h
Go to the documentation of this file.
1#ifndef D_D_SIMPLE_MODEL_H
2#define D_D_SIMPLE_MODEL_H
3
5
6class JKRSolidHeap;
7
9public:
10 void init() {
11 mpModel = NULL;
13 }
14
15 void set(J3DModel* model) { mpModel = model; }
16
17 /* 0x0 */ J3DModel* mpModel;
19};
20
22public:
23 /* 80048D60 */ diff_model_c();
24 /* 800490EC */ BOOL create(J3DModelData*, int, u8);
25 /* 800491F4 */ J3DModelData* getModelData();
26 /* 80049210 */ void remove(int);
27 /* 80049270 */ void draw();
28 /* 80049368 */ void init();
29 /* 80049388 */ BOOL isSame(J3DModelData*, int);
30 /* 800493FC */ s32 getRoomNo();
31 /* 80049408 */ void insert(modelList_c*);
32
33 J3DModel* getModel() { return mpModel; }
34
35private:
36 /* 0x00 */ JKRSolidHeap* mpHeap;
37 /* 0x04 */ J3DModel* mpModel;
38 /* 0x08 */ int mCreateNum;
39 /* 0x0C */ modelList_c* mpList;
40 /* 0x10 */ u8 mDrawBG;
41 /* 0x11 */ s8 mRoomNo;
42 /* 0x12 */ u8 field_0x12;
43}; // Size: 0x14
44
46public:
47 /* 80048CB4 */ dSmplMdl_draw_c();
48 /* 80048E0C */ void draw();
49 /* 80048EBC */ void entry(J3DModel*, int);
50 /* 80048F70 */ BOOL addModel(J3DModelData*, int, u8);
51 /* 80049058 */ int removeModel(J3DModelData*, int);
52
53 /* 80048D80 */ virtual ~dSmplMdl_draw_c();
54
55private:
56 /* 0x04 */ diff_model_c mModel[8];
57 /* 0xA4 */ int mListCount;
58 /* 0xA8 */ modelList_c mList[500];
59}; // Size: 0x1048
60
61#endif /* D_D_SIMPLE_MODEL_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition JKRSolidHeap.h:10
Definition d_simple_model.h:45
int mListCount
Definition d_simple_model.h:57
modelList_c mList[500]
Definition d_simple_model.h:58
void entry(J3DModel *, int)
Definition d_simple_model.cpp:75
dSmplMdl_draw_c()
Definition d_simple_model.cpp:26
int removeModel(J3DModelData *, int)
Definition d_simple_model.cpp:108
virtual ~dSmplMdl_draw_c()
Definition d_simple_model.cpp:48
BOOL addModel(J3DModelData *, int, u8)
Definition d_simple_model.cpp:90
void draw()
Definition d_simple_model.cpp:57
diff_model_c mModel[8]
Definition d_simple_model.h:56
Definition d_simple_model.h:21
void remove(int)
Definition d_simple_model.cpp:161
void insert(modelList_c *)
Definition d_simple_model.cpp:218
diff_model_c()
Definition d_simple_model.cpp:39
J3DModel * mpModel
Definition d_simple_model.h:37
s8 mRoomNo
Definition d_simple_model.h:41
BOOL isSame(J3DModelData *, int)
Definition d_simple_model.cpp:204
u8 field_0x12
Definition d_simple_model.h:42
modelList_c * mpList
Definition d_simple_model.h:39
u8 mDrawBG
Definition d_simple_model.h:40
JKRSolidHeap * mpHeap
Definition d_simple_model.h:36
void init()
Definition d_simple_model.cpp:195
void draw()
Definition d_simple_model.cpp:174
BOOL create(J3DModelData *, int, u8)
Definition d_simple_model.cpp:124
s32 getRoomNo()
Definition d_simple_model.cpp:213
J3DModelData * getModelData()
Definition d_simple_model.cpp:153
int mCreateNum
Definition d_simple_model.h:38
J3DModel * getModel()
Definition d_simple_model.h:33
Definition d_simple_model.h:8
modelList_c * field_0x4
Definition d_simple_model.h:18
void set(J3DModel *model)
Definition d_simple_model.h:15
J3DModel * mpModel
Definition d_simple_model.h:17
void init()
Definition d_simple_model.h:10
Definition d_a_ep.cpp:51
Definition d_a_ep.cpp:155
int BOOL
Definition types.h:27
signed char s8
Definition types.h:4
signed long s32
Definition types.h:6
unsigned char u8
Definition types.h:8