1
0
mirror of https://github.com/zeldaret/oot.git synced 2024-09-21 04:24:43 +00:00

BossDodongo_OverrideLimbDraw Better match? (#1322)

* Better match?

* Update src/overlays/actors/ovl_Boss_Dodongo/z_boss_dodongo.c

Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com>

Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com>
This commit is contained in:
Derek Hensley 2022-07-11 10:24:30 -07:00 committed by GitHub
parent 66946534a1
commit 8607c54e75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1050,12 +1050,17 @@ s32 BossDodongo_OverrideLimbDraw(PlayState* play, s32 limbIndex, Gfx** dList, Ve
f32 mtxScaleZ;
BossDodongo* this = (BossDodongo*)thisx;
// required for matching
if ((limbIndex == 6) || (limbIndex == 7)) {
if (this->unk_25C) {}
goto block_1;
switch (limbIndex) {
case 6:
case 7:
case 8:
if (this->unk_25C[limbIndex] != 0.0f) {}
break;
default:
break;
}
block_1:
Matrix_TranslateRotateZYX(pos, rot);
if (*dList != NULL) {
@ -1088,8 +1093,7 @@ block_1:
CLOSE_DISPS(play->state.gfxCtx, "../z_boss_dodongo.c", 3826);
}
{ s32 pad; } // Required to match
return 1;
return true;
}
void BossDodongo_PostLimbDraw(PlayState* play, s32 limbIndex, Gfx** dList, Vec3s* rot, void* thisx) {