From e56a66f247aa2133e5b973825888bbd90a5e1e24 Mon Sep 17 00:00:00 2001 From: scawful Date: Fri, 16 Aug 2024 16:05:11 -0400 Subject: [PATCH] add todo for death mountain gfx load --- src/app/zelda3/overworld/overworld_map.cc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/app/zelda3/overworld/overworld_map.cc b/src/app/zelda3/overworld/overworld_map.cc index 47b63070..2b770588 100644 --- a/src/app/zelda3/overworld/overworld_map.cc +++ b/src/app/zelda3/overworld/overworld_map.cc @@ -1,7 +1,5 @@ #include "overworld_map.h" -#include "imgui/imgui.h" - #include #include #include @@ -14,6 +12,7 @@ #include "app/gfx/snes_tile.h" #include "app/rom.h" #include "app/zelda3/overworld/overworld.h" +#include "imgui/imgui.h" namespace yaze { namespace app { @@ -211,6 +210,11 @@ void OverworldMap::LoadAreaGraphicsBlocksets() { } } +// TODO: Change the conditions for death mountain gfx +// JaredBrian: This is how ZS did it, but in 3.0.4 I changed it to just check +// for 03, 05, 07, and the DW ones as that's how it would appear in-game if you +// were to make area 03 not a large area anymore for example, so you might want +// to do the same. void OverworldMap::LoadDeathMountainGFX() { static_graphics_[7] = (((parent_ >= 0x03 && parent_ <= 0x07) || (parent_ >= 0x0B && parent_ <= 0x0E)) ||