diff options
| author | KiritoDv <kiritodev01@gmail.com> | 2024-10-16 11:53:41 -0600 |
|---|---|---|
| committer | KiritoDv <kiritodev01@gmail.com> | 2024-10-16 11:53:41 -0600 |
| commit | efe08a91bf7678a8460cfc9b831b994ac6d831b9 (patch) | |
| tree | 4a60d0b2bfc6028aa0ca0b39446649f71e7d8349 /src/engine/fox_game.c | |
| parent | 94e3cded043c555065aff81fc40bd7ab9e8bfdab (diff) | |
Added interpolation system
Diffstat (limited to 'src/engine/fox_game.c')
| -rw-r--r-- | src/engine/fox_game.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/engine/fox_game.c b/src/engine/fox_game.c index 1af20305..2e7cfef9 100644 --- a/src/engine/fox_game.c +++ b/src/engine/fox_game.c @@ -3,6 +3,7 @@ #include "sf64dma.h" #include "assets/ast_logo.h" #include "mods.h" +#include "port/interpolation/FrameInterpolation.h" f32 gNextVsViewScale; f32 gVsViewScale; @@ -267,6 +268,7 @@ void Game_InitViewport(Gfx** dList, u8 camCount, u8 camIndex) { } void Game_Draw(s32 playerNum) { + FrameInterpolation_StartRecord(); switch (gDrawMode) { case DRAW_NONE: break; @@ -303,6 +305,7 @@ void Game_Draw(s32 playerNum) { Ending_Draw(); break; } + FrameInterpolation_StopRecord(); } void Game_SetScene(void) { |
