summaryrefslogtreecommitdiff
path: root/src/engine/fox_demo.c
diff options
context:
space:
mode:
authorAlejandro Javier Asenjo Nitti <alejandro.asenjo88@gmail.com>2024-08-15 03:26:01 -0300
committerAlejandro Javier Asenjo Nitti <alejandro.asenjo88@gmail.com>2024-08-15 03:26:01 -0300
commit02ea67c9ccdc2c1fefb1eab8405764efb859462e (patch)
treef3ed9e03bb6911cb63924e505aa93bfc5cb14cef /src/engine/fox_demo.c
parent5f5c0d2edfbfd04ce2b1b665942201597bd56bab (diff)
unk_0C -> upperLeftFlapYrot
Diffstat (limited to 'src/engine/fox_demo.c')
-rw-r--r--src/engine/fox_demo.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/engine/fox_demo.c b/src/engine/fox_demo.c
index 8bdd4feb..0a9f1a81 100644
--- a/src/engine/fox_demo.c
+++ b/src/engine/fox_demo.c
@@ -778,7 +778,7 @@ void Cutscene_AllRangeMode(Player* player) {
}
player->arwing.unk_10 = 0.0f;
player->arwing.bottomRightFlapYrot = 0.0f;
- player->arwing.unk_0C = 0.0f;
+ player->arwing.upperLeftFlapYrot = 0.0f;
player->arwing.upperRightFlapYrot = 0.0f;
Math_SmoothStepToF(&player->rot.x, 0.0f, 0.1f, 5.0f, 0.0f);
@@ -919,7 +919,7 @@ void Cutscene_CoComplete2(Player* player) {
D_ctx_80177A48[2] = 0.0f;
player->csState++;
player->arwing.upperRightFlapYrot = 0.0f;
- player->arwing.unk_0C = 0.0f;
+ player->arwing.upperLeftFlapYrot = 0.0f;
player->arwing.bottomRightFlapYrot = 0.0f;
player->arwing.unk_10 = 0.0f;
player->zRotBarrelRoll = 0.0f;
@@ -1022,7 +1022,7 @@ void Cutscene_CoComplete2(Player* player) {
player->csTimer = 150;
player->arwing.unk_10 = 0.0f;
player->arwing.bottomRightFlapYrot = 0.0f;
- player->arwing.unk_0C = 0.0f;
+ player->arwing.upperLeftFlapYrot = 0.0f;
player->arwing.upperRightFlapYrot = 0.0f;
}
break;
@@ -1450,7 +1450,7 @@ void Cutscene_UTurn(Player* player) {
Math_SmoothStepToF(&player->arwing.upperRightFlapYrot, 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.upperLeftFlapYrot, 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);
Math_SmoothStepToF(&player->aerobaticPitch, 190.0f, 0.1f, 6.0f, 0.001f);
@@ -1484,7 +1484,7 @@ void Cutscene_UTurn(Player* player) {
sp58.z = -sp58.y;
- Math_SmoothStepToF(&player->arwing.unk_0C, sp58.z, 0.3f, 100.0f, 0.0f);
+ Math_SmoothStepToF(&player->arwing.upperLeftFlapYrot, sp58.z, 0.3f, 100.0f, 0.0f);
Math_SmoothStepToF(&player->arwing.unk_10, sp58.z, 0.3f, 100.0f, 0.0f);
player->unk_190 = 2.0f;