summaryrefslogtreecommitdiff
path: root/src/engine/fox_bg.c
diff options
context:
space:
mode:
authorAlejandro Asenjo Nitti <96613413+sonicdcer@users.noreply.github.com>2024-08-12 11:58:54 -0300
committerGitHub <noreply@github.com>2024-08-12 11:58:54 -0300
commit0251769d1699b7f4bc7a6f05de6f52cf2ca4f29a (patch)
treeb4a8984774446718076fcaa8feb5c5366e741480 /src/engine/fox_bg.c
parent83c54429159331ced13e2a97c3fbb17549a72b4e (diff)
General docs (#269)
* fox_display.c DOCS * PRINTF * actor->destroy boolean * corneria docs * Boss->unk_04C to Boss->animFrame * aCoGrangaWalkingAnim * more corneria docs * Spawner * Spawner code refined * Spawner description * Actor Spawn guard * Molar Rock (name by @inspectredc) * more docs * actor docs * initial disassembly config for lodgenet * correct vram addresses for lodgenet * Actor Docs * More actor docs * more actor docs * correction * correction * more actor docs * Preliminary work for Effect documentation * Change Init for Setup * fox_play cleanup and defake * fox_zo function names * fox_so function renaming * more object docs * venom 1 actors * actor docs * some fox_bo docs * some fox_fo corrections * fox_ma obj->this * fox_ma renamings * fox_ma docs * fox_ti Actors * revert permuter settings to ido * some renames on fox_andross.c * fox_sy actors * object names * corrections * some effect comments * fix AudioTable struct and data to avoid UB * uintptr_t in audio * audio load changes * event id enum usage in fox_sy * clear padding in sPlaylists * HUD_FoBase_ExplodeCs * HUD
Diffstat (limited to 'src/engine/fox_bg.c')
-rw-r--r--src/engine/fox_bg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/fox_bg.c b/src/engine/fox_bg.c
index 98c1af7a..76c6be8b 100644
--- a/src/engine/fox_bg.c
+++ b/src/engine/fox_bg.c
@@ -263,7 +263,7 @@ void Background_DrawBackdrop(void) {
Matrix_Push(&gGfxMatrix);
- if (D_ctx_80177C70 == 2) {
+ if (gFovYMode == 2) {
Matrix_Scale(gGfxMatrix, 1.2f, 1.2f, 1.0f, MTXF_APPLY);
}
@@ -931,7 +931,7 @@ void Background_DrawGround(void) {
Matrix_Push(&gGfxMatrix);
Matrix_Translate(gGfxMatrix, gPlayer[gPlayerNum].xPath, -3.0f + gCameraShakeY, sp1D4, MTXF_APPLY);
- if (D_ctx_80177C70 == 2) {
+ if (gFovYMode == 2) {
Matrix_Scale(gGfxMatrix, 1.2f, 1.2f, 1.0f, MTXF_APPLY);
}