d_a_sie_flag (#799)

* match CheckCreateHeap, start _delete

* Match daSie_Flag_c::_draw

* Approach daSie_Flag_c::set_mtx

* fix l_flag_offset

* approach daSie_Flag_c::CreateInit

* Approach daSie_Flag_c::_create

* Approach daSie_Flag_c::CreateHeap

* Use the original var name

* Reformat

* approach daSie_Flag_c::_execute

* Find the correct virtual function

* Use cylinder struct

* simplify set_mtx

* start matching daSie_Flag_HIO_c class

* Fix constants

* Match daSie_Flag_c::_create

* Match daSie_Flag_c::_execute better

* 100% daSie_Flag_c::set_mtx

* Match bss

* use .abs() method instead of own implementation

* Fix resource header

* Match data

* Match _execute + fix inline usages

* use simple bool where possible

* fix const order

* mark d_a_sie_flag matching for non-demo

* Fixes after review
This commit is contained in:
LihMeh
2025-06-27 09:24:21 +03:00
committed by GitHub
parent 3bb95dd90c
commit 82b576442e
3 changed files with 124 additions and 18 deletions
+11 -3
View File
@@ -9,13 +9,15 @@
class daSie_Flag_c : public fopAc_ac_c {
public:
void set_mtx();
void CreateHeap();
void CreateInit();
BOOL CreateHeap();
cPhs_State CreateInit();
cPhs_State _create();
bool _delete();
bool _execute();
bool _draw();
static const char M_arcname[];
public:
/* 0x290 */ request_of_phase_process_class mPhsEshata;
/* 0x298 */ request_of_phase_process_class mPhsCloth;
@@ -25,14 +27,20 @@ public:
/* 0x2B4 */ dKy_tevstr_c mTevStr;
/* 0x364 */ dCcD_Stts mStts;
/* 0x3A0 */ dCcD_Cyl mCyl;
/* 0x4D0 */ dCcD_Cyl mCyl2;
};
class daSie_Flag_HIO_c {
public:
daSie_Flag_HIO_c();
virtual ~daSie_Flag_HIO_c() {};
public:
/* Place member variables here */
/* 0x00 */ //vtable
/* 0x04 */ s8 m04;
/* 0x08 */ f32 m08;
/* 0x0C */ s16 m0c;
};
#endif /* D_A_SIE_FLAG_H */