some J3D/misc cleanup (#2628)

* some j3d cleanup

* begin using uintptr_t

* j3dgraphbase cleanup

* j3dgraphanimator cleanup
This commit is contained in:
TakaRikka
2025-09-04 07:56:59 -07:00
committed by GitHub
parent ee8b843996
commit b45a089e15
290 changed files with 4221 additions and 3605 deletions
+3 -3
View File
@@ -985,7 +985,7 @@ static int daE_BU_Execute(e_bu_class* i_this) {
if (emitter != NULL) {
emitter->setGlobalSRTMatrix(i_this->modelMorf->getModel()->getAnmMtx(0));
emitter->setParticleCallBackPtr(dPa_control_c::getParticleTracePCB());
emitter->setUserWork((u32)&i_this->field_0x6c0);
emitter->setUserWork((uintptr_t)&i_this->field_0x6c0);
}
}
} else {
@@ -997,7 +997,7 @@ static int daE_BU_Execute(e_bu_class* i_this) {
if (emitter != NULL) {
emitter->setGlobalSRTMatrix(i_this->modelMorf->getModel()->getAnmMtx(0));
emitter->setParticleCallBackPtr(dPa_control_c::getParticleTracePCB());
emitter->setUserWork((u32)&i_this->field_0x6c0);
emitter->setUserWork((uintptr_t)&i_this->field_0x6c0);
}
}
}
@@ -1039,7 +1039,7 @@ static int useHeapInit(fopAc_ac_c* i_this) {
}
J3DModel* model = a_this->modelMorf->getModel();
model->setUserArea((u32)a_this);
model->setUserArea((uintptr_t)a_this);
for (u16 i = 0; i < model->getModelData()->getJointNum(); i++) {
model->getModelData()->getJointNodePointer(i)->setCallBack(nodeCallBack);