mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-05-25 07:02:47 -04:00
2e75ea2444
* d_a_e_hp debug code 100% * d_a_npc_chin debug improvements * d_a_npc_du debug code 100% * d_a_npc_cdn3 debug code 100% * d_a_e_rdy GCN symbol fixes * d_a_kago debug code 100% * d_a_e_oc debug code 100% * d_a_e_yr debug code almost matching * d_a_e_bg debug code 100% * d_a_ykgr debug code 100% * d_a_tag_hjump debug data fixes * d_a_tag_attack_item debug data fixes * d_a_e_df debug code 100% * d_a_e_sh debug code 100% * d_a_L7op_demo_dr debug code 100% * d_a_L7low_dr debug code 100% * d_a_e_sm2 debug code 100% * d_a_movie_player debug code 100% * d_a_e_st debug code 100% * d_a_npc_aru debug code 100% * d_a_e_yg debug code 100% * d_a_door_spiral debug code 100% * d_a_bg debug code 100% (still has .data issues) * d_a_e_dn debug code 100% * d_a_tag_attention debug code 100% * d_a_e_bd debug code 100% * d_a_tag_camera debug .rodata fix * d_a_obj_movebox debug code 100% (array dtors are mismapped) * d_a_mg_rod debug improvements * d_a_e_rd debug symbol fixes
77 lines
1.5 KiB
C++
77 lines
1.5 KiB
C++
#ifndef D_A_YKGR_H
|
|
#define D_A_YKGR_H
|
|
|
|
#include "SSystem/SComponent/c_math.h"
|
|
#include "f_op/f_op_actor_mng.h"
|
|
#include "d/d_path.h"
|
|
#include "d/d_kankyo_rain.h"
|
|
#include "d/d_com_inf_game.h"
|
|
#include "d/d_particle.h"
|
|
|
|
struct dPa_YkgrPcallBack : public JPAParticleCallBack {
|
|
dPa_YkgrPcallBack();
|
|
~dPa_YkgrPcallBack() {}
|
|
void draw(JPABaseEmitter*, JPABaseParticle*);
|
|
void setParam(f32);
|
|
|
|
/* 0x04 */ f32 field_0x4[2][3];
|
|
/* 0x1C */ s8 field_0x1c;
|
|
};
|
|
|
|
/**
|
|
* @ingroup actors-unsorted
|
|
* @class daYkgr_c
|
|
* @brief Floor Gravity On/Off
|
|
*
|
|
* @details
|
|
*
|
|
*/
|
|
class daYkgr_c : public fopAc_ac_c {
|
|
public:
|
|
static void init() {
|
|
m_emitter = 0;
|
|
m_flag = false;
|
|
m_alpha_flag = true;
|
|
m_alpha = 255;
|
|
}
|
|
|
|
f32 getPosRate();
|
|
static void setAlpha(u8 alpha) {
|
|
m_alpha = alpha;
|
|
}
|
|
static void start() {
|
|
if (m_emitter != NULL) {
|
|
m_alpha_flag = true;
|
|
}
|
|
}
|
|
static void stop() {
|
|
if (m_emitter != NULL) {
|
|
m_alpha_flag = false;
|
|
}
|
|
}
|
|
|
|
inline void set_mtx();
|
|
|
|
int _create();
|
|
int _delete();
|
|
int _execute();
|
|
bool _draw();
|
|
|
|
static JPABaseEmitter* m_emitter;
|
|
static bool m_flag;
|
|
static bool m_alpha_flag;
|
|
static u8 m_alpha;
|
|
static f32 m_aim_rate;
|
|
static dPath* m_path;
|
|
|
|
/* 0x568 */ u8 field_0x568[0x570 - 0x568];
|
|
/* 0x570 */ Mtx field_0x570;
|
|
/* 0x5A0 */ u32 field_0x5a0;
|
|
/* 0x5A4 */ f32 field_0x5a4;
|
|
/* 0x5A8 */ f32 field_0x5a8;
|
|
};
|
|
|
|
STATIC_ASSERT(sizeof(daYkgr_c) == 0x5AC);
|
|
|
|
#endif /* D_A_YKGR_H */
|