diff options
| author | Sonic Dreamcaster <alejandro.asenjo88@gmail.com> | 2024-11-17 18:03:31 -0300 |
|---|---|---|
| committer | Sonic Dreamcaster <alejandro.asenjo88@gmail.com> | 2024-11-17 18:03:31 -0300 |
| commit | a144f44d5edbfd2cb4e2ebaeb20f8611aae31550 (patch) | |
| tree | d5a792b04b1e9c399ead99b589c99f3442bd133c /src/engine/fox_display.c | |
| parent | 1924a4eeed43d398a213fcafa6b45f0c1321033f (diff) | |
improve ground
Diffstat (limited to 'src/engine/fox_display.c')
| -rw-r--r-- | src/engine/fox_display.c | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/src/engine/fox_display.c b/src/engine/fox_display.c index b79ba061..bf1053d1 100644 --- a/src/engine/fox_display.c +++ b/src/engine/fox_display.c @@ -7,6 +7,9 @@ #include "assets/ast_sector_z.h" #include "port/interpolation/FrameInterpolation.h" +// f32 path1 = 0.0f; +// f32 path2 = 0.0f; + Vec3f D_display_801613B0[4]; Vec3f D_display_801613E0[4]; s16 gReflectY; @@ -2068,6 +2071,7 @@ void Display_Update(void) { if (gControllerPress[0].button & L_TRIG) { pl->state_1C8 = PLAYERSTATE_1C8_LEVEL_COMPLETE; + gMissionStatus = MISSION_ACCOMPLISHED; } } @@ -2102,22 +2106,15 @@ void Display_Update(void) { gLaserStrength[0] = 2; } Hit64_Main(); - // background testing + // ground testing #if 0 RCP_SetupDL(&gMasterDisp, SETUPDL_83); gDPSetPrimColor(gMasterDisp++, 0, 0, 255, 255, 0, 255); - if (gTestVarF > 0.0f) { - Graphics_DisplaySmallText(10, 220, 1.0f, 1.0f, "TEST:"); - } else { - Graphics_DisplaySmallText(10, 220, 1.0f, 1.0f, "TESTNEG:"); - } - Graphics_DisplaySmallNumber(80, 220, (int) ABS(gTestVarF)); - - if (gControllerPress[0].button & Z_TRIG) { - gTestVarF -= 10; - } else if (gControllerPress[0].button & R_TRIG) { - gTestVarF += 10; - } - + Graphics_DisplaySmallText(10, 210, 1.0f, 1.0f, "PATH1:"); + Graphics_DisplaySmallNumber(60, 210, (int) ABS(path1)); + Graphics_DisplaySmallText(10, 220, 1.0f, 1.0f, "PATH2:"); + Graphics_DisplaySmallNumber(60, 220, (int) ABS(path2)); + if (path1 < 0.0f) Graphics_DisplaySmallText(110, 210, 1.0f, 1.0f, "NEG:"); + if (path2 < 0.0f) Graphics_DisplaySmallText(110, 220, 1.0f, 1.0f, "NEG:"); #endif } |
