Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_obj_chandelier.h
Go to the documentation of this file.
1#ifndef D_A_OBJ_CHANDELIER_H
2#define D_A_OBJ_CHANDELIER_H
3
6
9
19public:
27
28 /* 80BC7F38 */ daObjChandelier_c();
29 /* 80BC8008 */ int CreateHeap();
30 /* 80BC8160 */ int Delete();
31 /* 80BC8194 */ int Draw();
32 /* 80BC8238 */ int Execute(f32 (**)[3][4]);
33 /* 80BC82C0 */ void exeModeWait();
34 /* 80BC834C */ void exeModeStartSwg();
35 /* 80BC83E4 */ void exeModeDown();
36 /* 80BC84C0 */ void exeModeEndSwg();
37 /* 80BC851C */ void exeModeHookSwg();
38 /* 80BC85E4 */ void init();
39 /* 80BC86FC */ void setModelMtx();
40 /* 80BC8780 */ void moveSwing(f32, f32, f32, f32);
41 /* 80BC89B0 */ void moveSwingFall();
42 /* 80BC8B20 */ void hookSwingInitParm();
43
44 /* 80BC8078 */ virtual cPhs__Step create1st();
45 /* 80BC7F74 */ virtual ~daObjChandelier_c();
46
47 u8 getSW_0() { return fopAcM_GetParamBit(this, 4, 8); }
48 s32 getArg_0() { return fopAcM_GetParamBit(this, 0, 4); }
49
50 void moveHookOn() { field_0x60a = 1; }
51
52private:
53 /* 0x5A8 */ cXyz field_0x5a8;
54 /* 0x5B4 */ Mtx mMtx;
55 /* 0x5E4 */ u8 field_0x5e4[4];
56 /* 0x5E8 */ J3DModel* mpModel;
57 /* 0x5EC */ f32 field_0x5ec;
58 /* 0x5F0 */ f32 field_0x5f0;
59 /* 0x5F4 */ f32 field_0x5f4;
60 /* 0x5F8 */ f32 field_0x5f8;
61 /* 0x5FC */ s32 field_0x5fc;
62 /* 0x600 */ s32 mTimer;
63 /* 0x604 */ s16 field_0x604;
64 /* 0x606 */ s16 field_0x606;
65 /* 0x608 */ s8 field_0x608;
66 /* 0x609 */ u8 mMode;
67 /* 0x60A */ u8 field_0x60a;
68 /* 0x60B */ u8 field_0x60b;
69
71};
72
74
75#endif /* D_A_OBJ_CHANDELIER_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
cPhs__Step
Definition c_phase.h:8
Definition d_bg_s_movebg_actor.h:10
Hyrule Castle Chandelier.
Definition d_a_obj_chandelier.h:18
Mode
Definition d_a_obj_chandelier.h:20
@ MODE_HOOK_SWG
Definition d_a_obj_chandelier.h:25
@ MODE_DOWN
Definition d_a_obj_chandelier.h:23
@ MODE_START_SWG
Definition d_a_obj_chandelier.h:22
@ MODE_WAIT
Definition d_a_obj_chandelier.h:21
@ MODE_END_SWG
Definition d_a_obj_chandelier.h:24
s8 field_0x608
Definition d_a_obj_chandelier.h:65
void exeModeDown()
Definition d_a_obj_chandelier.cpp:133
void exeModeEndSwg()
Definition d_a_obj_chandelier.cpp:145
cXyz field_0x5a8
Definition d_a_obj_chandelier.h:53
void exeModeWait()
Definition d_a_obj_chandelier.cpp:103
void moveSwing(f32, f32, f32, f32)
Definition d_a_obj_chandelier.cpp:217
f32 field_0x5f4
Definition d_a_obj_chandelier.h:59
u8 field_0x60a
Definition d_a_obj_chandelier.h:67
u8 getSW_0()
Definition d_a_obj_chandelier.h:47
void moveHookOn()
Definition d_a_obj_chandelier.h:50
void hookSwingInitParm()
Definition d_a_obj_chandelier.cpp:259
s32 getArg_0()
Definition d_a_obj_chandelier.h:48
s32 mTimer
Definition d_a_obj_chandelier.h:62
f32 field_0x5f8
Definition d_a_obj_chandelier.h:60
s16 field_0x604
Definition d_a_obj_chandelier.h:63
virtual ~daObjChandelier_c()
Definition d_a_obj_chandelier.cpp:43
int CreateHeap()
Definition d_a_obj_chandelier.cpp:49
f32 field_0x5f0
Definition d_a_obj_chandelier.h:58
void setModelMtx()
Definition d_a_obj_chandelier.cpp:207
static daObjChandelier_proc s_exeProc[5]
Definition d_a_obj_chandelier.h:29
int Draw()
Definition d_a_obj_chandelier.cpp:82
u8 mMode
Definition d_a_obj_chandelier.h:66
virtual cPhs__Step create1st()
Definition d_a_obj_chandelier.cpp:59
u8 field_0x60b
Definition d_a_obj_chandelier.h:68
daObjChandelier_c()
Definition d_a_obj_chandelier.cpp:38
int Delete()
Definition d_a_obj_chandelier.cpp:76
int Execute(f32(**)[3][4])
Definition d_a_obj_chandelier.cpp:92
s16 field_0x606
Definition d_a_obj_chandelier.h:64
void exeModeHookSwg()
Definition d_a_obj_chandelier.cpp:157
void init()
Definition d_a_obj_chandelier.cpp:178
s32 field_0x5fc
Definition d_a_obj_chandelier.h:61
f32 field_0x5ec
Definition d_a_obj_chandelier.h:57
void exeModeStartSwg()
Definition d_a_obj_chandelier.cpp:117
J3DModel * mpModel
Definition d_a_obj_chandelier.h:56
void moveSwingFall()
Definition d_a_obj_chandelier.cpp:242
Mtx mMtx
Definition d_a_obj_chandelier.h:54
u8 field_0x5e4[4]
Definition d_a_obj_chandelier.h:55
void(daObjChandelier_c::* daObjChandelier_proc)()
Definition d_a_obj_chandelier.h:8
STATIC_ASSERT(sizeof(daObjChandelier_c)==0x60C)
u32 fopAcM_GetParamBit(void *ac, u8 shift, u8 bit)
Definition f_op_actor_mng.h:228
f32 Mtx[3][4]
Definition mtx.h:15
Definition d_a_ep.cpp:155
Definition d_a_hozelda.cpp:20
Definition d_a_hozelda.cpp:14
signed char s8
Definition types.h:4
float f32
Definition types.h:22
signed short s16
Definition types.h:5
signed long s32
Definition types.h:6
unsigned char u8
Definition types.h:8