Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_obj_swhang.h
Go to the documentation of this file.
1#ifndef D_A_OBJ_SWHANG_H
2#define D_A_OBJ_SWHANG_H
3
6#include "d/d_cc_d.h"
7#include "d/d_event_lib.h"
8
18public:
19 /* 80CFB9D8 */ void initBaseMtx();
20 /* 80CFBA60 */ void setBaseMtx();
21 /* 80CFBDD0 */ void create1st();
22 /* 80CFC04C */ void calcHangPos();
23 /* 80CFC114 */ void checkDown();
24 /* 80CFC194 */ void changeOnStatus();
25 /* 80CFC1F4 */ void changeOffStatus();
26 /* 80CFC4C4 */ void action();
27 /* 80CFC550 */ void checkDownSw();
28 /* 80CFC698 */ void init_modeOffWait();
29 /* 80CFC6AC */ void modeOffWait();
30 /* 80CFCA34 */ void init_modeOnWait();
31 /* 80CFCA40 */ void modeOnWait();
32 /* 80CFCCE0 */ void eventStart();
33 /* 80CFD034 */ ~daObjSwHang_c();
34
35 /* 80CFBCB8 */ virtual int CreateHeap();
36 /* 80CFBAC8 */ virtual int Create();
37 /* 80CFC254 */ virtual int Execute(f32 (**)[3][4]);
38 /* 80CFCD04 */ virtual int Draw();
39 /* 80CFCD98 */ virtual int Delete();
40
41 cXyz getHangPos() { return mHangPos; }
42
43 void setHangPlayer() { mHangPlayer = 1; }
44 u8 getType() { return field_0x730; }
45
46private:
49 /* 0x5B8 */ J3DModel* mpModel;
50 /* 0x5BC */ dCcD_Stts mCcStts;
51 /* 0x5F8 */ dCcD_Sph mCcSph;
52 /* 0x730 */ u8 field_0x730;
53 /* 0x731 */ u8 mType;
54 /* 0x734 */ dBgW* mpBgW;
55 /* 0x738 */ Mtx field_0x738;
56 /* 0x768 */ int mTotteJointNo;
57 /* 0x76C */ f32 mHangLength;
58 /* 0x770 */ cXyz mHangPos;
59 /* 0x77C */ u8 mHangPlayer;
60 /* 0x77D */ u8 field_0x77d;
61 /* 0x77E */ u8 field_0x77e;
62 /* 0x780 */ u16 mFlags;
63 /* 0x784 */ f32 field_0x784;
64 /* 0x788 */ f32 field_0x788;
65 /* 0x78C */ s16 field_0x78c;
66};
67
68STATIC_ASSERT(sizeof(daObjSwHang_c) == 0x790);
69
70#endif /* D_A_OBJ_SWHANG_H */
Definition d_bg_s_movebg_actor.h:10
Definition d_bg_w.h:252
Definition d_cc_d.h:432
Definition d_event_lib.h:24
Dangle A.
Definition d_a_obj_swhang.h:17
dCcD_Sph mCcSph
Definition d_a_obj_swhang.h:51
void checkDownSw()
Definition d_a_obj_swhang.cpp:491
u8 field_0x77e
Definition d_a_obj_swhang.h:61
~daObjSwHang_c()
Definition d_a_obj_swhang.cpp:638
virtual int Draw()
Definition d_a_obj_swhang.cpp:575
void create1st()
Definition d_a_obj_swhang.cpp:406
cXyz mHangPos
Definition d_a_obj_swhang.h:58
dCcD_Stts mCcStts
Definition d_a_obj_swhang.h:50
u8 field_0x77d
Definition d_a_obj_swhang.h:60
f32 field_0x788
Definition d_a_obj_swhang.h:64
Mtx field_0x738
Definition d_a_obj_swhang.h:55
void initBaseMtx()
Definition d_a_obj_swhang.cpp:175
request_of_phase_process_class mPhase
Definition d_a_obj_swhang.h:48
cXyz getHangPos()
Definition d_a_obj_swhang.h:41
virtual int Create()
Definition d_a_obj_swhang.cpp:278
void modeOnWait()
Definition d_a_obj_swhang.cpp:565
dBgW * mpBgW
Definition d_a_obj_swhang.h:54
void modeOffWait()
Definition d_a_obj_swhang.cpp:554
void init_modeOnWait()
Definition d_a_obj_swhang.cpp:560
void calcHangPos()
Definition d_a_obj_swhang.cpp:429
void changeOnStatus()
Definition d_a_obj_swhang.cpp:440
int mTotteJointNo
Definition d_a_obj_swhang.h:56
void checkDown()
Definition d_a_obj_swhang.cpp:434
void init_modeOffWait()
Definition d_a_obj_swhang.cpp:497
J3DModel * mpModel
Definition d_a_obj_swhang.h:49
void eventStart()
Definition d_a_obj_swhang.cpp:570
u16 mFlags
Definition d_a_obj_swhang.h:62
dEvLib_callback_c field_0x5a0
Definition d_a_obj_swhang.h:47
virtual int Execute(f32(**)[3][4])
Definition d_a_obj_swhang.cpp:481
f32 mHangLength
Definition d_a_obj_swhang.h:57
virtual int Delete()
Definition d_a_obj_swhang.cpp:580
virtual int CreateHeap()
void changeOffStatus()
Definition d_a_obj_swhang.cpp:446
f32 field_0x784
Definition d_a_obj_swhang.h:63
void setBaseMtx()
Definition d_a_obj_swhang.cpp:180
u8 mType
Definition d_a_obj_swhang.h:53
u8 getType()
Definition d_a_obj_swhang.h:44
void action()
Definition d_a_obj_swhang.cpp:486
s16 field_0x78c
Definition d_a_obj_swhang.h:65
u8 mHangPlayer
Definition d_a_obj_swhang.h:59
u8 field_0x730
Definition d_a_obj_swhang.h:52
void setHangPlayer()
Definition d_a_obj_swhang.h:43
STATIC_ASSERT(sizeof(daObjSwHang_c)==0x790)
f32 Mtx[3][4]
Definition mtx.h:15
Definition d_a_ep.cpp:155
Definition d_a_hozelda.cpp:20
Definition d_a_npc_fguard.cpp:70
Definition d_a_hozelda.cpp:14
float f32
Definition types.h:22
signed short s16
Definition types.h:5
unsigned short u16
Definition types.h:9
unsigned char u8
Definition types.h:8