Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_cc_uty.h
Go to the documentation of this file.
1#ifndef D_CC_D_CC_UTY_H
2#define D_CC_D_CC_UTY_H
3
4#include "dolphin/types.h"
5
6class cCcD_Obj;
7class fopAc_ac_c;
8class Z2Creature;
9
12 /* 0x02 */ HIT_TYPE_BOMB,
15 /* 0x0F */ HIT_TYPE_ARROW = 15,
16 /* 0x10 */ HIT_TYPE_STUN,
17};
18
19struct dCcU_AtInfo {
20 /* 0x00 */ cCcD_Obj* mpCollider;
21 /* 0x04 */ fopAc_ac_c* mpActor;
22 /* 0x08 */ Z2Creature* mpSound;
23 /* 0x0C */ u8 field_0xc[2];
24 /* 0x0E */ s16 mHitDirection;
25 /* 0x10 */ u8 field_0x10[4];
26 /* 0x14 */ u32 mHitBit;
27 /* 0x18 */ u32 field_0x18;
28 /* 0x1C */ u16 mAttackPower;
29 /* 0x1E */ u8 mPowerType;
30 /* 0x1F */ s8 mHitStatus; // maybe inaccurate name
31 /* 0x20 */ u8 mHitType;
32};
33
34int pl_cut_LRC(int index);
39
41 return static_cast<fopAc_ac_c*>(i_actor);
42}
43
44#endif /* D_CC_D_CC_UTY_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
u16 cc_pl_cut_bit_get()
Definition d_cc_uty.cpp:95
int pl_cut_LRC(int index)
Definition d_cc_uty.cpp:86
fopAc_ac_c * cc_at_check(fopAc_ac_c *, dCcU_AtInfo *)
Definition d_cc_uty.cpp:385
fopAc_ac_c * at_power_check(dCcU_AtInfo *i_AtInfo)
Definition d_cc_uty.cpp:325
void def_se_set(Z2Creature *p_sound, cCcD_Obj *p_collider, u32 map_info, fopAc_ac_c *p_actor)
Definition d_cc_uty.cpp:151
fopAc_ac_c * dCc_GetAc(void *i_actor)
Definition d_cc_uty.h:40
dCcU_AtType
Definition d_cc_uty.h:10
@ HIT_TYPE_STUN
Definition d_cc_uty.h:16
@ HIT_TYPE_LINK_HEAVY_ATTACK
Definition d_cc_uty.h:13
@ HIT_TYPE_LINK_NORMAL_ATTACK
Definition d_cc_uty.h:11
@ HIT_TYPE_ARROW
Definition d_cc_uty.h:15
@ HIT_TYPE_BOOMERANG
Definition d_cc_uty.h:14
@ HIT_TYPE_BOMB
Definition d_cc_uty.h:12
Definition d_a_hozelda.cpp:163
Definition d_a_npc_fguard.cpp:141
Definition d_a_ep.cpp:99
Z2Creature * mpSound
Definition d_cc_uty.h:22
cCcD_Obj * mpCollider
Definition d_cc_uty.h:20
fopAc_ac_c * mpActor
Definition d_cc_uty.h:21
u32 field_0x18
Definition d_cc_uty.h:27
u8 field_0x10[4]
Definition d_cc_uty.h:25
s16 mHitDirection
Definition d_cc_uty.h:24
s8 mHitStatus
Definition d_cc_uty.h:30
u8 field_0xc[2]
Definition d_cc_uty.h:23
u8 mHitType
Definition d_cc_uty.h:31
u32 mHitBit
Definition d_cc_uty.h:26
u8 mPowerType
Definition d_cc_uty.h:29
u16 mAttackPower
Definition d_cc_uty.h:28
Definition d_a_ep.cpp:19
signed char s8
Definition types.h:4
unsigned long u32
Definition types.h:10
signed short s16
Definition types.h:5
unsigned short u16
Definition types.h:9
unsigned char u8
Definition types.h:8