fopAcM_Register cleanup (#3047)

* use macro `fopAcM_Register` more consistently

* replace fopAcM_RegisterCreateID with version that doesn't create `a_this`
This commit is contained in:
roeming
2026-01-17 08:52:32 -05:00
committed by GitHub
parent 7c71acb6b6
commit 0571b8c22d
101 changed files with 184 additions and 200 deletions
+3 -2
View File
@@ -1407,6 +1407,7 @@ static int daObj_Brg_IsDelete(obj_brg_class* i_this) {
}
static int daObj_Brg_Delete(obj_brg_class* i_this) {
fopAcM_RegisterDeleteID(i_this, "Obj_Brg");
dComIfG_resDelete(&i_this->mPhase, "Obj_brg");
if (i_this->mpBgW != NULL) {
@@ -1600,7 +1601,7 @@ static int CallbackCreateHeap(fopAc_ac_c* i_this) {
}
}
OS_REPORT("BGSV SET 1! \n");
OS_REPORT("BGSV SET 1!\n");
a_this->mpBgW = new dBgWSv();
if (a_this->mpBgW == NULL) {
@@ -1638,7 +1639,7 @@ static int daObj_Brg_Create(fopAc_ac_c* i_this) {
int sp54;
br_s* part;
int loop, sp60, brno, iter;
int fop_id = fopAcM_GetID(i_this);
fopAcM_RegisterCreateID(i_this, "Obj_Brg");
fopAcM_ct(i_this, obj_brg_class);
phase_state = dComIfG_resLoad(&a_this->mPhase, "Obj_brg");