diff options
| author | sitton76 <58642183+sitton76@users.noreply.github.com> | 2025-05-17 03:06:29 -0500 |
|---|---|---|
| committer | sitton76 <58642183+sitton76@users.noreply.github.com> | 2025-05-17 03:06:29 -0500 |
| commit | c7f67eae75d03c8e05fc31e29a0a982ea82d77d2 (patch) | |
| tree | 6f91730933566db8a0b3671ce60e50703a952c51 /src/racing | |
| parent | 860539a81c80c2734720d67b1cec581a91e3f87f (diff) | |
Green shells tag, and added comments I neglected to add before.
Diffstat (limited to 'src/racing')
| -rw-r--r-- | src/racing/actors.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/racing/actors.c b/src/racing/actors.c index 9344bd3eb..ba9ae9307 100644 --- a/src/racing/actors.c +++ b/src/racing/actors.c @@ -34,6 +34,7 @@ #include <assets/wario_stadium_data.h> #include <assets/frappe_snowland_data.h> #include "port/Game.h" +#include "port/interpolation/FrameInterpolation.h" // Appears to be textures // or tluts @@ -707,6 +708,9 @@ void render_actor_shell(Camera* camera, Mat4 matrix, struct ShellActor* shell) { //! @todo Is this making the shell spin? // Is it doing this by modifying a an address? uintptr_t phi_t3; + + // @port: Tag the transform. + FrameInterpolation_RecordOpenChild("Shell", TAG_ITEM_ADDR(shell)); f32 temp_f0 = is_within_render_distance(camera->pos, shell->pos, camera->rot[1], 0, gCameraZoom[camera - camera1], 490000.0f); @@ -749,6 +753,9 @@ void render_actor_shell(Camera* camera, Mat4 matrix, struct ShellActor* shell) { } else { gSPDisplayList(gDisplayListHead++, D_0D005368); } + + // @port Pop the transform id. + FrameInterpolation_RecordCloseChild(); } UNUSED s16 D_802B8808[] = { 0x0014, 0x0028, 0x0000, 0x0000 }; |
