Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_tag_csw.h
Go to the documentation of this file.
1#ifndef D_A_TAG_CSW_H
2#define D_A_TAG_CSW_H
3
4#include "f_op/f_op_actor.h"
6#include "d/d_cc_d.h"
7
8class dBgW;
9
11 /* 80D56BD8 */ ~daTagCsw_c();
12 /* 80D56D98 */ void setMtx();
13 /* 80D56EF8 */ int createHeap();
14 /* 80D57320 */ int chkInsideStatueStart();
15 /* 80D573C0 */ int create();
16 /* 80D5789C */ int Delete();
17 /* 80D57968 */ void onLight();
18 /* 80D579A8 */ void offLight();
19 /* 80D579E8 */ int execute();
20 /* 80D583B8 */ int draw();
21
22 int getSw() { return fopAcM_GetParamBit(this, 1, 8); }
23 int getSw2() { return fopAcM_GetParamBit(this, 9, 8); }
24 int getType() { return fopAcM_GetParamBit(this, 0, 1); }
25 int getParam(int param_1, int param_2, int param_3) {
26 return (1 << param_3) - 1U & param_1 >> (param_2 & 0x3fU);
27 }
28 int getArg0() { return getParam(current.angle.x, 0, 8); }
29 int getItemBit() { return fopAcM_GetParamBit(this, 17, 8); }
30
31 /* 0x570 */ int field_0x570;
32 /* 0x574 */ J3DModel* field_0x574;
33 /* 0x578 */ J3DModel* field_0x578;
36 /* 0x584 */ dBgW* field_0x584;
37 /* 0x588 */ dBgW* field_0x588;
38 /* 0x58C */ Mtx field_0x58c;
39 /* 0x5BC */ Mtx field_0x5bc;
40 /* 0x5EC */ f32 field_0x5ec;
41 /* 0x5F0 */ dBgW* field_0x5f0;
42 /* 0x5F4 */ Mtx field_0x5f4;
43 /* 0x624 */ f32 field_0x624;
44 /* 0x628 */ f32 field_0x628;
46 /* 0x668 */ dCcD_Cyl field_0x668;
47 /* 0x7A4 */ dCcD_Cyl field_0x7a4;
48 /* 0x8E0 */ bool mLightOn;
49 /* 0x8E1 */ bool field_0x8e1;
50 /* 0x8E2 */ s16 field_0x8e2;
51 /* 0x8E4 */ int mItemNo;
52 /* 0x8E8 */ cXyz field_0x8e8;
53 /* 0x8F4 */ u8 field_0x8f4;
54};
55
56#endif /* D_A_TAG_CSW_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition d_bg_w.h:252
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
s16 x
Definition vec.h:19
csXyz angle
Definition f_op_actor.h:171
Definition d_a_hozelda.cpp:20
Definition d_a_npc_fguard.cpp:86
Definition d_a_npc_fguard.cpp:70
Definition d_a_tag_csw.h:10
int Delete()
Definition d_a_tag_csw.cpp:278
s16 field_0x8e2
Definition d_a_tag_csw.h:50
J3DModel * field_0x578
Definition d_a_tag_csw.h:33
dCcD_Stts field_0x62c
Definition d_a_tag_csw.h:45
int getItemBit()
Definition d_a_tag_csw.h:29
~daTagCsw_c()
Definition d_a_tag_csw.cpp:69
int field_0x570
Definition d_a_tag_csw.h:31
int draw()
Definition d_a_tag_csw.cpp:495
dCcD_Cyl field_0x668
Definition d_a_tag_csw.h:46
mDoExt_brkAnm * field_0x580
Definition d_a_tag_csw.h:35
bool field_0x8e1
Definition d_a_tag_csw.h:49
int getType()
Definition d_a_tag_csw.h:24
dBgW * field_0x584
Definition d_a_tag_csw.h:36
int execute()
Definition d_a_tag_csw.cpp:314
u8 field_0x8f4
Definition d_a_tag_csw.h:53
Mtx field_0x5f4
Definition d_a_tag_csw.h:42
int createHeap()
Definition d_a_tag_csw.cpp:110
Mtx field_0x5bc
Definition d_a_tag_csw.h:39
int mItemNo
Definition d_a_tag_csw.h:51
mDoExt_brkAnm * field_0x57c
Definition d_a_tag_csw.h:34
f32 field_0x624
Definition d_a_tag_csw.h:43
int getSw()
Definition d_a_tag_csw.h:22
Mtx field_0x58c
Definition d_a_tag_csw.h:38
J3DModel * field_0x574
Definition d_a_tag_csw.h:32
void setMtx()
Definition d_a_tag_csw.cpp:88
int create()
Definition d_a_tag_csw.cpp:206
int chkInsideStatueStart()
Definition d_a_tag_csw.cpp:189
dBgW * field_0x588
Definition d_a_tag_csw.h:37
f32 field_0x628
Definition d_a_tag_csw.h:44
int getParam(int param_1, int param_2, int param_3)
Definition d_a_tag_csw.h:25
int getSw2()
Definition d_a_tag_csw.h:23
cXyz field_0x8e8
Definition d_a_tag_csw.h:52
void offLight()
Definition d_a_tag_csw.cpp:303
int getArg0()
Definition d_a_tag_csw.h:28
void onLight()
Definition d_a_tag_csw.cpp:292
f32 field_0x5ec
Definition d_a_tag_csw.h:40
dBgW * field_0x5f0
Definition d_a_tag_csw.h:41
bool mLightOn
Definition d_a_tag_csw.h:48
dCcD_Cyl field_0x7a4
Definition d_a_tag_csw.h:47
Definition d_a_ep.cpp:19
actor_place current
Definition f_op_actor.h:215
Definition d_a_obj_sekizoa.cpp:56
Definition d_a_hozelda.cpp:14
float f32
Definition types.h:22
signed short s16
Definition types.h:5
unsigned char u8
Definition types.h:8