summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSonic Dreamcaster <alejandro.asenjo88@gmail.com>2025-05-24 22:52:15 -0300
committerSonic Dreamcaster <alejandro.asenjo88@gmail.com>2025-05-24 22:52:15 -0300
commit26b3ebe15c764cd6aa9f41b6a23728837809d2c0 (patch)
tree058f1308599ef512d3e57b98a88b70a118357530
parent9bac262183ae4a483945e76b4553ec3c107413af (diff)
tag Effect357
-rw-r--r--src/engine/fox_effect.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/engine/fox_effect.c b/src/engine/fox_effect.c
index 6cb1391c..3a7665a5 100644
--- a/src/engine/fox_effect.c
+++ b/src/engine/fox_effect.c
@@ -753,6 +753,9 @@ void Effect_Effect357_Draw(Effect357* this) {
gSPFogPosition(gMasterDisp++, gFogNear, 1005);
}
+ // @port: Tag the transform.
+ FrameInterpolation_RecordOpenChild("Effect357", this->unk_4C | (this->index << 16) & 0x00FF);
+
Graphics_SetScaleMtx(this->scale2);
switch (gCurrentLevel) {
@@ -894,6 +897,8 @@ void Effect_Effect357_Draw(Effect357* this) {
}
break;
}
+ // @port Pop the transform id.
+ FrameInterpolation_RecordCloseChild();
RCP_SetupDL(&gMasterDisp, SETUPDL_64);
@@ -2294,7 +2299,7 @@ void Effect_Effect374_Draw(Effect374* this) {
// @port renable interpolation
FrameInterpolation_ShouldInterpolateFrame(true);
-
+
RCP_SetupDL(&gMasterDisp, SETUPDL_64);
break;
}
@@ -3809,7 +3814,7 @@ void Effect_Effect395_Update(Effect395* this) {
D_ctx_801779A8[0] = 50.0f;
if (this->unk_46 == 10) {
gFillScreenRed = gFillScreenGreen = gFillScreenBlue = 255;
- if (CVarGetInteger("gDisableGorgonFlash", 0) == 0){
+ if (CVarGetInteger("gDisableGorgonFlash", 0) == 0) {
gFillScreenAlpha = gFillScreenAlphaTarget = 255;
}
gFillScreenAlphaTarget = 0;