Per-area render settings the game reads with the area id ($8A). More...
#include <overworld_map.h>
Public Attributes | |
| uint8_t | main_palette = 0 |
| uint8_t | animated_gfx = 0 |
| std::array< uint8_t, 8 > | custom_gfx_ids = {} |
| uint16_t | subscreen_overlay = 0x00FF |
| uint16_t | area_specific_bg_color = 0 |
Per-area render settings the game reads with the area id ($8A).
The game indexes the ZSCustomOverworld main palette, animated GFX, tile GFX group, and subscreen overlay tables with $8A, which is the parent screen of a large/wide/tall area. The child screens' own table entries are never read, so child maps render with their parent's values. The child's raw values stay untouched so saves round-trip byte-for-byte.
Definition at line 170 of file overworld_map.h.
| uint8_t yaze::zelda3::AreaRenderProperties::main_palette = 0 |
Definition at line 171 of file overworld_map.h.
Referenced by yaze::zelda3::OverworldMap::area_render_properties(), yaze::zelda3::OverworldMap::InheritAreaProperties(), yaze::zelda3::OverworldMap::LoadPalette(), and yaze::zelda3::OverworldMap::render_main_palette().
| uint8_t yaze::zelda3::AreaRenderProperties::animated_gfx = 0 |
Definition at line 172 of file overworld_map.h.
Referenced by yaze::zelda3::OverworldMap::area_render_properties(), yaze::zelda3::OverworldMap::InheritAreaProperties(), and yaze::zelda3::OverworldMap::LoadDeathMountainGFX().
| std::array<uint8_t, 8> yaze::zelda3::AreaRenderProperties::custom_gfx_ids = {} |
Definition at line 173 of file overworld_map.h.
Referenced by yaze::zelda3::OverworldMap::area_render_properties(), and yaze::zelda3::OverworldMap::InheritAreaProperties().
| uint16_t yaze::zelda3::AreaRenderProperties::subscreen_overlay = 0x00FF |
Definition at line 174 of file overworld_map.h.
Referenced by yaze::zelda3::OverworldMap::area_render_properties(), yaze::zelda3::OverworldMap::InheritAreaProperties(), yaze::zelda3::OverworldMap::LoadOverlay(), and yaze::zelda3::OverworldMap::render_subscreen_overlay().
| uint16_t yaze::zelda3::AreaRenderProperties::area_specific_bg_color = 0 |
Definition at line 175 of file overworld_map.h.
Referenced by yaze::zelda3::OverworldMap::area_render_properties(), and yaze::zelda3::OverworldMap::InheritAreaProperties().