Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_ykgr.h
Go to the documentation of this file.
1#ifndef D_A_YKGR_H
2#define D_A_YKGR_H
3
6#include "d/d_path.h"
7#include "d/d_kankyo_rain.h"
8#include "d/d_com_inf_game.h"
9#include "d/d_particle.h"
10
13 /* 805A8D98 */ virtual ~daYkgr_HIO_c();
14
15 /* 0x04 */ u8 field_0x4;
16 /* 0x08 */ s32 field_0x8;
17 /* 0x0C */ s32 field_0xc;
18 /* 0x10 */ f32 field_0x10;
19 /* 0x14 */ f32 field_0x14;
20 /* 0x18 */ f32 field_0x18;
21 /* 0x1C */ f32 field_0x1c;
22 /* 0x20 */ f32 field_0x20;
23 /* 0x24 */ f32 field_0x24;
24};
25
28 /* 805A8E3C */ ~dPa_YkgrPcallBack() {}
29 /* 805A848C */ void draw(JPABaseEmitter*, JPABaseParticle*);
30 /* 805A84D4 */ void setParam(f32);
31
32 /* 0x04 */ f32 field_0x4;
33 /* 0x08 */ f32 field_0x8;
34 /* 0x0C */ f32 field_0xc;
35 /* 0x10 */ f32 field_0x10;
36 /* 0x14 */ f32 field_0x14;
37 /* 0x18 */ f32 field_0x18;
38 /* 0x1C */ s8 field_0x1c;
39};
40
49class daYkgr_c : public fopAc_ac_c {
50public:
51 static void init() {
52 m_emitter = 0;
53 m_flag = false;
54 m_alpha_flag = true;
55 m_alpha = 255;
56 }
57
59 static void setAlpha(u8 alpha) {
60 m_alpha = alpha;
61 }
62 static void start() {
63 if (m_emitter != NULL) {
64 m_alpha_flag = true;
65 }
66 }
67 static void stop() {
68 if (m_emitter != NULL) {
69 m_alpha_flag = false;
70 }
71 }
72
87
88 int _create();
89 int _execute();
90 int _draw();
91
93 static bool m_flag;
94 static bool m_alpha_flag;
95 static u8 m_alpha;
97 static dPath* m_path;
98
99 /* 0x568 */ u8 field_0x568[0x570 - 0x568];
100 /* 0x570 */ Mtx field_0x570;
101 /* 0x5A0 */ u32 field_0x5a0;
102 /* 0x5A4 */ f32 field_0x5a4;
103 /* 0x5A8 */ f32 field_0x5a8;
104};
105
106STATIC_ASSERT(sizeof(daYkgr_c) == 0x5AC);
107
108#endif /* D_A_YKGR_H */
f32 JMAFastSqrt(register f32 input)
Definition JMath.h:31
T cLib_calcTimer(T *value)
Definition c_lib.h:74
s16 cM_atan2s(float y, float x)
Definition c_math.cpp:119
Definition JPAEmitter.h:94
Definition JPAParticle.h:20
Definition JPAParticle.h:79
Definition f_op_camera_mng.h:23
Floor Gravity On/Off.
Definition d_a_ykgr.h:49
static u8 m_alpha
Definition d_a_ykgr.h:95
f32 getPosRate()
Definition d_a_ykgr.cpp:84
static f32 m_aim_rate
Definition d_a_ykgr.h:96
u8 field_0x568[0x570 - 0x568]
Definition d_a_ykgr.h:99
static void stop()
Definition d_a_ykgr.h:67
int _draw()
Definition d_a_ykgr.cpp:202
static void init()
Definition d_a_ykgr.h:51
static bool m_flag
Definition d_a_ykgr.h:93
int _execute()
Definition d_a_ykgr.cpp:173
static JPABaseEmitter * m_emitter
Definition d_a_ykgr.h:92
static void start()
Definition d_a_ykgr.h:62
Mtx field_0x570
Definition d_a_ykgr.h:100
int _create()
Definition d_a_ykgr.cpp:114
f32 field_0x5a4
Definition d_a_ykgr.h:102
f32 field_0x5a8
Definition d_a_ykgr.h:103
void set_mtx()
Definition d_a_ykgr.h:73
static bool m_alpha_flag
Definition d_a_ykgr.h:94
static void setAlpha(u8 alpha)
Definition d_a_ykgr.h:59
u32 field_0x5a0
Definition d_a_ykgr.h:101
static dPath * m_path
Definition d_a_ykgr.h:97
Definition m_Do_hostIO.h:5
static void dComIfGp_getCamera(int param_0)
Definition d_a_b_gnd.cpp:2917
STATIC_ASSERT(sizeof(daYkgr_c)==0x5AC)
void dKyr_get_vectle_calc(cXyz *param_0, cXyz *param_1, cXyz *param_2)
Definition d_kankyo_rain.cpp:218
cXyz * fopCamM_GetEye_p(camera_class *i_camera)
Definition f_op_camera_mng.h:86
f32 Mtx[3][4]
Definition mtx.h:15
s16 x
Definition vec.h:19
s16 y
Definition vec.h:19
f32 z
Definition vec.h:11
f32 x
Definition vec.h:11
f32 y
Definition vec.h:11
csXyz angle
Definition f_op_actor.h:171
cXyz pos
Definition f_op_actor.h:170
Definition d_a_hozelda.cpp:20
Definition d_a_ykgr.h:26
f32 field_0x4
Definition d_a_ykgr.h:32
~dPa_YkgrPcallBack()
Definition d_a_ykgr.h:28
dPa_YkgrPcallBack()
Definition d_a_ykgr.cpp:24
f32 field_0xc
Definition d_a_ykgr.h:34
f32 field_0x8
Definition d_a_ykgr.h:33
f32 field_0x10
Definition d_a_ykgr.h:35
void setParam(f32)
Definition d_a_ykgr.cpp:42
f32 field_0x18
Definition d_a_ykgr.h:37
void draw(JPABaseEmitter *, JPABaseParticle *)
Definition d_a_ykgr.cpp:36
f32 field_0x14
Definition d_a_ykgr.h:36
s8 field_0x1c
Definition d_a_ykgr.h:38
Definition d_a_npc_cd2.cpp:35
Definition d_a_ykgr.h:11
f32 field_0x14
Definition d_a_ykgr.h:19
daYkgr_HIO_c()
Definition d_a_ykgr.cpp:12
s32 field_0xc
Definition d_a_ykgr.h:17
f32 field_0x20
Definition d_a_ykgr.h:22
s32 field_0x8
Definition d_a_ykgr.h:16
u8 field_0x4
Definition d_a_ykgr.h:15
f32 field_0x18
Definition d_a_ykgr.h:20
f32 field_0x1c
Definition d_a_ykgr.h:21
virtual ~daYkgr_HIO_c()
Definition d_a_ykgr.cpp:234
f32 field_0x10
Definition d_a_ykgr.h:18
f32 field_0x24
Definition d_a_ykgr.h:23
Definition d_a_ep.cpp:19
actor_place current
Definition f_op_actor.h:215
static void XrotM(s16 x)
Definition m_Do_mtx.h:312
void transS(cXyz const &)
Definition m_Do_mtx.cpp:358
static MtxP get()
Definition m_Do_mtx.h:226
static void YrotM(s16 y)
Definition m_Do_mtx.h:294
signed char s8
Definition types.h:4
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