Applying HU3D defines across the board (1/?)

This commit is contained in:
mrshigure 2024-08-26 13:51:03 -07:00
parent dc3ada0adc
commit 27e67cb66c
89 changed files with 634 additions and 635 deletions

View file

@ -218,7 +218,7 @@ void fn_1_2D04(void)
} else {
temp_r26 = GWPlayer[temp_r31].space_curr;
BoardCameraTargetSpaceSet(temp_r26);
BoardPlayerMotionShiftSet(temp_r31, 6, 0, 5, 0x40000001);
BoardPlayerMotionShiftSet(temp_r31, 6, 0, 5, HU3D_MOTATTR_LOOP);
HuPrcSleep(60);
HuPrcSleep(30);
BoardModelPosSetV(temp_r28, &spC);

View file

@ -419,7 +419,7 @@ void fn_1_46E8(void)
temp_f31 = -20.0f;
}
if (temp_r30 == lbl_1_bss_84) {
BoardPlayerMotionShiftSet(lbl_1_bss_86, 7, 0, 10, 0);
BoardPlayerMotionShiftSet(lbl_1_bss_86, 7, 0, 10, HU3D_MOTATTR_NONE);
break;
}
HuPrcVSleep();
@ -511,7 +511,7 @@ void fn_1_53B8(omObjData *object)
if ((temp_r29 & PAD_BUTTON_A) || temp_r31->unk18 < 0) {
MGSeqParamSet(temp_r31->unk1C, 2, -1);
HuWinKill(temp_r31->unk1E);
BoardPlayerMotionShiftSet(lbl_1_bss_86, 4, 0, 5, 0);
BoardPlayerMotionShiftSet(lbl_1_bss_86, 4, 0, 5, HU3D_MOTATTR_NONE);
temp_r31->unk0 = 10;
temp_r31->unk4 = 0;
if (lbl_1_bss_A4->work[0] & 0x1) {
@ -595,7 +595,7 @@ void fn_1_5868(omObjData *object)
if (sp14.y == sp8.y) {
BoardModelMotionTimeSet(lbl_1_bss_BC[temp_r31->unk8], 0);
BoardModelAttrReset(lbl_1_bss_BC[temp_r31->unk8], 0x40000002);
BoardPlayerMotionShiftSet(lbl_1_bss_86, object->motion[1], 0, 5, 0);
BoardPlayerMotionShiftSet(lbl_1_bss_86, object->motion[1], 0, 5, HU3D_MOTATTR_NONE);
lbl_1_bss_A4->work[3] |= 1 << temp_r31->unk8;
temp_r31->unk0 = 5;
temp_r31->unk4 = 0;

View file

@ -472,7 +472,7 @@ void fn_1_6EA8(void)
BoardPlayerItemAdd(lbl_1_bss_196, lbl_1_bss_190[temp_r31]);
omVibrate(lbl_1_bss_196, 12, 6, 6);
temp_r28 = HuAudSStreamPlay(2);
BoardPlayerMotionShiftSet(lbl_1_bss_196, 7, 0, 5, 0);
BoardPlayerMotionShiftSet(lbl_1_bss_196, 7, 0, 5, HU3D_MOTATTR_NONE);
while (!BoardPlayerMotionEndCheck(lbl_1_bss_196)) {
HuPrcVSleep();
}

View file

@ -559,7 +559,7 @@ void fn_1_D3AC(void)
temp_f31 = -40.0f;
}
if(temp_r30 == 20) {
BoardPlayerMotionShiftSet(lbl_1_bss_388, 7, 0, 10, 0);
BoardPlayerMotionShiftSet(lbl_1_bss_388, 7, 0, 10, HU3D_MOTATTR_NONE);
break;
}
HuPrcVSleep();

View file

@ -217,7 +217,7 @@ void fn_1_98D8(void)
while(!BoardPlayerMotBlendCheck(lbl_1_bss_36E)) {
HuPrcVSleep();
}
BoardPlayerMotionShiftSet(lbl_1_bss_36E, lbl_1_bss_1C0[0], 0, 10, 0x40000001);
BoardPlayerMotionShiftSet(lbl_1_bss_36E, lbl_1_bss_1C0[0], 0, 10, HU3D_MOTATTR_LOOP);
HuPrcSleep(20);
}
@ -483,7 +483,7 @@ void fn_1_A8E8(void)
HuWinKill(lbl_1_bss_1AC);
BoardPlayerMotionStart(lbl_1_bss_36E, lbl_1_bss_1C0[1], 0);
BoardPlayerMotionEndWait(lbl_1_bss_36E);
BoardPlayerMotionShiftSet(lbl_1_bss_36E, 6, 0, 15, 0x40000001);
BoardPlayerMotionShiftSet(lbl_1_bss_36E, 6, 0, 15, HU3D_MOTATTR_LOOP);
HuPrcSleep(40);
BoardAudSeqFadeOut(1, 1000);
HuPrcSleep(70);