Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_obj_cwall.h
Go to the documentation of this file.
1#ifndef D_A_OBJ_CWALL_H
2#define D_A_OBJ_CWALL_H
3
5#include "d/d_cc_d.h"
7
17public:
18 struct chain_s {
19 public:
20 /* 80BD6E94 */ ~chain_s();
21 /* 80BD6ED0 */ chain_s();
22
25 };
26
27 enum Type {
30 };
31
32 typedef void (daObjCwall_c::*modeFunc)();
33
34 /* 80BD6A4C */ void initBaseMtx();
35 /* 80BD6A88 */ void setBaseMtx();
36 /* 80BD6AEC */ int Create();
37 /* 80BD6D08 */ int CreateHeap();
38 /* 80BD6ED4 */ int create1st();
39 /* 80BD6F80 */ int Execute(Mtx**);
40 /* 80BD7288 */ void setTension();
41 /* 80BD7718 */ void calcSePos();
42 /* 80BD7788 */ void getChainBasePos(cXyz*);
43 /* 80BD7804 */ void setChainMtx();
44 /* 80BD7AD4 */ void chain_control();
45 /* 80BD7ED8 */ void chain_control2();
46 /* 80BD84C0 */ void block_mode_proc_call();
47 /* 80BD8594 */ void initWait();
48 /* 80BD85C0 */ void modeWait();
49 /* 80BD8748 */ void initWalk();
50 /* 80BD8778 */ void modeWalk();
51 /* 80BD8BC8 */ void initClose();
52 /* 80BD8BF0 */ void modeClose();
53 /* 80BD935C */ void setPower(f32, s16*);
54 /* 80BD9414 */ BOOL checkWall();
55 /* 80BD95A0 */ BOOL checkPullNow();
56 /* 80BD977C */ BOOL checkPull();
57 /* 80BD9848 */ int Draw();
58 /* 80BD9948 */ int Delete();
59
60 u8 getArg0() { return fopAcM_GetParamBit(this, 0, 4); }
61 u8 getType() { return fopAcM_GetParamBit(this, 4, 4); }
62 u8 getSwbit() { return fopAcM_GetParamBit(this, 8, 8); }
63
64private:
66 /* 0x5A8 */ J3DModel* mWallModel;
67 /* 0x5AC */ dCcD_Stts mStts;
68 /* 0x5E8 */ dCcD_Cyl mCyl;
69 /* 0x724 */ dCcD_Sph mSph;
70 /* 0x85C */ dCcD_Cyl mCyls[4];
71 /* 0xD4C */ dCcD_Cyl mCyl2;
72 /* 0xE88 */ J3DModel* mHandleModel;
73 /* 0xE8C */ chain_s* mChains;
74 /* 0xE90 */ u8 field_0xe90;
75 /* 0xE91 */ u8 field_0xe91;
76 /* 0xE92 */ u8 field_0xe92;
77 /* 0xE93 */ u8 field_0xe93;
78 /* 0xE94 */ cXyz field_0xe94[7];
79 /* 0xEE8*/ f32 field_0xee8[7];
80 /* 0xF04 */ u8 field_0xf04[7];
81 /* 0xF0B */ u8 field_0xf0b;
82 /* 0xF0C */ u8 field_0xf0c;
83 /* 0xF0D */ u8 field_0xf0d;
84 /* 0xF0E */ u8 field_0xf0e;
85 /* 0xF0F */ u8 field_0xf0f;
86 /* 0xF10 */ u8 field_0xf10;
87 /* 0xF11 */ u8 mType;
88 /* 0xF12 */ u8 field_0xf12;
89 /* 0xF14 */ s16 field_0xf14;
90 /* 0xF16 */ s16 field_0xf16;
91 /* 0xF18 */ s16 field_0xf18;
92 /* 0xF1A */ s16 field_0xf1a;
93 /* 0xF1C */ s16 field_0xf1c;
94 /* 0xF20 */ cXyz field_0xf20;
95 /* 0xF2C */ cXyz field_0xf2c;
96 /* 0xF38 */ cXyz field_0xf38;
97 /* 0xF44 */ cXyz field_0xf44;
98 /* 0xF50 */ f32 field_0xf50;
99 /* 0xF54 */ f32 field_0xf54;
100 /* 0xF58 */ u8 field_0xf58;
101 /* 0xF58 */ u8 field_0xf59;
102};
103
104STATIC_ASSERT(sizeof(daObjCwall_c) == 0xf5c);
105
106
107#endif /* D_A_OBJ_CWALL_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:79
Definition d_bg_s_movebg_actor.h:10
Definition d_cc_d.h:432
Chain Wall.
Definition d_a_obj_cwall.h:16
u8 field_0xe93
Definition d_a_obj_cwall.h:77
s16 field_0xf1a
Definition d_a_obj_cwall.h:92
u8 field_0xf0c
Definition d_a_obj_cwall.h:82
u8 field_0xf0b
Definition d_a_obj_cwall.h:81
cXyz field_0xf20
Definition d_a_obj_cwall.h:94
cXyz field_0xf38
Definition d_a_obj_cwall.h:96
int CreateHeap()
Definition d_a_obj_cwall.cpp:182
void initBaseMtx()
Definition d_a_obj_cwall.cpp:18
f32 field_0xf54
Definition d_a_obj_cwall.h:99
void modeWalk()
Definition d_a_obj_cwall.cpp:718
s16 field_0xf14
Definition d_a_obj_cwall.h:89
cXyz field_0xf2c
Definition d_a_obj_cwall.h:95
int Delete()
Definition d_a_obj_cwall.cpp:945
u8 field_0xe91
Definition d_a_obj_cwall.h:75
Type
Definition d_a_obj_cwall.h:27
@ TYPE_0
Definition d_a_obj_cwall.h:28
@ TYPE_1
Definition d_a_obj_cwall.h:29
s16 field_0xf16
Definition d_a_obj_cwall.h:90
dCcD_Cyl mCyl2
Definition d_a_obj_cwall.h:71
void chain_control2()
Definition d_a_obj_cwall.cpp:559
u8 field_0xf0d
Definition d_a_obj_cwall.h:83
void setPower(f32, s16 *)
Definition d_a_obj_cwall.cpp:845
void setChainMtx()
Definition d_a_obj_cwall.cpp:455
u8 field_0xf0e
Definition d_a_obj_cwall.h:84
u8 field_0xe90
Definition d_a_obj_cwall.h:74
cXyz field_0xf44
Definition d_a_obj_cwall.h:97
int Execute(Mtx **)
Definition d_a_obj_cwall.cpp:236
u8 field_0xf04[7]
Definition d_a_obj_cwall.h:80
void initClose()
Definition d_a_obj_cwall.cpp:750
void modeWait()
Definition d_a_obj_cwall.cpp:675
void modeClose()
Definition d_a_obj_cwall.cpp:757
void initWait()
Definition d_a_obj_cwall.cpp:667
int Draw()
Definition d_a_obj_cwall.cpp:924
u8 field_0xf0f
Definition d_a_obj_cwall.h:85
void getChainBasePos(cXyz *)
Definition d_a_obj_cwall.cpp:447
J3DModel * mWallModel
Definition d_a_obj_cwall.h:66
u8 field_0xf58
Definition d_a_obj_cwall.h:100
u8 field_0xe92
Definition d_a_obj_cwall.h:76
void(daObjCwall_c::* modeFunc)()
Definition d_a_obj_cwall.h:32
BOOL checkPullNow()
Definition d_a_obj_cwall.cpp:882
void chain_control()
Definition d_a_obj_cwall.cpp:489
dCcD_Stts mStts
Definition d_a_obj_cwall.h:67
u8 field_0xf59
Definition d_a_obj_cwall.h:101
int Create()
Definition d_a_obj_cwall.cpp:147
chain_s * mChains
Definition d_a_obj_cwall.h:73
s16 field_0xf1c
Definition d_a_obj_cwall.h:93
u8 getSwbit()
Definition d_a_obj_cwall.h:62
u8 mType
Definition d_a_obj_cwall.h:87
f32 field_0xee8[7]
Definition d_a_obj_cwall.h:79
void setBaseMtx()
Definition d_a_obj_cwall.cpp:24
u8 field_0xf10
Definition d_a_obj_cwall.h:86
s16 field_0xf18
Definition d_a_obj_cwall.h:91
dCcD_Cyl mCyl
Definition d_a_obj_cwall.h:68
J3DModel * mHandleModel
Definition d_a_obj_cwall.h:72
void initWalk()
Definition d_a_obj_cwall.cpp:710
void calcSePos()
Definition d_a_obj_cwall.cpp:342
dCcD_Sph mSph
Definition d_a_obj_cwall.h:69
u8 getArg0()
Definition d_a_obj_cwall.h:60
dCcD_Cyl mCyls[4]
Definition d_a_obj_cwall.h:70
u8 field_0xf12
Definition d_a_obj_cwall.h:88
request_of_phase_process_class mPhase
Definition d_a_obj_cwall.h:65
cXyz field_0xe94[7]
Definition d_a_obj_cwall.h:78
f32 field_0xf50
Definition d_a_obj_cwall.h:98
void setTension()
Definition d_a_obj_cwall.cpp:296
int create1st()
Definition d_a_obj_cwall.cpp:222
BOOL checkPull()
Definition d_a_obj_cwall.cpp:911
BOOL checkWall()
Definition d_a_obj_cwall.cpp:861
void block_mode_proc_call()
Definition d_a_obj_cwall.cpp:654
u8 getType()
Definition d_a_obj_cwall.h:61
STATIC_ASSERT(sizeof(daObjCwall_c)==0xf5c)
u32 fopAcM_GetParamBit(void *ac, u8 shift, u8 bit)
Definition f_op_actor_mng.h:170
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:86
Definition d_a_npc_fguard.cpp:70
Definition d_a_obj_cwall.h:18
~chain_s()
Definition d_a_obj_cwall.cpp:214
J3DModel * mModel
Definition d_a_obj_cwall.h:23
chain_s()
Definition d_a_obj_cwall.cpp:218
cXyz mPos
Definition d_a_obj_cwall.h:24
Definition d_a_hozelda.cpp:14
int BOOL
Definition types.h:27
float f32
Definition types.h:22
signed short s16
Definition types.h:5
unsigned char u8
Definition types.h:8