d_cc_uty OK

This commit is contained in:
LagoLunatic
2024-01-20 19:27:19 -05:00
parent 29890bc07c
commit 25e69da75e
23 changed files with 337 additions and 67 deletions
+4 -1
View File
@@ -3,9 +3,12 @@
#include "f_op/f_op_actor.h"
class mt_class : public fopAc_ac_c {
class mt_class : public fopEn_enemy_c {
public:
/* Place member variables here */
/* 0x02AC */ u8 m2AC[0x0454 - 0x02AC];
/* 0x0454 */ u8 m454;
/* 0x0455 */ u8 m455[0x1CC0 - 0x0455];
};
class daMt_HIO_c {
+2 -2
View File
@@ -337,7 +337,7 @@ public:
};
/* 0x290 */ u8 mCutType;
/* 0x291 */ u8 field_0x291;
/* 0x291 */ u8 mCutCount;
/* 0x292 */ u8 field_0x292[0x294 - 0x292];
/* 0x294 */ s16 mDamageWaitTimer;
/* 0x296 */ s16 mQuakeTimer;
@@ -361,6 +361,7 @@ public:
f32 getSpeedF() const { return speedF; }
u8 getCutType() const { return mCutType; }
u8 getCutCount() const { return mCutCount; }
s16 getDamageWaitTimer() const { return mDamageWaitTimer; }
f32 getHeight() const { return mHeight; }
s16 getBodyAngleX() const { return mBodyAngle.x; }
@@ -371,7 +372,6 @@ public:
cXyz getLeftHandPos() const { return mLeftHandPos; }
cXyz getRightHandPos() const { return mRightHandPos; }
cXyz getRopePos() const { return mRopePos; }
void getCutCount() const {} // field_0x291?
void getYPos() const {}
void changeDemoMode(u32) {}
+14 -2
View File
@@ -7,26 +7,38 @@
#include "d/d_bg_s_acch.h"
#include "SSystem/SComponent/c_bg_s_poly_info.h"
#include "d/d_particle.h"
#include "d/d_a_obj.h"
#include "SSystem/SComponent/c_angle.h"
#include "SSystem/SComponent/c_phase.h"
namespace daTsubo {
class Act_c : public fopAc_ac_c {
public:
enum Prm_e {
PRM_TYPE_W = 0x04,
PRM_TYPE_S = 0x18,
};
enum Type {
TYPE_WATER_JUG = 0x2,
TYPE_KUTANI = 0xE,
};
int prm_get_type() const { return daObj::PrmAbstract(this, PRM_TYPE_W, PRM_TYPE_S); }
bool prm_chk_type_kutani() const { return prm_get_type() == TYPE_KUTANI; }
void attrSpine() {}
void data() const {}
void data_spec_boko(int) {}
void is_switch() const {}
void pos_init() {}
void prmZ_get_swSave() const {}
void prm_chk_type_kutani() const {}
void prm_get_cull() const {}
void prm_get_itemNo() const {}
void prm_get_itemSave() const {}
void prm_get_moveBg() const {}
void prm_get_spec() const {}
void prm_get_stick() const {}
void prm_get_type() const {}
void prm_make_acorn(bool, int, int) {}
void prm_make_skull() {}
void prm_make_yw1() {}
+11 -1
View File
@@ -29,7 +29,17 @@ enum dCcG_Co_SPrm {
G_CO_SPRM_TG_LASSO = 0x02,
};
enum dCcD_hitSe {};
enum dCcD_hitSe {
/* 0x01 */ dCcD_SE_UNK1 = 1,
/* 0x02 */ dCcD_SE_UNK2 = 2,
/* 0x04 */ dCcD_SE_UNK4 = 4,
/* 0x05 */ dCcD_SE_UNK5 = 5,
/* 0x06 */ dCcD_SE_UNK6 = 6,
/* 0x07 */ dCcD_SE_ARROW = 7,
/* 0x08 */ dCcD_SE_HOOKSHOT = 8,
/* 0x23 */ dCcD_SE_UNK23 = 0x23,
/* 0x25 */ dCcD_SE_UNK25 = 0x25,
};
enum CcG_At_HitMark {
/* 0xD */ G_AT_MARK_NORMAL_HIT = dPa_name::ID_COMMON_NORMAL_HIT,
+5 -5
View File
@@ -23,12 +23,12 @@ public:
/* 0x18 */ s32 mHitSoundId;
};
void cc_pl_cut_bit_get();
void at_se_get(cCcD_Obj*);
void at_se_getC(cCcD_Obj*);
int cc_pl_cut_bit_get();
u32 at_se_get(cCcD_Obj*);
u32 at_se_getC(cCcD_Obj*);
void def_se_set(fopAc_ac_c*, cCcD_Obj*, unsigned long);
void def_se_set_p(fopAc_ac_c*, cXyz*, cCcD_Obj*, unsigned long);
void at_power_check(CcAtInfo*);
void cc_at_check(fopAc_ac_c*, CcAtInfo*);
fopAc_ac_c* at_power_check(CcAtInfo*);
fopAc_ac_c* cc_at_check(fopAc_ac_c*, CcAtInfo*);
#endif /* D_CC_UTY_H */
+4
View File
@@ -6,6 +6,7 @@
#include "m_Do/m_Do_hostIO.h"
class mDoDvdThd_toMainRam_c;
class dScnPly_ply_c : public scene_class {
public:
s8 calcPauseTimer();
@@ -15,6 +16,9 @@ public:
static bool isPause() { return pauseTimer != 0; }
static void setPauseTimer(s8 time) { nextPauseTimer = time; }
static void onDebugPause() {}
static void offDebugPause() {}
static s8 pauseTimer;
static s8 nextPauseTimer;