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_b_ob.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_b_ob.cpp')
| -rw-r--r-- | src/d/actor/d_a_b_ob.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/d/actor/d_a_b_ob.cpp b/src/d/actor/d_a_b_ob.cpp index 0f5d04fcd7..626d58aaa4 100644 --- a/src/d/actor/d_a_b_ob.cpp +++ b/src/d/actor/d_a_b_ob.cpp @@ -3289,7 +3289,7 @@ static int useHeapInit(fopAc_ac_c* i_this) { return 0; } - a_this->mBodyParts[i].mpMorf->getModel()->setUserArea((u32)i_this); + a_this->mBodyParts[i].mpMorf->getModel()->setUserArea((uintptr_t)i_this); for (u16 j = 0; j < a_this->mBodyParts[i].mpMorf->getModel()->getModelData()->getJointNum(); j++) @@ -3320,7 +3320,7 @@ static int useHeapInit(fopAc_ac_c* i_this) { return 0; } - a_this->mBodyParts[i].mpFinMorf->getModel()->setUserArea((u32)i_this); + a_this->mBodyParts[i].mpFinMorf->getModel()->setUserArea((uintptr_t)i_this); for (u16 j = 0; j < a_this->mBodyParts[i].mpFinMorf->getModel()->getModelData()->getJointNum(); @@ -3351,7 +3351,7 @@ static int useHeapInit(fopAc_ac_c* i_this) { return 0; } - a_this->mBodyParts[i].mpFinUnkMorf->getModel()->setUserArea((u32)i_this); + a_this->mBodyParts[i].mpFinUnkMorf->getModel()->setUserArea((uintptr_t)i_this); for (u16 j = 0; j < a_this->mBodyParts[i].mpFinUnkMorf->getModel()->getModelData()->getJointNum(); @@ -3376,7 +3376,7 @@ static int useHeapInit(fopAc_ac_c* i_this) { return 0; } - a_this->mBodyParts[i].mpFinBMorf->getModel()->setUserArea((u32)i_this); + a_this->mBodyParts[i].mpFinBMorf->getModel()->setUserArea((uintptr_t)i_this); for (u16 j = 0; j < a_this->mBodyParts[i].mpFinBMorf->getModel()->getModelData()->getJointNum(); @@ -3401,7 +3401,7 @@ static int useHeapInit(fopAc_ac_c* i_this) { return 0; } - a_this->mBodyParts[i].mpFinCMorf->getModel()->setUserArea((u32)i_this); + a_this->mBodyParts[i].mpFinCMorf->getModel()->setUserArea((uintptr_t)i_this); for (u16 j = 0; j < a_this->mBodyParts[i].mpFinCMorf->getModel()->getModelData()->getJointNum(); @@ -3424,7 +3424,7 @@ static int useHeapInit(fopAc_ac_c* i_this) { return 0; } - a_this->mpSuiModel->setUserArea((u32)i_this); + a_this->mpSuiModel->setUserArea((uintptr_t)i_this); for (u16 j = 0; j < modelData->getJointNum(); j++) { modelData->getJointNodePointer(j)->setCallBack(sui_nodeCallBack); |
