mirror of
https://github.com/izzy2lost/2ship2harkinian-Android.git
synced 2026-06-19 01:20:08 -07:00
Fix footprints and deku link spin attack blur (#93)
This commit is contained in:
@@ -645,8 +645,11 @@ void EffectBlure_DrawSmooth(EffectBlure* this2, GraphicsContext* gfxCtx) {
|
||||
MtxF sp9C;
|
||||
MtxF sp5C;
|
||||
Mtx* mtx;
|
||||
static s32 interpolationEpoch = 0;
|
||||
interpolationEpoch++;
|
||||
|
||||
OPEN_DISPS(gfxCtx);
|
||||
FrameInterpolation_RecordOpenChild(this, interpolationEpoch);
|
||||
|
||||
if (this->numElements < 2) {
|
||||
return;
|
||||
@@ -688,6 +691,7 @@ void EffectBlure_DrawSmooth(EffectBlure* this2, GraphicsContext* gfxCtx) {
|
||||
}
|
||||
}
|
||||
|
||||
FrameInterpolation_RecordCloseChild();
|
||||
CLOSE_DISPS(gfxCtx);
|
||||
}
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#include "z64.h"
|
||||
#include "macros.h"
|
||||
#include "functions.h"
|
||||
#include "2s2h/Enhancements/interpolation/frame_interpolation.h"
|
||||
|
||||
#include "assets/code/eff_footmark/eff_footmark.h"
|
||||
|
||||
@@ -111,6 +112,8 @@ void EffFootmark_Draw(PlayState* play) {
|
||||
|
||||
for (footmark = play->footprintInfo, i = 0; i < ARRAY_COUNT(play->footprintInfo); i++, footmark++) {
|
||||
if (footmark->actor != NULL) {
|
||||
FrameInterpolation_RecordOpenChild(footmark, i);
|
||||
|
||||
Matrix_Put(&footmark->mf);
|
||||
Matrix_Scale(footmark->size * (1.0f / 0x100) * 0.7f, 1, footmark->size * (1.0f / 0x100), MTXMODE_APPLY);
|
||||
|
||||
@@ -120,6 +123,8 @@ void EffFootmark_Draw(PlayState* play) {
|
||||
footmark->alpha >> 8);
|
||||
|
||||
gSPDisplayList(gfxCtx->polyXlu.p++, gEffFootprintModelDL);
|
||||
|
||||
FrameInterpolation_RecordCloseChild();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user