mirror of
https://github.com/zeldaret/oot.git
synced 2025-02-27 11:34:29 +00:00
remove unnecessary block braces
https://github.com/zeldaret/oot/pull/2295#discussion_r1841154818
This commit is contained in:
parent
57c4c7653f
commit
a8dff36326
2 changed files with 14 additions and 18 deletions
|
@ -1168,17 +1168,15 @@ void EnGo_Draw(Actor* thisx, PlayState* play) {
|
|||
}
|
||||
|
||||
// draw skeleton normally
|
||||
{
|
||||
Gfx_SetupDL_37Opa(play->state.gfxCtx);
|
||||
Gfx_SetupDL_37Opa(play->state.gfxCtx);
|
||||
|
||||
gSPSegment(POLY_OPA_DISP++, 0x08, SEGMENTED_TO_VIRTUAL(gGoronCsEyeOpenTex));
|
||||
gSPSegment(POLY_OPA_DISP++, 0x09, SEGMENTED_TO_VIRTUAL(gGoronCsMouthNeutralTex));
|
||||
gSPSegment(POLY_OPA_DISP++, 0x08, SEGMENTED_TO_VIRTUAL(gGoronCsEyeOpenTex));
|
||||
gSPSegment(POLY_OPA_DISP++, 0x09, SEGMENTED_TO_VIRTUAL(gGoronCsMouthNeutralTex));
|
||||
|
||||
SkelAnime_DrawFlexOpa(play, this->skelAnime.skeleton, this->skelAnime.jointTable, this->skelAnime.dListCount,
|
||||
EnGo_OverrideLimbDraw, EnGo_PostLimbDraw, &this->actor);
|
||||
CLOSE_DISPS(play->state.gfxCtx, "../z_en_go.c", 2525);
|
||||
EnGo_DrawEffects(this, play);
|
||||
}
|
||||
SkelAnime_DrawFlexOpa(play, this->skelAnime.skeleton, this->skelAnime.jointTable, this->skelAnime.dListCount,
|
||||
EnGo_OverrideLimbDraw, EnGo_PostLimbDraw, &this->actor);
|
||||
CLOSE_DISPS(play->state.gfxCtx, "../z_en_go.c", 2525);
|
||||
EnGo_DrawEffects(this, play);
|
||||
}
|
||||
|
||||
void EnGo_SpawnEffectDust(EnGo* this, Vec3f* pos, Vec3f* velocity, Vec3f* accel, u8 initialTimer, f32 scale,
|
||||
|
|
|
@ -2132,15 +2132,13 @@ void EnGo2_Draw(Actor* thisx, PlayState* play) {
|
|||
}
|
||||
|
||||
// draw skeleton normally
|
||||
{
|
||||
OPEN_DISPS(play->state.gfxCtx, "../z_en_go2.c", 3063);
|
||||
Gfx_SetupDL_25Opa(play->state.gfxCtx);
|
||||
OPEN_DISPS(play->state.gfxCtx, "../z_en_go2.c", 3063);
|
||||
Gfx_SetupDL_25Opa(play->state.gfxCtx);
|
||||
|
||||
gSPSegment(POLY_OPA_DISP++, 0x08, SEGMENTED_TO_VIRTUAL(eyeTextures[this->eyeTexIndex]));
|
||||
gSPSegment(POLY_OPA_DISP++, 0x09, SEGMENTED_TO_VIRTUAL(mouthTextures[this->mouthTexIndex]));
|
||||
gSPSegment(POLY_OPA_DISP++, 0x08, SEGMENTED_TO_VIRTUAL(eyeTextures[this->eyeTexIndex]));
|
||||
gSPSegment(POLY_OPA_DISP++, 0x09, SEGMENTED_TO_VIRTUAL(mouthTextures[this->mouthTexIndex]));
|
||||
|
||||
SkelAnime_DrawFlexOpa(play, this->skelAnime.skeleton, this->skelAnime.jointTable, this->skelAnime.dListCount,
|
||||
EnGo2_OverrideLimbDraw, EnGo2_PostLimbDraw, this);
|
||||
CLOSE_DISPS(play->state.gfxCtx, "../z_en_go2.c", 3081);
|
||||
}
|
||||
SkelAnime_DrawFlexOpa(play, this->skelAnime.skeleton, this->skelAnime.jointTable, this->skelAnime.dListCount,
|
||||
EnGo2_OverrideLimbDraw, EnGo2_PostLimbDraw, this);
|
||||
CLOSE_DISPS(play->state.gfxCtx, "../z_en_go2.c", 3081);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue