mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-24 07:05:34 -07:00
commit
f45c43abea
3 changed files with 12 additions and 4 deletions
|
@ -1681,7 +1681,7 @@ void Player_PostLimbDrawGameplay(PlayState* play, s32 limbIndex, Gfx** dList, Ve
|
|||
Matrix_MultVec3f(&sZeroVec, D_80160000);
|
||||
}
|
||||
|
||||
if (CVarGetInteger("gLetItSnow", 0) && !(this->stateFlags1 & PLAYER_STATE1_FIRST_PERSON)) {
|
||||
if (CVarGetInteger("gLetItSnow", 0) && !(this->stateFlags1 & PLAYER_STATE1_FIRST_PERSON) && !(this->stateFlags2 & PLAYER_STATE2_CRAWLING)) {
|
||||
if (limbIndex == PLAYER_LIMB_HEAD) {
|
||||
OPEN_DISPS(play->state.gfxCtx);
|
||||
|
||||
|
|
|
@ -1278,6 +1278,14 @@ void EnHy_PostLimbDraw(PlayState* play, s32 limbIndex, Gfx** dList, Vec3s* rot,
|
|||
gSPDisplayList(POLY_OPA_DISP++, gPaperCrownGenericDL);
|
||||
break;
|
||||
}
|
||||
case 1939: {
|
||||
Matrix_RotateZYX(2656, 1328, 1992, MTXMODE_APPLY);
|
||||
Matrix_Translate(1094.594f, 94.594f, 0.0f, MTXMODE_APPLY);
|
||||
Matrix_Scale(1.351f, 1.351f, 1.351f, MTXMODE_APPLY);
|
||||
gSPMatrix(POLY_OPA_DISP++, MATRIX_NEWMTX(play->state.gfxCtx), G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW);
|
||||
gSPDisplayList(POLY_OPA_DISP++, gSantaHatGenericDL);
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
Matrix_RotateZYX(0, 0, 664, MTXMODE_APPLY);
|
||||
Matrix_Translate(783.784f, 94.594f, 0.0f, MTXMODE_APPLY);
|
||||
|
|
|
@ -2556,10 +2556,10 @@ s32 EnOssan_OverrideLimbDrawKokiriShopkeeper(PlayState* play, s32 limbIndex, Gfx
|
|||
gSPSegment(POLY_OPA_DISP++, 0x0A, SEGMENTED_TO_VIRTUAL(sKokiriShopkeeperEyeTextures[this->eyeTextureIdx]));
|
||||
}
|
||||
|
||||
if (limbIndex == 9) {
|
||||
if (limbIndex == 15) {
|
||||
Matrix_Push();
|
||||
Matrix_RotateZYX(13948, 0, -1550, MTXMODE_APPLY);
|
||||
Matrix_Translate(1837.838f, 0.000f, 540.541f, MTXMODE_APPLY);
|
||||
Matrix_RotateZYX(14169, -2215, 0, MTXMODE_APPLY);
|
||||
Matrix_Translate(1810.811f, -351.351f, -94.595f, MTXMODE_APPLY);
|
||||
Matrix_Scale(1.068f, 1.068f, 1.068f, MTXMODE_APPLY);
|
||||
gSPMatrix(POLY_OPA_DISP++, MATRIX_NEWMTX(play->state.gfxCtx), G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW);
|
||||
gSPDisplayList(POLY_OPA_DISP++, gSantaHatGenericDL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue