Revert "Isolate JKRHeap operator overloads" (#39)

This commit is contained in:
TakaRikka
2026-03-06 19:49:35 -08:00
committed by GitHub
parent b7c482fb87
commit 78d4169929
630 changed files with 3349 additions and 3452 deletions
+3 -3
View File
@@ -3114,7 +3114,7 @@ static int daE_YMB_Delete(daE_YMB_c* i_this) {
int daE_YMB_c::CreateHeap() {
J3DModelData* modelData = (J3DModelData*)dComIfG_getObjectRes("E_YB", BMDR_YB_TW);
JUT_ASSERT(4196, modelData != NULL);
mpModelMorf = JKR_NEW mDoExt_McaMorfSO(modelData, NULL, NULL, (J3DAnmTransform*)dComIfG_getObjectRes("E_YB", BCK_YB_FLY_WAIT),
mpModelMorf = new mDoExt_McaMorfSO(modelData, NULL, NULL, (J3DAnmTransform*)dComIfG_getObjectRes("E_YB", BCK_YB_FLY_WAIT),
2, 1.0f, 0, -1, &mSound, 0x80000, 0x31000084);
if (mpModelMorf == NULL || mpModelMorf->getModel() == NULL) {
return 0;
@@ -3130,7 +3130,7 @@ int daE_YMB_c::CreateHeap() {
model->getModelData()->getJointNodePointer(i)->setCallBack(JointCallBack);
}
mpBrkAnm = JKR_NEW mDoExt_brkAnm();
mpBrkAnm = new mDoExt_brkAnm();
if (mpBrkAnm == NULL) {
return 0;
}
@@ -3139,7 +3139,7 @@ int daE_YMB_c::CreateHeap() {
return 0;
}
mpBgW = JKR_NEW dBgW();
mpBgW = new dBgW();
if (mpBgW == NULL) {
return 0;
}