diff options
| author | TakaRikka <38417346+TakaRikka@users.noreply.github.com> | 2025-09-04 07:56:59 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-04 17:56:59 +0300 |
| commit | b45a089e15d79821b07be020db628e01a49b1fd2 (patch) | |
| tree | 948057548cc19b19d644bd4f300ca6434e6bff11 /src/d/actor/d_a_e_rd.cpp | |
| parent | ee8b843996f4d888903f8c125b95ec1af376877e (diff) | |
some J3D/misc cleanup (#2628)
* some j3d cleanup
* begin using uintptr_t
* j3dgraphbase cleanup
* j3dgraphanimator cleanup
Diffstat (limited to 'src/d/actor/d_a_e_rd.cpp')
| -rw-r--r-- | src/d/actor/d_a_e_rd.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/d/actor/d_a_e_rd.cpp b/src/d/actor/d_a_e_rd.cpp index 3a63435e8e..6762aff337 100644 --- a/src/d/actor/d_a_e_rd.cpp +++ b/src/d/actor/d_a_e_rd.cpp @@ -5577,7 +5577,7 @@ static void fire_eff_set(e_rd_class* i_this) { JPABaseEmitter* emitter = dComIfGp_particle_getEmitter(i_this->field_0x1274[i]); if (emitter != NULL) { emitter->setParticleCallBackPtr(dPa_control_c::getParticleTracePCB()); - emitter->setUserWork((u32)&i_this->field_0x1288); + emitter->setUserWork((uintptr_t)&i_this->field_0x1288); } } } @@ -7024,7 +7024,7 @@ static int useHeapInit(fopAc_ac_c* a_this) { } model = i_this->mpModelMorf->getModel(); - model->setUserArea((u32)i_this); + model->setUserArea((uintptr_t)i_this); for (u16 i = 0; i < model->getModelData()->getJointNum(); i++) { model->getModelData()->getJointNodePointer(i)->setCallBack(nodeCallBack_B); @@ -7085,7 +7085,7 @@ static int useHeapInit(fopAc_ac_c* a_this) { } model = i_this->mpModelMorf->getModel(); - model->setUserArea((u32)i_this); + model->setUserArea((uintptr_t)i_this); mDoMtx_stack_c::scaleS(0.0f, 0.0f, 0.0f); model->setBaseTRMtx(mDoMtx_stack_c::get()); @@ -7117,7 +7117,7 @@ static int useHeapInit(fopAc_ac_c* a_this) { } model = i_this->mpMorfBowAnm->getModel(); - model->setUserArea((u32)i_this); + model->setUserArea((uintptr_t)i_this); model->setBaseTRMtx(mDoMtx_stack_c::get()); for (u16 i = 0; i < model->getModelData()->getJointNum(); i++) { |
