mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-10 19:20:13 +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:
parent
66946534a1
commit
8607c54e75
1 changed files with 11 additions and 7 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue