From a5670c9193a9c56475d93271b980485e17dc6e86 Mon Sep 17 00:00:00 2001 From: MegaMech Date: Sat, 17 May 2025 15:33:41 -0600 Subject: Tag more items --- src/engine/objects/Bat.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/engine/objects/Bat.cpp') diff --git a/src/engine/objects/Bat.cpp b/src/engine/objects/Bat.cpp index 764476064..d1ecba10e 100644 --- a/src/engine/objects/Bat.cpp +++ b/src/engine/objects/Bat.cpp @@ -1,6 +1,7 @@ #include "Bat.h" #include "World.h" #include "CoreMath.h" +#include "src/port/interpolation/FrameInterpolation.h" extern "C" { #include "render_objects.h" @@ -114,6 +115,7 @@ void OBat::Draw(s32 cameraId) { if ((D_8018CFB0 != 0) || (D_8018CFC8 != 0)) { for (var_s2 = 0; var_s2 < 40; var_s2++) { objectIndex = gObjectParticle2[var_s2]; + FrameInterpolation_RecordOpenChild(&gObjectList[objectIndex], TAG_OBJECT((objectIndex << 8) + var_s2)); if (objectIndex == -1) { continue; } @@ -124,11 +126,13 @@ void OBat::Draw(s32 cameraId) { func_800431B0(gObjectList[objectIndex].pos, D_80183E80, gObjectList[objectIndex].sizeScaling, (Vtx*)D_0D0062B0); } + FrameInterpolation_RecordCloseChild(); } } if ((D_8018CFE8 != 0) || (D_8018D000 != 0)) { for (var_s2 = 0; var_s2 < 30; var_s2++) { objectIndex = gObjectParticle3[var_s2]; + FrameInterpolation_RecordOpenChild(&gObjectList[objectIndex], TAG_OBJECT((objectIndex << 8) + var_s2)); if (objectIndex == -1) { continue; } @@ -139,6 +143,7 @@ void OBat::Draw(s32 cameraId) { func_800431B0(gObjectList[objectIndex].pos, D_80183E80, gObjectList[objectIndex].sizeScaling, (Vtx*)D_0D0062B0); } + FrameInterpolation_RecordCloseChild(); } } gSPTexture(gDisplayListHead++, 0x0001, 0x0001, 0, G_TX_RENDERTILE, G_OFF); -- cgit v1.2.3