Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_obj_catdoor.h
Go to the documentation of this file.
1#ifndef D_A_OBJ_CATDOOR_H
2#define D_A_OBJ_CATDOOR_H
3
5#include "d/d_bg_w.h"
6
8public:
9 /* 0x00 */ J3DModel* pmodel;
10 /* 0x04 */ dBgW bgw;
11 /* 0xe0 */ Mtx mtx;
12 /* 0xf4 */ s16 angle;
13};
14
23class daObjCatDoor_c : public fopAc_ac_c {
24public:
25 inline ~daObjCatDoor_c();
26
27 /* 80BC42B8 */ const s16* attr() const;
28 /* 80BC43F4 */ void initBaseMtx();
29 /* 80BC4454 */ void setBaseMtx();
30 /* 80BC4560 */ void calcOpen();
31
32 u8 getSwitchNo() { return fopAcM_GetParam(this); }
33
34 inline int createHeap();
35 inline int draw();
36 inline int execute();
37 inline int create();
38 inline void create_init();
39
40private:
44 /* 0x760 */ Mtx mMtx;
45 /* 0x790 */ s16 mRotSpeed;
46
47public:
48 static u32 const M_attr;
49};
50
51#endif /* D_A_OBJ_CATDOOR_H */
Definition d_bg_w.h:252
Definition d_a_obj_catdoor.h:7
Mtx mtx
Definition d_a_obj_catdoor.h:11
dBgW bgw
Definition d_a_obj_catdoor.h:10
J3DModel * pmodel
Definition d_a_obj_catdoor.h:9
s16 angle
Definition d_a_obj_catdoor.h:12
Cat Door.
Definition d_a_obj_catdoor.h:23
s16 mRotSpeed
Definition d_a_obj_catdoor.h:45
void calcOpen()
Definition d_a_obj_catdoor.cpp:144
Mtx mMtx
Definition d_a_obj_catdoor.h:44
request_of_phase_process_class mPhaseReq
Definition d_a_obj_catdoor.h:41
u8 getSwitchNo()
Definition d_a_obj_catdoor.h:32
void create_init()
Definition d_a_obj_catdoor.cpp:99
int execute()
Definition d_a_obj_catdoor.cpp:64
void setBaseMtx()
Definition d_a_obj_catdoor.cpp:126
int draw()
Definition d_a_obj_catdoor.cpp:50
void initBaseMtx()
Definition d_a_obj_catdoor.cpp:117
const s16 * attr() const
Definition d_a_obj_catdoor.cpp:76
daObjCatDoor_Door_c mDoor2
Definition d_a_obj_catdoor.h:43
int create()
Definition d_a_obj_catdoor.cpp:85
~daObjCatDoor_c()
Definition d_a_obj_catdoor.cpp:17
daObjCatDoor_Door_c mDoor1
Definition d_a_obj_catdoor.h:42
int createHeap()
Definition d_a_obj_catdoor.cpp:27
static u32 const M_attr
Definition d_a_obj_catdoor.h:48
u32 fopAcM_GetParam(const void *pActor)
Definition f_op_actor_mng.h:224
f32 Mtx[3][4]
Definition mtx.h:15
Definition d_a_ep.cpp:155
Definition d_a_ep.cpp:19
Definition d_a_hozelda.cpp:14
unsigned long u32
Definition types.h:10
signed short s16
Definition types.h:5
unsigned char u8
Definition types.h:8