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
+2 -2
View File
@@ -556,7 +556,7 @@ BOOL daNpcAsh_c::CreateHeap() {
for (u16 jointNo = 0; jointNo < modelData->getJointNum(); jointNo++) {
modelData->getJointNodePointer(jointNo)->setCallBack(ctrlJointCallBack);
}
model->setUserArea((u32)this);
model->setUserArea((uintptr_t)this);
mpMatAnm = new daNpcF_MatAnm_c();
if (mpMatAnm == NULL) {
@@ -1201,7 +1201,7 @@ bool daNpcAsh_c::demo(void* param_0) {
if (staff_id != -1) {
mStaffID = staff_id;
s32 eventIdx = eventManager.getMyActIdx(staff_id, l_evtNames,
ARRAY_SIZE(l_evtNames), 0, 0);
ARRAY_SIZEU(l_evtNames), 0, 0);
if (eventIdx >= 1 && eventIdx < 6) {
mOrderEvtNo = eventIdx;
}