obj_movebox mostly done (#2181)

This commit is contained in:
TakaRikka
2024-07-17 12:51:24 -07:00
committed by GitHub
parent 038cdb8b5f
commit 5e283fd567
10 changed files with 2268 additions and 255 deletions
+6
View File
@@ -15,6 +15,12 @@ void posMoveF_grade(fopAc_ac_c*, cXyz const*, cXyz const*, f32, f32, cXyz const*
cXyz const*);
void quat_rotBaseY(Quaternion*, cXyz const&);
void HitSeStart(cXyz const*, int, dCcD_GObjInf const*, u32);
template <typename T>
int PrmAbstract(const fopAc_ac_c* i_actor, T i_prmA, T i_prmB) {
u32 param = fopAcM_GetParam(i_actor);
return ((1 << i_prmA) - 1) & (param >> i_prmB);
}
}; // namespace daObj
#endif /* D_A_D_A_OBJ_H */
+1 -1
View File
@@ -108,7 +108,7 @@ public:
fopAc_ac_c* PushPullCallBack(cBgS_PolyInfo const&, fopAc_ac_c*, s16, dBgW_Base::PushPullLabel);
bool WaterChk(dBgS_SplGrpChk* chk) { return SplGrpChk(chk); }
u32 GetMtrlSndId(cBgS_PolyInfo* param_0) { return dKy_pol_sound_get(param_0); }
u32 GetMtrlSndId(const cBgS_PolyInfo& param_0) { return dKy_pol_sound_get(&param_0); }
}; // Size: 0x1404
bool dBgS_CheckBGroundPoly(cBgS_PolyInfo const&);
+1
View File
@@ -20,6 +20,7 @@ public:
/* 80078950 */ int MoveBGExecute();
int MoveBGDraw() { return Draw(); }
int MoveBGIsDelete() { return IsDelete(); }
/* 80078688 */ virtual int CreateHeap();
/* 80078690 */ virtual int Create();