diff options
| author | sitton76 <58642183+sitton76@users.noreply.github.com> | 2025-05-20 22:21:51 -0500 |
|---|---|---|
| committer | sitton76 <58642183+sitton76@users.noreply.github.com> | 2025-05-20 22:21:51 -0500 |
| commit | ee9ca1a52e35b8480065bdde201f85be022e4677 (patch) | |
| tree | aca3c1c80d42063cce05c724d6324445ff1ff352 | |
| parent | 6f61776b910cea30f99edf6d087263fd4ca9a991 (diff) | |
interpolated ended scene fireworks.
| -rw-r--r-- | src/ending/podium_ceremony_actors.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ending/podium_ceremony_actors.c b/src/ending/podium_ceremony_actors.c index 1e3911287..04edd018f 100644 --- a/src/ending/podium_ceremony_actors.c +++ b/src/ending/podium_ceremony_actors.c @@ -18,6 +18,7 @@ #include "code_80281C40.h" #include "math_util.h" #include <string.h> +#include "port/interpolation/FrameInterpolation.h" #include "src/port/Game.h" #include "engine/Matrix.h" @@ -262,6 +263,9 @@ void render_fireworks(Vec3f arg0, f32 arg1, s32 rgb, s16 alpha) { void firework_update(Firework* actor) { s32 i; Vec3f pos; + + // @port: Tag the transform. + FrameInterpolation_RecordOpenChild("render_fireworks", (uintptr_t) actor); if (actor->unk44 < 30) { for (i = 0; i < 10; i++) { pos[0] = actor->pos[0]; @@ -290,6 +294,8 @@ void firework_update(Firework* actor) { } } actor->unk44 += 1; + // @port Pop the transform id. + FrameInterpolation_RecordCloseChild(); } void unused_80280FA0(UNUSED CeremonyActor* actor) { |
