diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2023-11-30 23:30:10 -0500 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2023-11-30 23:30:10 -0500 |
| commit | fa2cbbadf71dd2402abb69651753629c71e45dd3 (patch) | |
| tree | 9d4fee87310c7283baed7b458577178e8aa1389e /include/d/actor | |
| parent | dec72d3a93bdddef24496223044dd04f8c962ea0 (diff) | |
d_a_obj_mtest 100%, no match
Diffstat (limited to 'include/d/actor')
| -rw-r--r-- | include/d/actor/d_a_obj_mtest.h | 70 |
1 files changed, 55 insertions, 15 deletions
diff --git a/include/d/actor/d_a_obj_mtest.h b/include/d/actor/d_a_obj_mtest.h index 3e624092..225af779 100644 --- a/include/d/actor/d_a_obj_mtest.h +++ b/include/d/actor/d_a_obj_mtest.h @@ -2,28 +2,68 @@ #define D_A_OBJ_MTEST_H #include "f_op/f_op_actor.h" +#include "d/d_bg_s_movebg_actor.h" +#include "d/d_cc_d.h" +#include "d/d_a_obj.h" namespace daObjMtest { - class Act_c : public fopAc_ac_c { + class Act_c : public dBgS_MoveBgActor { public: - void prm_get_arg0() const {} - void prm_get_arg1() const {} - void prm_get_swSave() const {} - void prm_get_type() const {} - - void chk_appear(); - void CreateHeap(); - s32 Create(); - void Mthd_Create(); - BOOL Delete(); - void Mthd_Delete(); + enum Type { + Type_0 = 0, + Type_1 = 1, + Type_2 = 2, + Type_3 = 3, + Type_4 = 4, + Type_5 = 5, + Type_6 = 6, + Type_7 = 7, + Type_Max, + }; + + enum Prm_e { + PRM_ARG0_W = 0x04, + PRM_ARG0_S = 0x10, + + PRM_ARG1_W = 0x04, + PRM_ARG1_S = 0x18, + + PRM_SWSAVE_W = 0x08, + PRM_SWSAVE_S = 0x08, + + PRM_TYPE_W = 0x03, + PRM_TYPE_S = 0x00, + }; + + s32 prm_get_arg0() const { return daObj::PrmAbstract(this, PRM_ARG0_W, PRM_ARG0_S); } + s32 prm_get_arg1() const { return daObj::PrmAbstract(this, PRM_ARG1_W, PRM_ARG1_S); } + s32 prm_get_swSave() const { return daObj::PrmAbstract(this, PRM_SWSAVE_W, PRM_SWSAVE_S); } + s32 prm_get_type() const { return daObj::PrmAbstract(this, PRM_TYPE_W, PRM_TYPE_S); } + + static char* M_arcname[]; + static const dCcD_SrcCyl M_cyl_src; + static cXyz M_scl_mult[]; + + virtual BOOL CreateHeap(); + virtual BOOL Create(); + virtual BOOL Delete(); + virtual BOOL Execute(Mtx** pMtx); + virtual BOOL Draw(); + + bool chk_appear(); + s32 Mthd_Create(); + BOOL Mthd_Delete(); void set_mtx(); void init_mtx(); - void Execute(float(**)[3][4]); - BOOL Draw(); public: - /* Place member variables here */ + /* 0x2C8 */ Mtx mMtx; + /* 0x2F8 */ request_of_phase_process_class mPhs; + /* 0x300 */ J3DModel* mpModel; + /* 0x304 */ dCcD_Stts mStts; + /* 0x340 */ dCcD_Cyl mCyl; + /* 0x470 */ int M_type; + /* 0x474 */ bool mbAppear; }; }; |
