match d_a_obj_hami4 (#801)

* start hami4

* daObjHami4_Create

* daObjHami4_Delete

* start draw

* execute

* daObjHami4_open_demo_wait

* daObjHami4_close_stop

* set_mtx

* createheap

* last bit of createheap

* more draw

* inline create

* inline delete

* inline draw

* inline execute

* remove nonmatching comments

* clean some

* fix linking

* undo

* address comments, match debug map

* ja_se
This commit is contained in:
ssorenson130
2025-06-28 23:10:54 -04:00
committed by GitHub
parent 35e4bf83cb
commit 1dc94ecf8d
3 changed files with 162 additions and 24 deletions
+18 -4
View File
@@ -1,17 +1,26 @@
#ifndef D_A_OBJ_HAMI4_H
#define D_A_OBJ_HAMI4_H
#include "d/d_a_obj.h"
#include "d/d_bg_w.h"
#include "f_op/f_op_actor.h"
class daObjHami4_c : public fopAc_ac_c {
public:
enum Prm_e {
PRM_SWSAVE_W = 0x08,
PRM_SWSAVE_S = 0x00,
};
inline cPhs_State _create();
inline bool _delete();
inline bool _draw();
inline bool _execute();
void prm_get_swSave() const {}
int prm_get_swSave() const {return daObj::PrmAbstract<Prm_e>(this, PRM_SWSAVE_W, PRM_SWSAVE_S);}
void CreateHeap();
BOOL CreateHeap();
void CreateInit();
void set_mtx();
void daObjHami4_close_stop();
@@ -20,7 +29,12 @@ public:
void daObjHami4_open_stop();
public:
/* Place member variables here */
};
/* 0x290 */ request_of_phase_process_class mPhs;
/* 0x298 */ J3DModel * mpModels[4];
/* 0x2A8 */ dBgW* mdBgW[4];
/* 0x2B8 */ Mtx field_0x2B8[4];
/* 0x378 */ int field_0x378;
/* 0x37C */ f32 field_0x37C;
}; // Size: 0x380
#endif /* D_A_OBJ_HAMI4_H */