diff options
| author | Alejandro Javier Asenjo Nitti <alejandro.asenjo88@gmail.com> | 2024-08-15 03:24:04 -0300 |
|---|---|---|
| committer | Alejandro Javier Asenjo Nitti <alejandro.asenjo88@gmail.com> | 2024-08-15 03:24:04 -0300 |
| commit | 5f5c0d2edfbfd04ce2b1b665942201597bd56bab (patch) | |
| tree | 0593fcab1951022fd728847499c05a50f2a15be5 /src/engine | |
| parent | 885a20e29f4852521d5edb32de3655fdd26bb765 (diff) | |
unk_08 -> bottomRightFlapYrot
Diffstat (limited to 'src/engine')
| -rw-r--r-- | src/engine/fox_demo.c | 10 | ||||
| -rw-r--r-- | src/engine/fox_display.c | 4 | ||||
| -rw-r--r-- | src/engine/fox_edisplay.c | 4 | ||||
| -rw-r--r-- | src/engine/fox_play.c | 16 |
4 files changed, 17 insertions, 17 deletions
diff --git a/src/engine/fox_demo.c b/src/engine/fox_demo.c index 6eb6fca7..8bdd4feb 100644 --- a/src/engine/fox_demo.c +++ b/src/engine/fox_demo.c @@ -777,7 +777,7 @@ void Cutscene_AllRangeMode(Player* player) { } } player->arwing.unk_10 = 0.0f; - player->arwing.unk_08 = 0.0f; + player->arwing.bottomRightFlapYrot = 0.0f; player->arwing.unk_0C = 0.0f; player->arwing.upperRightFlapYrot = 0.0f; @@ -920,7 +920,7 @@ void Cutscene_CoComplete2(Player* player) { player->csState++; player->arwing.upperRightFlapYrot = 0.0f; player->arwing.unk_0C = 0.0f; - player->arwing.unk_08 = 0.0f; + player->arwing.bottomRightFlapYrot = 0.0f; player->arwing.unk_10 = 0.0f; player->zRotBarrelRoll = 0.0f; player->zRotBank = 0.0f; @@ -1021,7 +1021,7 @@ void Cutscene_CoComplete2(Player* player) { player->csState = 1; player->csTimer = 150; player->arwing.unk_10 = 0.0f; - player->arwing.unk_08 = 0.0f; + player->arwing.bottomRightFlapYrot = 0.0f; player->arwing.unk_0C = 0.0f; player->arwing.upperRightFlapYrot = 0.0f; } @@ -1449,7 +1449,7 @@ void Cutscene_UTurn(Player* player) { } Math_SmoothStepToF(&player->arwing.upperRightFlapYrot, sp58.y, 0.3f, 100.0f, 0.0f); - Math_SmoothStepToF(&player->arwing.unk_08, sp58.y, 0.3f, 100.0f, 0.0f); + Math_SmoothStepToF(&player->arwing.bottomRightFlapYrot, sp58.y, 0.3f, 100.0f, 0.0f); Math_SmoothStepToF(&player->arwing.unk_0C, sp58.y, 0.3f, 100.0f, 0.0f); Math_SmoothStepToF(&player->arwing.unk_10, sp58.y, 0.3f, 100.0f, 0.0f); Math_SmoothStepToF(&player->zRotBank, 0.0f, 0.1f, 15.0f, 0.0f); @@ -1480,7 +1480,7 @@ void Cutscene_UTurn(Player* player) { sp58.y = player->zRotBank * 0.3f; Math_SmoothStepToF(&player->arwing.upperRightFlapYrot, sp58.y, 0.3f, 100.0f, 0.0f); - Math_SmoothStepToF(&player->arwing.unk_08, sp58.y, 0.3f, 100.0f, 0.0f); + Math_SmoothStepToF(&player->arwing.bottomRightFlapYrot, sp58.y, 0.3f, 100.0f, 0.0f); sp58.z = -sp58.y; diff --git a/src/engine/fox_display.c b/src/engine/fox_display.c index 3dcc595c..df67b55d 100644 --- a/src/engine/fox_display.c +++ b/src/engine/fox_display.c @@ -532,7 +532,7 @@ bool Display_ArwingWingsOverrideLimbDraw(s32 limbIndex, Gfx** gfxPtr, Vec3f* pos rot->y -= arwing->upperRightFlapYrot; break; case 2: - rot->y -= arwing->unk_08; + rot->y -= arwing->bottomRightFlapYrot; break; case 5: rot->y -= arwing->unk_10; @@ -693,7 +693,7 @@ void Display_Arwing(Player* player, s32 reflectY) { } } else { if ((gLevelType == LEVELTYPE_SPACE) || (gCurrentLevel == LEVEL_BOLSE)) { - player->arwing.unk_28 = player->arwing.upperRightFlapYrot = player->arwing.unk_08 = + player->arwing.unk_28 = player->arwing.upperRightFlapYrot = player->arwing.bottomRightFlapYrot = player->arwing.unk_0C = player->arwing.unk_10 = 0.0f; } D_display_800CA22C = true; diff --git a/src/engine/fox_edisplay.c b/src/engine/fox_edisplay.c index 9ea4a027..0f10961d 100644 --- a/src/engine/fox_edisplay.c +++ b/src/engine/fox_edisplay.c @@ -534,7 +534,7 @@ void func_edisplay_8005B388(Actor199* actor) { } D_edisplay_80161630.upperRightFlapYrot = actor->fwork[15]; D_edisplay_80161630.unk_0C = actor->fwork[16]; - D_edisplay_80161630.unk_08 = actor->fwork[26]; + D_edisplay_80161630.bottomRightFlapYrot = actor->fwork[26]; D_edisplay_80161630.unk_10 = actor->fwork[27]; D_edisplay_80161630.unk_14 = D_edisplay_80161630.unk_18 = D_edisplay_80161630.unk_1C = D_edisplay_80161630.unk_20 = D_edisplay_80161630.unk_38 = D_edisplay_80161630.unk_24 = 0.0f; @@ -543,7 +543,7 @@ void func_edisplay_8005B388(Actor199* actor) { D_edisplay_80161630.unk_30 = actor->fwork[20]; D_edisplay_80161630.unk_34 = actor->fwork[19]; if (gLevelType == LEVELTYPE_SPACE) { - D_edisplay_80161630.upperRightFlapYrot = D_edisplay_80161630.unk_08 = D_edisplay_80161630.unk_0C = + D_edisplay_80161630.upperRightFlapYrot = D_edisplay_80161630.bottomRightFlapYrot = D_edisplay_80161630.unk_0C = D_edisplay_80161630.unk_10 = 0.0f; } Display_ArwingWings(&D_edisplay_80161630); diff --git a/src/engine/fox_play.c b/src/engine/fox_play.c index e924c393..b047ea34 100644 --- a/src/engine/fox_play.c +++ b/src/engine/fox_play.c @@ -3364,7 +3364,7 @@ void Player_ArwingBank(Player* player) { sp38 = 0.2f; if (player->zRotBank < 70.0f) { Math_SmoothStepToF(&player->arwing.upperRightFlapYrot, -70.0f, 0.3f, 100.0f, 0.0f); - Math_SmoothStepToF(&player->arwing.unk_08, -70.0f, 0.3f, 100.0f, 0.f); + Math_SmoothStepToF(&player->arwing.bottomRightFlapYrot, -70.0f, 0.3f, 100.0f, 0.f); Math_SmoothStepToF(&player->arwing.unk_0C, 70.0f, 0.3f, 100.0f, 0.f); Math_SmoothStepToF(&player->arwing.unk_10, 70.0f, 0.3f, 100.0f, 0.f); if (player->pos.y < (gGroundHeight + 70.0f)) { @@ -3378,7 +3378,7 @@ void Player_ArwingBank(Player* player) { sp38 = 0.2f; if (player->zRotBank > -70.0f) { Math_SmoothStepToF(&player->arwing.upperRightFlapYrot, 70.0f, 0.3f, 100.0f, 0.0f); - Math_SmoothStepToF(&player->arwing.unk_08, 70.0f, 0.3f, 100.0f, 0.0f); + Math_SmoothStepToF(&player->arwing.bottomRightFlapYrot, 70.0f, 0.3f, 100.0f, 0.0f); Math_SmoothStepToF(&player->arwing.unk_0C, -70.0f, 0.3f, 100.0f, 0.0f); Math_SmoothStepToF(&player->arwing.unk_10, -70.0f, 0.3f, 100.0f, 0.0f); if (player->pos.y < (gGroundHeight + 70.0f)) { @@ -3599,7 +3599,7 @@ void Player_MoveArwing360(Player* player) { Math_SmoothStepToF(&player->arwing.unk_28, 0.0f, 0.1f, 100.0f, 0.0f); Math_SmoothStepToF(&player->arwing.upperRightFlapYrot, -sp60 + sp5C, 0.1f, 100.0f, 0.0f); - Math_SmoothStepToF(&player->arwing.unk_08, -sp60 - sp5C, 0.1f, 100.0f, 0.0f); + Math_SmoothStepToF(&player->arwing.bottomRightFlapYrot, -sp60 - sp5C, 0.1f, 100.0f, 0.0f); Math_SmoothStepToF(&player->arwing.unk_0C, -sp60 + sp58, 0.1f, 100.0f, 0.0f); Math_SmoothStepToF(&player->arwing.unk_10, -sp60 - sp58, 0.1f, 100.0f, 0.0f); @@ -3734,7 +3734,7 @@ void Player_PerformLoop(Player* player) { } Math_SmoothStepToF(&player->arwing.upperRightFlapYrot, sp58, 0.3f, 100.0f, 0.0f); - Math_SmoothStepToF(&player->arwing.unk_08, sp58, 0.3f, 100.0f, 0.0f); + Math_SmoothStepToF(&player->arwing.bottomRightFlapYrot, sp58, 0.3f, 100.0f, 0.0f); Math_SmoothStepToF(&player->arwing.unk_0C, sp58, 0.3f, 100.0f, 0.0f); Math_SmoothStepToF(&player->arwing.unk_10, sp58, 0.3f, 100.0f, 0.0f); @@ -3862,7 +3862,7 @@ void Player_MoveArwingOnRails(Player* player) { } Math_SmoothStepToF(&player->arwing.unk_28, 0.0f, 0.1f, 100.0f, 0.0f); Math_SmoothStepToF(&player->arwing.upperRightFlapYrot, (-sp7C) + sp78, 0.1f, 100.0f, 0.0f); - Math_SmoothStepToF(&player->arwing.unk_08, (-sp7C) - sp78, 0.1f, 100.0f, 0.0f); + Math_SmoothStepToF(&player->arwing.bottomRightFlapYrot, (-sp7C) - sp78, 0.1f, 100.0f, 0.0f); Math_SmoothStepToF(&player->arwing.unk_0C, (-sp7C) + sp74, 0.1f, 100.0f, 0.0f); Math_SmoothStepToF(&player->arwing.unk_10, (-sp7C) - sp74, 0.1f, 100.0f, 0.0f); } @@ -5035,7 +5035,7 @@ void Player_ArwingBoost(Player* player) { if (gLevelType == LEVELTYPE_PLANET) { player->arwing.unk_28 += (35.0f - player->arwing.unk_28) * 0.1f; Math_SmoothStepToF(&player->arwing.upperRightFlapYrot, 0.0f, 0.5f, 100.0f, 0.0f); - Math_SmoothStepToF(&player->arwing.unk_08, 0.0f, 0.5f, 100.0f, 0.0f); + Math_SmoothStepToF(&player->arwing.bottomRightFlapYrot, 0.0f, 0.5f, 100.0f, 0.0f); Math_SmoothStepToF(&player->arwing.unk_0C, 0.0f, 0.5f, 100.0f, 0.0f); Math_SmoothStepToF(&player->arwing.unk_10, 0.0f, 0.5f, 100.0f, 0.0f); } @@ -5133,7 +5133,7 @@ void Player_ArwingBrake(Player* player) { if (gLevelType == LEVELTYPE_PLANET) { Math_SmoothStepToF(&player->arwing.upperRightFlapYrot, 90.0f, 0.2f, 100.0f, 0.0f); - Math_SmoothStepToF(&player->arwing.unk_08, -90.0f, 0.2f, 100.0f, 0.0f); + Math_SmoothStepToF(&player->arwing.bottomRightFlapYrot, -90.0f, 0.2f, 100.0f, 0.0f); Math_SmoothStepToF(&player->arwing.unk_0C, 90.0f, 0.2f, 100.0f, 0.0f); Math_SmoothStepToF(&player->arwing.unk_10, -90.0f, 0.2f, 100.0f, 0.0f); } @@ -5865,7 +5865,7 @@ void Player_Update(Player* player) { player->arwing.modelId = 1; Math_SmoothStepToF(&player->arwing.upperRightFlapYrot, 0.0f, 0.1f, 5.0f, 0); - Math_SmoothStepToF(&player->arwing.unk_08, 0.0f, 0.1f, 5.0f, 0); + Math_SmoothStepToF(&player->arwing.bottomRightFlapYrot, 0.0f, 0.1f, 5.0f, 0); Math_SmoothStepToF(&player->arwing.unk_0C, 0.0f, 0.1f, 5.0f, 0); Math_SmoothStepToF(&player->arwing.unk_10, 0.0f, 0.1f, 5.0f, 0); |
