yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::zelda3::OverworldMap Class Reference

Represents a single Overworld map screen. More...

#include <overworld_map.h>

Inheritance diagram for yaze::zelda3::OverworldMap:
Collaboration diagram for yaze::zelda3::OverworldMap:

Public Member Functions

 OverworldMap ()=default
 
 OverworldMap (int index, Rom *rom)
 
absl::Status BuildMap (int count, int game_state, int world, std::vector< gfx::Tile16 > &tiles16, OverworldBlockset &world_blockset)
 
void LoadAreaGraphics ()
 
absl::Status LoadPalette ()
 
absl::Status LoadOverlay ()
 
absl::Status LoadVanillaOverlayData ()
 
absl::Status BuildTileset ()
 
absl::Status BuildTiles16Gfx (std::vector< gfx::Tile16 > &tiles16, int count)
 
absl::Status BuildBitmap (OverworldBlockset &world_blockset)
 
void DrawAnimatedTiles ()
 
auto current_tile16_blockset () const
 
auto current_graphics () const
 
auto current_palette () const
 
auto bitmap_data () const
 
auto is_large_map () const
 
auto is_initialized () const
 
auto is_built () const
 
auto parent () const
 
auto mutable_mosaic ()
 
auto mutable_current_palette ()
 
void SetNotBuilt ()
 
auto area_graphics () const
 
auto area_palette () const
 
auto sprite_graphics (int i) const
 
auto sprite_palette (int i) const
 
auto message_id () const
 
auto area_music (int i) const
 
auto static_graphics (int i) const
 
auto large_index () const
 
auto area_size () const
 
auto main_palette () const
 
void set_main_palette (uint8_t palette)
 
auto area_specific_bg_color () const
 
void set_area_specific_bg_color (uint16_t color)
 
auto subscreen_overlay () const
 
void set_subscreen_overlay (uint16_t overlay)
 
auto animated_gfx () const
 
void set_animated_gfx (uint8_t gfx)
 
auto custom_tileset (int index) const
 
auto overlay_id () const
 
auto has_overlay () const
 
const auto & overlay_data () const
 
const std::array< bool, 4 > & mosaic_expanded () const
 
void set_mosaic_expanded (int index, bool value)
 
void set_custom_tileset (int index, uint8_t value)
 
auto mutable_current_graphics ()
 
auto mutable_area_graphics ()
 
auto mutable_area_palette ()
 
auto mutable_sprite_graphics (int i)
 
auto mutable_sprite_palette (int i)
 
auto mutable_message_id ()
 
auto mutable_main_palette ()
 
auto mutable_animated_gfx ()
 
auto mutable_subscreen_overlay ()
 
auto mutable_area_music (int i)
 
auto mutable_static_graphics (int i)
 
auto set_area_graphics (uint8_t value)
 
auto set_area_palette (uint8_t value)
 
auto set_sprite_graphics (int i, uint8_t value)
 
auto set_sprite_palette (int i, uint8_t value)
 
auto set_message_id (uint16_t value)
 
uint8_t * mutable_custom_tileset (int index)
 
void SetAsLargeMap (int parent_index, int quadrant)
 
void SetAsSmallMap (int index=-1)
 
void SetAreaSize (AreaSizeEnum size)
 
void SetParent (int parent_index)
 
void Destroy ()
 

Private Member Functions

void LoadAreaInfo ()
 
void LoadCustomOverworldData ()
 
void SetupCustomTileset (uint8_t asm_version)
 
void LoadMainBlocksetId ()
 
void LoadSpritesBlocksets ()
 
void LoadMainBlocksets ()
 
void LoadAreaGraphicsBlocksets ()
 
void LoadDeathMountainGFX ()
 
void ProcessGraphicsBuffer (int index, int static_graphics_offset, int size, uint8_t *all_gfx)
 
absl::StatusOr< gfx::SnesPaletteGetPalette (const gfx::PaletteGroup &group, int index, int previous_index, int limit)
 

Private Attributes

Romrom_
 
bool built_ = false
 
bool large_map_ = false
 
bool initialized_ = false
 
bool mosaic_ = false
 
int index_ = 0
 
int parent_ = 0
 
int large_index_ = 0
 
int world_ = 0
 
int game_state_ = 0
 
int main_gfx_id_ = 0
 
AreaSizeEnum area_size_ = AreaSizeEnum::SmallArea
 
uint16_t message_id_ = 0
 
uint8_t area_graphics_ = 0
 
uint8_t area_palette_ = 0
 
uint8_t main_palette_ = 0
 
uint8_t animated_gfx_ = 0
 
uint16_t subscreen_overlay_ = 0
 
uint16_t area_specific_bg_color_
 
std::array< uint8_t, 8 > custom_gfx_ids_
 
std::array< uint8_t, 3 > sprite_graphics_
 
std::array< uint8_t, 3 > sprite_palette_
 
std::array< uint8_t, 4 > area_music_
 
std::array< uint8_t, 16 > static_graphics_
 
std::array< bool, 4 > mosaic_expanded_
 
uint16_t overlay_id_ = 0
 
bool has_overlay_ = false
 
std::vector< uint8_t > overlay_data_
 
std::vector< uint8_t > current_blockset_
 
std::vector< uint8_t > current_gfx_
 
std::vector< uint8_t > bitmap_data_
 
OverworldMapTiles map_tiles_
 
gfx::SnesPalette current_palette_
 

Additional Inherited Members

- Static Protected Attributes inherited from yaze::gfx::GfxContext
static std::unordered_map< uint8_t, gfx::Palettesetpalettesets_
 

Detailed Description

Represents a single Overworld map screen.

Definition at line 100 of file overworld_map.h.

Constructor & Destructor Documentation

◆ OverworldMap() [1/2]

yaze::zelda3::OverworldMap::OverworldMap ( )
default

◆ OverworldMap() [2/2]

yaze::zelda3::OverworldMap::OverworldMap ( int  index,
Rom rom 
)

Member Function Documentation

◆ BuildMap()

◆ LoadAreaGraphics()

void yaze::zelda3::OverworldMap::LoadAreaGraphics ( )

◆ LoadPalette()

◆ LoadOverlay()

absl::Status yaze::zelda3::OverworldMap::LoadOverlay ( )

Definition at line 864 of file overworld_map.cc.

References has_overlay_, LoadVanillaOverlayData(), overlay_data_, overlay_id_, yaze::zelda3::OverworldCustomASMHasBeenApplied, and subscreen_overlay_.

Referenced by BuildMap().

Here is the call graph for this function:

◆ LoadVanillaOverlayData()

absl::Status yaze::zelda3::OverworldMap::LoadVanillaOverlayData ( )

◆ BuildTileset()

absl::Status yaze::zelda3::OverworldMap::BuildTileset ( )

Definition at line 1029 of file overworld_map.cc.

References current_gfx_, yaze::Rom::graphics_buffer(), ProcessGraphicsBuffer(), rom_, and static_graphics_.

Referenced by BuildMap().

Here is the call graph for this function:

◆ BuildTiles16Gfx()

absl::Status yaze::zelda3::OverworldMap::BuildTiles16Gfx ( std::vector< gfx::Tile16 > &  tiles16,
int  count 
)

◆ BuildBitmap()

absl::Status yaze::zelda3::OverworldMap::BuildBitmap ( OverworldBlockset world_blockset)

Definition at line 1105 of file overworld_map.cc.

References bitmap_data_, yaze::gfx::CopyTile8bpp16(), current_blockset_, index_, and world_.

Referenced by BuildMap().

Here is the call graph for this function:

◆ DrawAnimatedTiles()

void yaze::zelda3::OverworldMap::DrawAnimatedTiles ( )

Definition at line 555 of file overworld_map.cc.

References static_graphics_.

◆ current_tile16_blockset()

auto yaze::zelda3::OverworldMap::current_tile16_blockset ( ) const
inline

Definition at line 119 of file overworld_map.h.

References current_blockset_.

◆ current_graphics()

auto yaze::zelda3::OverworldMap::current_graphics ( ) const
inline

Definition at line 120 of file overworld_map.h.

References current_gfx_.

◆ current_palette()

auto yaze::zelda3::OverworldMap::current_palette ( ) const
inline

Definition at line 121 of file overworld_map.h.

References current_palette_.

◆ bitmap_data()

auto yaze::zelda3::OverworldMap::bitmap_data ( ) const
inline

Definition at line 122 of file overworld_map.h.

References bitmap_data_.

◆ is_large_map()

auto yaze::zelda3::OverworldMap::is_large_map ( ) const
inline

Definition at line 123 of file overworld_map.h.

References large_map_.

Referenced by yaze::zelda3::TEST_F().

◆ is_initialized()

auto yaze::zelda3::OverworldMap::is_initialized ( ) const
inline

Definition at line 124 of file overworld_map.h.

References initialized_.

Referenced by yaze::zelda3::TEST_F().

◆ is_built()

auto yaze::zelda3::OverworldMap::is_built ( ) const
inline

Definition at line 125 of file overworld_map.h.

References built_.

◆ parent()

auto yaze::zelda3::OverworldMap::parent ( ) const
inline

◆ mutable_mosaic()

auto yaze::zelda3::OverworldMap::mutable_mosaic ( )
inline

Definition at line 127 of file overworld_map.h.

References mosaic_.

◆ mutable_current_palette()

auto yaze::zelda3::OverworldMap::mutable_current_palette ( )
inline

Definition at line 128 of file overworld_map.h.

References current_palette_.

◆ SetNotBuilt()

void yaze::zelda3::OverworldMap::SetNotBuilt ( )
inline

Definition at line 130 of file overworld_map.h.

References built_.

◆ area_graphics()

auto yaze::zelda3::OverworldMap::area_graphics ( ) const
inline

◆ area_palette()

auto yaze::zelda3::OverworldMap::area_palette ( ) const
inline

Definition at line 133 of file overworld_map.h.

References area_palette_.

Referenced by yaze::zelda3::TEST_F(), yaze::zelda3::TEST_F(), and yaze::zelda3::TEST_F().

◆ sprite_graphics()

auto yaze::zelda3::OverworldMap::sprite_graphics ( int  i) const
inline

Definition at line 134 of file overworld_map.h.

References sprite_graphics_.

Referenced by yaze::zelda3::TEST_F().

◆ sprite_palette()

auto yaze::zelda3::OverworldMap::sprite_palette ( int  i) const
inline

Definition at line 135 of file overworld_map.h.

References sprite_palette_.

Referenced by yaze::zelda3::TEST_F().

◆ message_id()

auto yaze::zelda3::OverworldMap::message_id ( ) const
inline

Definition at line 136 of file overworld_map.h.

References message_id_.

Referenced by yaze::zelda3::TEST_F(), yaze::zelda3::TEST_F(), and yaze::zelda3::TEST_F().

◆ area_music()

auto yaze::zelda3::OverworldMap::area_music ( int  i) const
inline

Definition at line 137 of file overworld_map.h.

References area_music_.

◆ static_graphics()

auto yaze::zelda3::OverworldMap::static_graphics ( int  i) const
inline

Definition at line 138 of file overworld_map.h.

References static_graphics_.

◆ large_index()

auto yaze::zelda3::OverworldMap::large_index ( ) const
inline

Definition at line 139 of file overworld_map.h.

References large_index_.

Referenced by yaze::zelda3::TEST_F().

◆ area_size()

auto yaze::zelda3::OverworldMap::area_size ( ) const
inline

◆ main_palette()

auto yaze::zelda3::OverworldMap::main_palette ( ) const
inline

◆ set_main_palette()

void yaze::zelda3::OverworldMap::set_main_palette ( uint8_t  palette)
inline

Definition at line 143 of file overworld_map.h.

References main_palette_.

Referenced by yaze::zelda3::TEST_F(), and yaze::zelda3::TEST_F().

◆ area_specific_bg_color()

auto yaze::zelda3::OverworldMap::area_specific_bg_color ( ) const
inline

Definition at line 145 of file overworld_map.h.

References area_specific_bg_color_.

Referenced by yaze::zelda3::TEST_F(), and yaze::zelda3::TEST_F().

◆ set_area_specific_bg_color()

void yaze::zelda3::OverworldMap::set_area_specific_bg_color ( uint16_t  color)
inline

Definition at line 146 of file overworld_map.h.

References area_specific_bg_color_.

Referenced by yaze::zelda3::TEST_F().

◆ subscreen_overlay()

auto yaze::zelda3::OverworldMap::subscreen_overlay ( ) const
inline

Definition at line 150 of file overworld_map.h.

References subscreen_overlay_.

Referenced by yaze::zelda3::TEST_F(), yaze::zelda3::TEST_F(), and yaze::zelda3::TEST_F().

◆ set_subscreen_overlay()

void yaze::zelda3::OverworldMap::set_subscreen_overlay ( uint16_t  overlay)
inline

Definition at line 151 of file overworld_map.h.

References subscreen_overlay_.

Referenced by yaze::zelda3::TEST_F().

◆ animated_gfx()

auto yaze::zelda3::OverworldMap::animated_gfx ( ) const
inline

Definition at line 153 of file overworld_map.h.

References animated_gfx_.

Referenced by yaze::zelda3::TEST_F(), yaze::zelda3::TEST_F(), and yaze::zelda3::TEST_F().

◆ set_animated_gfx()

void yaze::zelda3::OverworldMap::set_animated_gfx ( uint8_t  gfx)
inline

Definition at line 154 of file overworld_map.h.

References animated_gfx_.

Referenced by yaze::zelda3::TEST_F().

◆ custom_tileset()

auto yaze::zelda3::OverworldMap::custom_tileset ( int  index) const
inline

Definition at line 156 of file overworld_map.h.

References custom_gfx_ids_.

Referenced by yaze::zelda3::TEST_F(), and yaze::zelda3::TEST_F().

◆ overlay_id()

auto yaze::zelda3::OverworldMap::overlay_id ( ) const
inline

Definition at line 159 of file overworld_map.h.

References overlay_id_.

◆ has_overlay()

auto yaze::zelda3::OverworldMap::has_overlay ( ) const
inline

Definition at line 160 of file overworld_map.h.

References has_overlay_.

◆ overlay_data()

const auto & yaze::zelda3::OverworldMap::overlay_data ( ) const
inline

Definition at line 161 of file overworld_map.h.

References overlay_data_.

◆ mosaic_expanded()

const std::array< bool, 4 > & yaze::zelda3::OverworldMap::mosaic_expanded ( ) const
inline

Definition at line 164 of file overworld_map.h.

References mosaic_expanded_.

◆ set_mosaic_expanded()

void yaze::zelda3::OverworldMap::set_mosaic_expanded ( int  index,
bool  value 
)
inline

Definition at line 165 of file overworld_map.h.

References mosaic_expanded_.

◆ set_custom_tileset()

void yaze::zelda3::OverworldMap::set_custom_tileset ( int  index,
uint8_t  value 
)
inline

Definition at line 166 of file overworld_map.h.

References custom_gfx_ids_.

Referenced by yaze::zelda3::TEST_F(), and yaze::zelda3::TEST_F().

◆ mutable_current_graphics()

auto yaze::zelda3::OverworldMap::mutable_current_graphics ( )
inline

Definition at line 168 of file overworld_map.h.

References current_gfx_.

◆ mutable_area_graphics()

auto yaze::zelda3::OverworldMap::mutable_area_graphics ( )
inline

Definition at line 169 of file overworld_map.h.

References area_graphics_.

Referenced by yaze::zelda3::TEST_F().

◆ mutable_area_palette()

auto yaze::zelda3::OverworldMap::mutable_area_palette ( )
inline

Definition at line 170 of file overworld_map.h.

References area_palette_.

Referenced by yaze::zelda3::TEST_F().

◆ mutable_sprite_graphics()

auto yaze::zelda3::OverworldMap::mutable_sprite_graphics ( int  i)
inline

Definition at line 171 of file overworld_map.h.

References sprite_graphics_.

◆ mutable_sprite_palette()

auto yaze::zelda3::OverworldMap::mutable_sprite_palette ( int  i)
inline

Definition at line 172 of file overworld_map.h.

References sprite_palette_.

◆ mutable_message_id()

auto yaze::zelda3::OverworldMap::mutable_message_id ( )
inline

Definition at line 173 of file overworld_map.h.

References message_id_.

Referenced by yaze::zelda3::TEST_F().

◆ mutable_main_palette()

auto yaze::zelda3::OverworldMap::mutable_main_palette ( )
inline

Definition at line 174 of file overworld_map.h.

References main_palette_.

Referenced by yaze::zelda3::TEST_F().

◆ mutable_animated_gfx()

auto yaze::zelda3::OverworldMap::mutable_animated_gfx ( )
inline

Definition at line 175 of file overworld_map.h.

References animated_gfx_.

Referenced by yaze::zelda3::TEST_F().

◆ mutable_subscreen_overlay()

auto yaze::zelda3::OverworldMap::mutable_subscreen_overlay ( )
inline

Definition at line 176 of file overworld_map.h.

References subscreen_overlay_.

Referenced by yaze::zelda3::TEST_F().

◆ mutable_area_music()

auto yaze::zelda3::OverworldMap::mutable_area_music ( int  i)
inline

Definition at line 177 of file overworld_map.h.

References area_music_.

◆ mutable_static_graphics()

auto yaze::zelda3::OverworldMap::mutable_static_graphics ( int  i)
inline

Definition at line 178 of file overworld_map.h.

References static_graphics_.

◆ set_area_graphics()

auto yaze::zelda3::OverworldMap::set_area_graphics ( uint8_t  value)
inline

Definition at line 180 of file overworld_map.h.

References area_graphics_.

Referenced by yaze::zelda3::TEST_F(), and yaze::zelda3::TEST_F().

◆ set_area_palette()

auto yaze::zelda3::OverworldMap::set_area_palette ( uint8_t  value)
inline

Definition at line 181 of file overworld_map.h.

References area_palette_.

Referenced by yaze::zelda3::TEST_F().

◆ set_sprite_graphics()

auto yaze::zelda3::OverworldMap::set_sprite_graphics ( int  i,
uint8_t  value 
)
inline

Definition at line 182 of file overworld_map.h.

References sprite_graphics_.

Referenced by yaze::zelda3::TEST_F().

◆ set_sprite_palette()

auto yaze::zelda3::OverworldMap::set_sprite_palette ( int  i,
uint8_t  value 
)
inline

Definition at line 185 of file overworld_map.h.

References sprite_palette_.

Referenced by yaze::zelda3::TEST_F().

◆ set_message_id()

auto yaze::zelda3::OverworldMap::set_message_id ( uint16_t  value)
inline

Definition at line 186 of file overworld_map.h.

References message_id_.

Referenced by yaze::zelda3::TEST_F().

◆ mutable_custom_tileset()

uint8_t * yaze::zelda3::OverworldMap::mutable_custom_tileset ( int  index)
inline

Definition at line 188 of file overworld_map.h.

References custom_gfx_ids_.

Referenced by yaze::zelda3::TEST_F().

◆ SetAsLargeMap()

void yaze::zelda3::OverworldMap::SetAsLargeMap ( int  parent_index,
int  quadrant 
)
inline

Definition at line 190 of file overworld_map.h.

References area_size_, large_index_, large_map_, yaze::zelda3::LargeArea, and parent_.

Referenced by yaze::zelda3::TEST_F().

◆ SetAsSmallMap()

void yaze::zelda3::OverworldMap::SetAsSmallMap ( int  index = -1)
inline

Definition at line 197 of file overworld_map.h.

References area_size_, index_, large_index_, large_map_, parent_, and yaze::zelda3::SmallArea.

Referenced by yaze::zelda3::TEST_F().

◆ SetAreaSize()

void yaze::zelda3::OverworldMap::SetAreaSize ( AreaSizeEnum  size)
inline

Definition at line 207 of file overworld_map.h.

References area_size_, large_map_, and yaze::zelda3::LargeArea.

Referenced by yaze::zelda3::TEST_F(), and yaze::zelda3::TEST_F().

◆ SetParent()

void yaze::zelda3::OverworldMap::SetParent ( int  parent_index)
inline

Definition at line 212 of file overworld_map.h.

References parent_.

◆ Destroy()

◆ LoadAreaInfo()

◆ LoadCustomOverworldData()

void yaze::zelda3::OverworldMap::LoadCustomOverworldData ( )
private

◆ SetupCustomTileset()

◆ LoadMainBlocksetId()

void yaze::zelda3::OverworldMap::LoadMainBlocksetId ( )
private

◆ LoadSpritesBlocksets()

void yaze::zelda3::OverworldMap::LoadSpritesBlocksets ( )
private

Definition at line 526 of file overworld_map.cc.

References game_state_, zelda3_version_pointers::kSpriteBlocksetPointer, rom_, sprite_graphics_, static_graphics_, and yaze::Rom::version_constants().

Referenced by LoadAreaGraphics().

Here is the call graph for this function:

◆ LoadMainBlocksets()

void yaze::zelda3::OverworldMap::LoadMainBlocksets ( )
private

Definition at line 541 of file overworld_map.cc.

References zelda3_version_pointers::kOverworldGfxGroups2, main_gfx_id_, rom_, static_graphics_, and yaze::Rom::version_constants().

Referenced by LoadAreaGraphics().

Here is the call graph for this function:

◆ LoadAreaGraphicsBlocksets()

void yaze::zelda3::OverworldMap::LoadAreaGraphicsBlocksets ( )
private

Definition at line 566 of file overworld_map.cc.

References area_graphics_, zelda3_version_pointers::kOverworldGfxGroups1, rom_, static_graphics_, and yaze::Rom::version_constants().

Referenced by LoadAreaGraphics().

Here is the call graph for this function:

◆ LoadDeathMountainGFX()

void yaze::zelda3::OverworldMap::LoadDeathMountainGFX ( )
private
Todo:
Change the conditions for death mountain gfx

Definition at line 581 of file overworld_map.cc.

References parent_, and static_graphics_.

Referenced by LoadAreaGraphics().

◆ ProcessGraphicsBuffer()

void yaze::zelda3::OverworldMap::ProcessGraphicsBuffer ( int  index,
int  static_graphics_offset,
int  size,
uint8_t *  all_gfx 
)
private

Definition at line 1003 of file overworld_map.cc.

References current_gfx_, yaze::Rom::graphics_buffer(), and rom_.

Referenced by BuildTileset().

Here is the call graph for this function:

◆ GetPalette()

absl::StatusOr< gfx::SnesPalette > yaze::zelda3::OverworldMap::GetPalette ( const gfx::PaletteGroup group,
int  index,
int  previous_index,
int  limit 
)
private

Definition at line 720 of file overworld_map.cc.

References zelda3_version_pointers::kOverworldMapPaletteGroup, rom_, and yaze::Rom::version_constants().

Referenced by LoadPalette().

Here is the call graph for this function:

Member Data Documentation

◆ rom_

◆ built_

bool yaze::zelda3::OverworldMap::built_ = false
private

Definition at line 271 of file overworld_map.h.

Referenced by BuildMap(), Destroy(), is_built(), and SetNotBuilt().

◆ large_map_

bool yaze::zelda3::OverworldMap::large_map_ = false
private

◆ initialized_

bool yaze::zelda3::OverworldMap::initialized_ = false
private

Definition at line 273 of file overworld_map.h.

Referenced by BuildMap(), Destroy(), and is_initialized().

◆ mosaic_

bool yaze::zelda3::OverworldMap::mosaic_ = false
private

Definition at line 274 of file overworld_map.h.

Referenced by Destroy(), mutable_mosaic(), and SetupCustomTileset().

◆ index_

int yaze::zelda3::OverworldMap::index_ = 0
private

◆ parent_

◆ large_index_

int yaze::zelda3::OverworldMap::large_index_ = 0
private

Definition at line 278 of file overworld_map.h.

Referenced by Destroy(), large_index(), SetAsLargeMap(), and SetAsSmallMap().

◆ world_

int yaze::zelda3::OverworldMap::world_ = 0
private

Definition at line 279 of file overworld_map.h.

Referenced by BuildBitmap(), BuildMap(), and Destroy().

◆ game_state_

int yaze::zelda3::OverworldMap::game_state_ = 0
private

Definition at line 280 of file overworld_map.h.

Referenced by BuildMap(), Destroy(), LoadPalette(), and LoadSpritesBlocksets().

◆ main_gfx_id_

int yaze::zelda3::OverworldMap::main_gfx_id_ = 0
private

Definition at line 281 of file overworld_map.h.

Referenced by Destroy(), LoadMainBlocksetId(), and LoadMainBlocksets().

◆ area_size_

AreaSizeEnum yaze::zelda3::OverworldMap::area_size_ = AreaSizeEnum::SmallArea
private

◆ message_id_

uint16_t yaze::zelda3::OverworldMap::message_id_ = 0
private

◆ area_graphics_

uint8_t yaze::zelda3::OverworldMap::area_graphics_ = 0
private

◆ area_palette_

uint8_t yaze::zelda3::OverworldMap::area_palette_ = 0
private

◆ main_palette_

uint8_t yaze::zelda3::OverworldMap::main_palette_ = 0
private

◆ animated_gfx_

uint8_t yaze::zelda3::OverworldMap::animated_gfx_ = 0
private

◆ subscreen_overlay_

uint16_t yaze::zelda3::OverworldMap::subscreen_overlay_ = 0
private

◆ area_specific_bg_color_

uint16_t yaze::zelda3::OverworldMap::area_specific_bg_color_
private
Initial value:
=
0

Definition at line 290 of file overworld_map.h.

Referenced by area_specific_bg_color(), Destroy(), LoadPalette(), and set_area_specific_bg_color().

◆ custom_gfx_ids_

std::array<uint8_t, 8> yaze::zelda3::OverworldMap::custom_gfx_ids_
private

◆ sprite_graphics_

std::array<uint8_t, 3> yaze::zelda3::OverworldMap::sprite_graphics_
private

◆ sprite_palette_

std::array<uint8_t, 3> yaze::zelda3::OverworldMap::sprite_palette_
private

◆ area_music_

std::array<uint8_t, 4> yaze::zelda3::OverworldMap::area_music_
private

Definition at line 296 of file overworld_map.h.

Referenced by area_music(), Destroy(), LoadAreaInfo(), and mutable_area_music().

◆ static_graphics_

std::array<uint8_t, 16> yaze::zelda3::OverworldMap::static_graphics_
private

◆ mosaic_expanded_

std::array<bool, 4> yaze::zelda3::OverworldMap::mosaic_expanded_
private

◆ overlay_id_

uint16_t yaze::zelda3::OverworldMap::overlay_id_ = 0
private

Definition at line 302 of file overworld_map.h.

Referenced by Destroy(), LoadOverlay(), LoadVanillaOverlayData(), and overlay_id().

◆ has_overlay_

bool yaze::zelda3::OverworldMap::has_overlay_ = false
private

Definition at line 303 of file overworld_map.h.

Referenced by Destroy(), has_overlay(), LoadOverlay(), and LoadVanillaOverlayData().

◆ overlay_data_

std::vector<uint8_t> yaze::zelda3::OverworldMap::overlay_data_
private

Definition at line 304 of file overworld_map.h.

Referenced by Destroy(), LoadOverlay(), LoadVanillaOverlayData(), and overlay_data().

◆ current_blockset_

std::vector<uint8_t> yaze::zelda3::OverworldMap::current_blockset_
private

Definition at line 306 of file overworld_map.h.

Referenced by BuildBitmap(), BuildTiles16Gfx(), current_tile16_blockset(), and Destroy().

◆ current_gfx_

std::vector<uint8_t> yaze::zelda3::OverworldMap::current_gfx_
private

◆ bitmap_data_

std::vector<uint8_t> yaze::zelda3::OverworldMap::bitmap_data_
private

Definition at line 308 of file overworld_map.h.

Referenced by bitmap_data(), BuildBitmap(), and Destroy().

◆ map_tiles_

OverworldMapTiles yaze::zelda3::OverworldMap::map_tiles_
private

Definition at line 310 of file overworld_map.h.

Referenced by Destroy().

◆ current_palette_

gfx::SnesPalette yaze::zelda3::OverworldMap::current_palette_
private

Definition at line 311 of file overworld_map.h.

Referenced by current_palette(), LoadPalette(), and mutable_current_palette().


The documentation for this class was generated from the following files: