Match d_a_obj_ospbox (#803)

* Match d_a_obj_ospbox

* Mark d_a_obj_ospbox matching except demo

* Fixes after review

* direct current.pos usages
This commit is contained in:
LihMeh
2025-07-03 22:04:24 +03:00
committed by GitHub
parent 25c67bfad3
commit 2f5ebf05f0
3 changed files with 209 additions and 19 deletions
+28 -3
View File
@@ -2,12 +2,24 @@
#define D_A_OBJ_OSPBOX_H
#include "d/d_bg_s_movebg_actor.h"
#include "include/d/d_bg_s_gnd_chk.h"
namespace daObjOspbox {
class Act_c : public dBgS_MoveBgActor {
public:
void prm_get_itemNo() const {}
void prm_get_spec() const {}
enum Prm_e {
PRM_ITEMNO_W = 0x06,
PRM_ITEMNO_S = 0x00,
PRM_SPEC_W = 0x03,
PRM_SPEC_S = 0x08,
};
int prm_get_itemNo() const {
return daObj::PrmAbstract(this, PRM_ITEMNO_W, PRM_ITEMNO_S);
}
int prm_get_spec() const {
return daObj::PrmAbstract(this, PRM_SPEC_W, PRM_SPEC_S);
}
virtual BOOL CreateHeap();
virtual BOOL Create();
@@ -23,9 +35,22 @@ namespace daObjOspbox {
void init_ground();
virtual BOOL Execute(Mtx**);
virtual BOOL Draw();
static const char M_arcname[];
static const dCcD_SrcCyl M_cyl_src;
private:
static Mtx M_tmp_mtx;
public:
/* Place member variables here */
/* 0x2C8 */ request_of_phase_process_class mPhase;
/* 0x2D0 */ J3DModel *mpModel;
/* 0x2D4 */ dCcD_Stts mStts;
/* 0x310 */ dCcD_Cyl mCyl;
/* 0x440 */ dBgS_ObjGndChk mObjGndChk;
/* 0x494 */ f32 m494;
/* 0x498 */ s16 m498;
/* 0x49a */ u8 m49A;
};
};