1
0
mirror of https://github.com/zeldaret/oot.git synced 2024-09-21 12:54:51 +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; f32 mtxScaleZ;
BossDodongo* this = (BossDodongo*)thisx; BossDodongo* this = (BossDodongo*)thisx;
// required for matching switch (limbIndex) {
if ((limbIndex == 6) || (limbIndex == 7)) { case 6:
if (this->unk_25C) {} case 7:
goto block_1; case 8:
if (this->unk_25C[limbIndex] != 0.0f) {}
break;
default:
break;
} }
block_1:
Matrix_TranslateRotateZYX(pos, rot); Matrix_TranslateRotateZYX(pos, rot);
if (*dList != NULL) { if (*dList != NULL) {
@ -1088,8 +1093,7 @@ block_1:
CLOSE_DISPS(play->state.gfxCtx, "../z_boss_dodongo.c", 3826); CLOSE_DISPS(play->state.gfxCtx, "../z_boss_dodongo.c", 3826);
} }
{ s32 pad; } // Required to match return true;
return 1;
} }
void BossDodongo_PostLimbDraw(PlayState* play, s32 limbIndex, Gfx** dList, Vec3s* rot, void* thisx) { void BossDodongo_PostLimbDraw(PlayState* play, s32 limbIndex, Gfx** dList, Vec3s* rot, void* thisx) {