summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_fganon.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2025-04-16 15:02:18 -0400
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2025-04-16 15:02:18 -0400
commitce1468c108205fa606da946d0ede7a9f90ee3311 (patch)
tree53dbf245edbefadab38ab224d02ed1e029aede15 /src/d/actor/d_a_fganon.cpp
parent1f049c091158cbb31ffeb7c0d8f0f602b159e935 (diff)
player enum and inlines and goto cleanup
Diffstat (limited to 'src/d/actor/d_a_fganon.cpp')
-rw-r--r--src/d/actor/d_a_fganon.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/d/actor/d_a_fganon.cpp b/src/d/actor/d_a_fganon.cpp
index 6a5e4713..e92539e9 100644
--- a/src/d/actor/d_a_fganon.cpp
+++ b/src/d/actor/d_a_fganon.cpp
@@ -1668,7 +1668,7 @@ void demo_camera(fganon_class* i_this) {
i_this->mB80 = 0.0f;
player->changeOriginalDemo();
- player->changeDemoMode(0x18);
+ player->changeDemoMode(daPy_demo_c::DEMO_UNK18_e);
}
case 2: {
transformedPos.x = -300306.0f;
@@ -1690,7 +1690,7 @@ void demo_camera(fganon_class* i_this) {
}
if (i_this->mB56 == 30) {
- player->mDemo.setDemoMode(0x35);
+ player->changeDemoMode(daPy_demo_c::DEMO_UNK35_e);
}
if (i_this->mB56 == 45) {
@@ -1809,7 +1809,7 @@ void demo_camera(fganon_class* i_this) {
i_this->mB5C.y = 921.0f;
i_this->mB5C.z = -300851.0f;
- player->changeDemoMode(0x1A);
+ player->changeDemoMode(daPy_demo_c::DEMO_UNK1A_e);
}
break;
}
@@ -1865,7 +1865,7 @@ void demo_camera(fganon_class* i_this) {
cLib_addCalc2(&i_this->mB68.y, (i_this->eyePos.y - 30.0f) + REG0_F(11), 0.1f, 20.0f);
if (i_this->mB56 == 100) {
i_this->mB54 = 55;
- player->changeDemoMode(0xF);
+ player->changeDemoMode(daPy_demo_c::DEMO_UNK0F_e);
i_this->mB56 = 0;
}
else {