diff options
| author | MegaMech <MegaMech@users.noreply.github.com> | 2026-02-05 12:44:26 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-05 12:44:26 -0700 |
| commit | c902e200ab1b465f557b2e35c1cdc1a06a74eba8 (patch) | |
| tree | fdab4335d44b98edc0ec6712e1fe5a2ba425f96c /src/engine/objects/Flagpole.cpp | |
| parent | 816c03c88b41048f6cb16d411612d61b55c39016 (diff) | |
Fix Interp Issues (#641)
* Update Seagull.cpp
* Update Seagull.h
* Update Thwomp.cpp
* Update Thwomp.h
* Update Crab.cpp
* Update render.inc.c
* Update Mole.cpp
* Update Mole.h
* Update Mole.cpp
* Update Thwomp.cpp
* Update Thwomp.cpp
* Update Thwomp.cpp
* Update HotAirBalloon.cpp
* Update HotAirBalloon.cpp
* Update ChainChomp.cpp
* Update Hedgehog.h
* Update Hedgehog.cpp
* Update Snowman.cpp
* Update Flagpole.h
* Update Flagpole.cpp
* Update Flagpole.cpp
Diffstat (limited to 'src/engine/objects/Flagpole.cpp')
| -rw-r--r-- | src/engine/objects/Flagpole.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/engine/objects/Flagpole.cpp b/src/engine/objects/Flagpole.cpp index 9f51bab92..89d9dd825 100644 --- a/src/engine/objects/Flagpole.cpp +++ b/src/engine/objects/Flagpole.cpp @@ -1,5 +1,6 @@ #include "Flagpole.h" #include "World.h" +#include "port/interpolation/FrameInterpolation.h" extern "C" { #include "code_800029B0.h" @@ -51,13 +52,14 @@ void OFlagpole::Draw(s32 cameraId) { // func_80055228 func_8008A364(objectIndex, cameraId, 0x4000U, 0x000005DC); if (is_obj_flag_status_active(objectIndex, VISIBLE) != 0) { - OFlagpole::func_80055164(objectIndex); + OFlagpole::func_80055164(cameraId, objectIndex); } } -void OFlagpole::func_80055164(s32 objectIndex) { // func_80055164 +void OFlagpole::func_80055164(s32 cameraId, s32 objectIndex) { // func_80055164 if (gObjectList[objectIndex].state >= 2) { gSPDisplayList(gDisplayListHead++, (Gfx*)D_0D0077A0); + FrameInterpolation_RecordOpenChild("flagpole", TAG_OBJECT((_idx << 5) | cameraId)); rsp_set_matrix_transformation(gObjectList[objectIndex].pos, gObjectList[objectIndex].orientation, gObjectList[objectIndex].sizeScaling); if (gIsGamePaused == 0) { @@ -68,6 +70,7 @@ void OFlagpole::func_80055164(s32 objectIndex) { // func_80055164 render_animated_model((Armature*) gObjectList[objectIndex].model, (Animation**) gObjectList[objectIndex].vertex, 0, gObjectList[objectIndex].unk_0A2); } + FrameInterpolation_RecordCloseChild(); } } |
