diff --git a/actors.html b/actors.html
index 45c9f94a7..a0d5282dc 100644
--- a/actors.html
+++ b/actors.html
@@ -103,7 +103,7 @@ $(function(){initNavTree('actors.html',''); initResizable(); });
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
35 nextWaypoint = currentWaypoint + 1;
-
-
+
+
-
-
-
-
-
-
-
-
+
41 temp_f20 = temp_f2 - shell->
pos[0];
+
42 temp_f22 = temp_f12 - shell->
pos[1];
+
43 temp_f24 = temp_f28 - shell->
pos[2];
+
44 temp_f0 = (temp_f20 * temp_f20) + (temp_f22 * temp_f22) + (temp_f24 * temp_f24);
+
45 if (temp_f0 > 400.0f) {
+
+
+
-
-
-
+
50 temp_f12_0 = temp_f18_3 - shell->
pos[0];
+
51 temp_f12_1 = temp_f16_3 - shell->
pos[1];
+
52 temp_f12_2 = temp_f26 - shell->
pos[2];
-
-
-
+
54 temp_f0_3 = (temp_f12_0 * temp_f12_0) + (temp_f12_1 * temp_f12_1) + (temp_f12_2 * temp_f12_2);
+
55 if (temp_f0_3 < temp_f0) {
+
-
-
-
-
+
58 temp_f0_2 =
sqrtf(temp_f0) * 4.0f;
+
59 temp_f20 /= temp_f0_2;
+
60 temp_f22 /= temp_f0_2;
+
61 temp_f24 /= temp_f0_2;
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
+
67 temp_f12_3 += temp_f20;
+
68 temp_f14_2 += temp_f22;
+
69 temp_f16_2 += temp_f24;
+
70 temp_f0 =
sqrtf((temp_f12_3 * temp_f12_3) + (temp_f14_2 * temp_f14_2) + (temp_f16_2 * temp_f16_2));
+
+
+
73 temp_f12_3 /= temp_f0;
+
74 temp_f14_2 /= temp_f0;
+
75 temp_f16_2 /= temp_f0;
-
-
-
+
+
+
-
-
-
+
81 origPos[0] = shell->
pos[0];
+
82 origPos[1] = shell->
pos[1];
+
83 origPos[2] = shell->
pos[2];
-
-
-
-
-
+
85 shell->
pos[0] += temp_f12_3;
+
86 shell->
pos[1] += temp_f14_2;
+
87 shell->
pos[2] += temp_f16_2;
+
+
-
-
-
-
-
+
+
93 shell->
pos[0] = temp_f2;
+
+
95 shell->
pos[2] = temp_f28;
+
-
-
-
+
+
+
-
-
-
+
102 shell->
pos[0] = (temp_f2 + temp_f18_3) * 0.5f;
+
+
104 shell->
pos[2] = (temp_f28 + temp_f26) * 0.5f;
-
-
-
+
106 shell->
velocity[0] = (temp_f18_3 - temp_f2) * 0.5f;
+
107 shell->
velocity[1] = (temp_f16_3 - temp_f12) * 0.5f;
+
108 shell->
velocity[2] = (temp_f26 - temp_f28) * 0.5f;
-
+
-
-
+
+
158 f32 playerToShellDistance;
-
+
160 f32 smallestDistance = 25000000.0f;
-
+
162 for (playerIndex = 0; playerIndex < 4; playerIndex++) {
165 if (player ==
owner) {
continue; }
@@ -608,10 +608,10 @@ $(function(){initNavTree('blue__and__red__shells_2update_8inc_8c_source.html',''
s16 gCourseMaxX
Definition code_800029B0.c:86
s16 gPlayerPositionLUT[8]
Definition code_800029B0.c:144
-
s32 add_red_shell_in_unexpired_actor_list(s32 actorIndex)
Definition code_80005FD0.c:3253
+
s32 add_red_shell_in_unexpired_actor_list(s32 actorIndex)
Definition code_80005FD0.c:3240
TrackWaypoint * D_80164490
Definition code_80005FD0.c:166
u16 gNearestWaypointByPlayerId[12]
Definition code_80005FD0.c:162
-
s32 add_blue_shell_in_unexpired_actor_list(s32 arg0)
Definition code_80005FD0.c:3269
+
s32 add_blue_shell_in_unexpired_actor_list(s32 arg0)
Definition code_80005FD0.c:3256
u16 D_80164430
Definition code_80005FD0.c:161
s16 gPlayerBalloonCount[8]
Definition code_80057C60_var.c:232
u16 func_802AD950(Collision *collision, f32 boundingBoxSize, f32 x1, f32 y1, f32 z1, f32 x2, f32 y2, f32 z2)
Definition collision.c:1233
@@ -660,6 +660,11 @@ $(function(){initNavTree('blue__and__red__shells_2update_8inc_8c_source.html',''
s16 currentRank
Definition common_structs.h:272
Vec3f pos
Definition common_structs.h:279
Definition actor_types.h:302
+
f32 boundingBoxSize
Definition actor_types.h:315
+
Vec3f velocity
Definition actor_types.h:324
+
Vec3f pos
Definition actor_types.h:323
+
Collision unk30
Definition actor_types.h:325
+
u16 pathIndex
Definition actor_types.h:319
s16 posZ
Definition waypoints.h:9
s16 posY
Definition waypoints.h:8
s16 posX
Definition waypoints.h:7
diff --git a/bug.html b/bug.html
index cb0bbc309..9a4e41d46 100644
--- a/bug.html
+++ b/bug.html
@@ -111,9 +111,9 @@ $(function(){initNavTree('bug.html',''); initResizable(); });
Global func_8001969C (UNUSED s32 playerId, UNUSED f32 arg1, s32 cameraId, UNUSED s16 pathIndex)
Adding an (f32) cast changes asm, why?
Global func_800B9BE4 (f32, f32, u16 *)
-
they probably meant to store the value to tmp[i] and tmp[8 + i]
+
they probably meant to store the value to tmp[i] and tmp[8 + i]
Global func_800BB388 (s32 bankId, s32 instId, s32 arg2)
-
missing return
+
missing return
Global func_802AF314 (void)
possibly bug. Allocate memory but not increment the pointer. This is bad, dumb code, and more importantly it's bad dumb code that doesn't make any sense here. It is incremented after this function completes using a different variable. Not good.
Global init_sequence_players (void)
diff --git a/ceremony__and__credits_8c.html b/ceremony__and__credits_8c.html
index 7a09e364e..be46e501c 100644
--- a/ceremony__and__credits_8c.html
+++ b/ceremony__and__credits_8c.html
@@ -1007,7 +1007,7 @@ Here is the caller graph for this function:
-
- Todo
- What does this even do?
+
- Todo
- What does this even do?
diff --git a/ceremony__and__credits_8h.html b/ceremony__and__credits_8h.html
index 305cb43f9..1b90c2c2a 100644
--- a/ceremony__and__credits_8h.html
+++ b/ceremony__and__credits_8h.html
@@ -960,7 +960,7 @@ Here is the caller graph for this function: