d_a_obj_quake (#676)

* d_a_obj_quake work

* daObjQuake_c::_create matching

* daObjQuake_c::_is_delete matching

* d_a_obj_quake matching
This commit is contained in:
Daniel Hajjar
2024-08-27 16:07:14 +02:00
committed by GitHub
parent 660a5ac699
commit 596fe9ab93
6 changed files with 205 additions and 32 deletions
+34 -7
View File
@@ -2,27 +2,54 @@
#define D_A_OBJ_QUAKE_H
#include "f_op/f_op_actor.h"
#include "m_Do/m_Do_hostIO.h"
class daObjQuake_c : public fopAc_ac_c {
public:
enum Prm_e {
PRM_SCH_W = 0x8,
PRM_SCH_S = 0x0,
PRM_TYPE_W = 0x3,
PRM_TYPE_S = 0x8,
PRM_POWER_W = 0x3,
PRM_POWER_S = 0xB,
};
s32 _create();
BOOL _delete();
void _is_delete();
BOOL _is_delete();
BOOL _execute();
void getPrmType();
void getPrmSch();
void getPrmPower();
u8 getPrmType();
u8 getPrmSch();
s32 getPrmPower();
public:
/* Place member variables here */
/* 0x290 */ f32 m290;
/* 0x294 */ f32 m294;
/* 0x298 */ f32 m298;
/* 0x29C */ f32 m29C;
/* 0x2A0 */ u8 mType;
/* 0x2A1 */ bool m2A1;
};
class daObjQuake_HIO_c {
class daObjQuake_HIO_c : public JORReflexible {
public:
daObjQuake_HIO_c();
virtual ~daObjQuake_HIO_c() {}
public:
/* Place member variables here */
/* 0x04 */ s8 mChildID;
/* 0x08 */ s32 field_0x08;
/* 0x0C */ u8 field_0x0C;
/* 0x0D */ u8 field_0x0D;
/* 0x0E */ u8 field_0x0E;
/* 0x0F */ u8 field_0x0F;
/* 0x10 */ u8 field_0x10;
/* 0x11 */ u8 field_0x11;
/* 0x12 */ u8 field_0x12;
/* 0x13 */ u8 field_0x13;
};
#endif /* D_A_OBJ_QUAKE_H */
+1
View File
@@ -452,6 +452,7 @@ cXyz dKy_get_orion_pos();
cXyz dKy_get_hokuto_pos();
void dKy_DayProc();
u8 dKy_get_schbit();
int dKy_get_schbit_timer();
int dKy_rain_check();
void dKy_setLight_mine(dKy_tevstr_c* pTevStr);
BOOL dKy_daynighttact_stop_chk();
+3 -1
View File
@@ -1026,10 +1026,12 @@ inline s8 dStage_stagInfo_GetTimeH(stage_stag_info_class* p_info) {
inline u8 dStage_stagInfo_getStartSch(stage_stag_info_class* p_info) {
return (p_info->field_0x10 >> 0x10) & 0xFF;
}
inline u8 dStage_stagInfo_GetSchSec(stage_stag_info_class* p_info) {
return p_info->field_0x0c & 0xFF;
}
// TODO:
// dStage_stagInfo_GetAgbCon__FP21stage_stag_info_class
// dStage_stagInfo_GetSchSec__FP21stage_stag_info_class - field_0x0c & 0xFF
// dStage_stagInfo_DefaultCameraType__FP21stage_stag_info_class
// dStage_stagInfo_GetCullPoint__FP21stage_stag_info_class
// dStage_stagInfo_GetUpButton__FP21stage_stag_info_class