Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_tag_yami.h
Go to the documentation of this file.
1#ifndef D_A_TAG_YAMI_H
2#define D_A_TAG_YAMI_H
3
4#include "d/d_cc_d.h"
6
7class daTagYami_c : public fopAc_ac_c {
8public:
9 /* 80D659F8 */ int create();
10 /* 80D65C24 */ int Execute();
11 /* 80D65C60 */ void calcCoC(cXyz&);
12 /* 80D65D08 */ void col_set();
13 /* 80D65D0C */ u32 chk_CoHit();
14 /* 80D65D60 */ f32 getPlDist();
15 /* 80D65EEC */ void onMidnaTagSw();
16 /* 80D65F24 */ void offMidnaTagSw2();
17 /* 80D66100 */ void setCoC(cXyz i_coC) { mCoC = i_coC; }
18
19 u8 get_MTagSw() { return fopAcM_GetParamBit(this, 8, 8); }
20 u8 get_MTagSw2() { return fopAcM_GetParamBit(this, 16, 8); }
21 s32 get_prm() { return fopAcM_GetParam(this) & 0xff; }
22
23 void on_CoHit() {
25 mCoHitValid = 1;
26 }
27
28 void off_CoHit() {
30 mCoHitValid = 0;
31 }
32
33 f32 getCoR() { return mCoR; }
36
37private:
38 /* 0x568 */ dCcD_Cyl mCyl;
39 /* 0x6A4 */ dCcD_Stts mStts;
40 /* 0x6E0 */ u8 mCoHitValid;
41 /* 0x6E4 */ u32 mMTagSw;
42 /* 0x6E8 */ u32 mMTagSw2;
43 /* 0x6EC */ cXyz mCoC;
44 /* 0x6F8 */ f32 mCoH;
45 /* 0x6FC */ f32 mCoR;
46 /* 0x700 */ u32 mIsCoHit;
47};
48
49#endif /* D_A_TAG_YAMI_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
void OffCoSetBit()
Definition c_cc_d.h:506
void OnCoSetBit()
Definition c_cc_d.h:512
Definition d_a_tag_yami.h:7
void calcCoC(cXyz &)
Definition d_a_tag_yami.cpp:73
void setCoH(f32 i_value)
Definition d_a_tag_yami.h:35
void setCoR(f32 i_value)
Definition d_a_tag_yami.h:34
void offMidnaTagSw2()
Definition d_a_tag_yami.cpp:112
u8 mCoHitValid
Definition d_a_tag_yami.h:40
u32 mMTagSw2
Definition d_a_tag_yami.h:42
void onMidnaTagSw()
Definition d_a_tag_yami.cpp:107
s32 get_prm()
Definition d_a_tag_yami.h:21
f32 getCoR()
Definition d_a_tag_yami.h:33
void col_set()
Definition d_a_tag_yami.cpp:81
int create()
Definition d_a_tag_yami.cpp:26
void off_CoHit()
Definition d_a_tag_yami.h:28
u32 mIsCoHit
Definition d_a_tag_yami.h:46
u8 get_MTagSw()
Definition d_a_tag_yami.h:19
int Execute()
Definition d_a_tag_yami.cpp:65
u32 mMTagSw
Definition d_a_tag_yami.h:41
void setCoC(cXyz i_coC)
Definition d_a_tag_yami.h:17
dCcD_Cyl mCyl
Definition d_a_tag_yami.h:38
dCcD_Stts mStts
Definition d_a_tag_yami.h:39
u32 chk_CoHit()
Definition d_a_tag_yami.cpp:86
void on_CoHit()
Definition d_a_tag_yami.h:23
cXyz mCoC
Definition d_a_tag_yami.h:43
f32 getPlDist()
Definition d_a_tag_yami.cpp:98
f32 mCoR
Definition d_a_tag_yami.h:45
f32 mCoH
Definition d_a_tag_yami.h:44
u8 get_MTagSw2()
Definition d_a_tag_yami.h:20
u32 fopAcM_GetParam(const void *pActor)
Definition f_op_actor_mng.h:224
u32 fopAcM_GetParamBit(void *ac, u8 shift, u8 bit)
Definition f_op_actor_mng.h:228
Definition d_a_hozelda.cpp:20
Definition d_a_npc_fguard.cpp:86
Definition d_a_npc_fguard.cpp:70
Definition d_a_ep.cpp:19
unsigned long u32
Definition types.h:10
float f32
Definition types.h:22
signed long s32
Definition types.h:6
unsigned char u8
Definition types.h:8