summaryrefslogtreecommitdiff
path: root/src/engine/objects/Thwomp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/objects/Thwomp.cpp')
-rw-r--r--src/engine/objects/Thwomp.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/engine/objects/Thwomp.cpp b/src/engine/objects/Thwomp.cpp
index 9cee27c50..9919b43b7 100644
--- a/src/engine/objects/Thwomp.cpp
+++ b/src/engine/objects/Thwomp.cpp
@@ -4,6 +4,7 @@
#include <vector>
#include "port/Game.h"
+#include "port/interpolation/FrameInterpolation.h"
extern "C" {
#include "macros.h"
@@ -138,8 +139,13 @@ void OThwomp::Tick60fps() { // func_80081210
OThwomp::AddParticles(_objectIndex);
}
+
+
if (_idx == 0) {
for (var_s4 = 0; var_s4 < gObjectParticle2_SIZE; var_s4++) {
+ // @port: Tag the transform.
+ FrameInterpolation_RecordOpenChild("Thwomp_part", (uintptr_t) var_s4);
+
objectIndex = gObjectParticle2[var_s4];
if (objectIndex == DELETED_OBJECT_ID) {
continue;
@@ -152,6 +158,9 @@ void OThwomp::Tick60fps() { // func_80081210
continue;
}
delete_object_wrapper(&gObjectParticle2[var_s4]);
+
+ // @port Pop the transform id.
+ FrameInterpolation_RecordCloseChild();
}
}
}