Represents the full Overworld data, light and dark world. More...
#include <overworld.h>
Public Member Functions | |
absl::Status | Load (Rom &rom) |
absl::Status | LoadOverworldMaps () |
void | LoadTileTypes () |
void | LoadEntrances () |
absl::Status | LoadExits () |
absl::Status | LoadItems () |
absl::Status | LoadSprites () |
absl::Status | LoadSpritesFromMap (int spriteStart, int spriteCount, int spriteIndex) |
absl::Status | Save (Rom &rom) |
absl::Status | SaveOverworldMaps () |
absl::Status | SaveLargeMaps () |
absl::Status | SaveEntrances () |
absl::Status | SaveExits () |
absl::Status | SaveItems () |
absl::Status | CreateTile32Tilemap () |
absl::Status | SaveMap16Expanded () |
absl::Status | SaveMap16Tiles () |
absl::Status | SaveMap32Expanded () |
absl::Status | SaveMap32Tiles () |
absl::Status | SaveMapProperties () |
void | Destroy () |
int | GetTileFromPosition (ImVec2 position) const |
OWBlockset & | GetMapTiles (int world_type) |
auto | overworld_maps () const |
auto | overworld_map (int i) const |
auto | mutable_overworld_map (int i) |
auto | exits () const |
auto | mutable_exits () |
std::vector< gfx::Tile16 > | tiles16 () const |
auto | mutable_tiles16 () |
auto | sprites (int state) const |
auto | mutable_sprites (int state) |
auto | current_graphics () const |
auto & | entrances () |
auto | mutable_entrances () |
auto & | holes () |
auto | mutable_holes () |
auto | deleted_entrances () const |
auto | mutable_deleted_entrances () |
auto | current_area_palette () const |
auto | current_map_bitmap_data () const |
auto | tile16_blockset_data () const |
auto | is_loaded () const |
void | set_current_map (int i) |
auto | map_tiles () const |
auto | mutable_map_tiles () |
auto | all_items () const |
auto | mutable_all_items () |
auto | all_tiles_types () const |
auto | mutable_all_tiles_types () |
Public Member Functions inherited from yaze::app::SharedRom | |
SharedRom ()=default | |
virtual | ~SharedRom ()=default |
std::shared_ptr< Rom > | shared_rom () |
auto | rom () |
Public Member Functions inherited from yaze::app::core::ExperimentFlags | |
ExperimentFlags ()=default | |
virtual | ~ExperimentFlags ()=default |
auto | flags () const |
Flags * | mutable_flags () |
std::string | Serialize () const |
Private Types | |
enum | Dimension { map32TilesTL = 0 , map32TilesTR = 1 , map32TilesBL = 2 , map32TilesBR = 3 } |
Private Member Functions | |
void | FetchLargeMaps () |
absl::StatusOr< uint16_t > | GetTile16ForTile32 (int index, int quadrant, int dimension, const uint32_t *map32address) |
absl::Status | AssembleMap32Tiles () |
void | AssembleMap16Tiles () |
void | AssignWorldTiles (int x, int y, int sx, int sy, int tpos, OWBlockset &world) |
void | OrganizeMapTiles (std::vector< uint8_t > &bytes, std::vector< uint8_t > &bytes2, int i, int sx, int sy, int &ttpos) |
absl::Status | DecompressAllMapTiles () |
Private Attributes | |
bool | is_loaded_ = false |
bool | expanded_tile16_ = false |
bool | expanded_tile32_ = false |
bool | expanded_entrances_ = false |
int | game_state_ = 0 |
int | current_map_ = 0 |
int | current_world_ = 0 |
uchar | map_parent_ [160] |
Rom | rom_ |
OWMapTiles | map_tiles_ |
uint8_t | all_tiles_types_ [0x200] |
std::vector< gfx::Tile16 > | tiles16_ |
std::vector< gfx::Tile32 > | tiles32_ |
std::vector< uint16_t > | tiles32_list_ |
std::vector< gfx::Tile32 > | tiles32_unique_ |
std::vector< OverworldMap > | overworld_maps_ |
std::vector< OverworldEntrance > | all_entrances_ |
std::vector< OverworldEntrance > | all_holes_ |
std::vector< OverworldExit > | all_exits_ |
std::vector< OverworldItem > | all_items_ |
std::vector< std::vector< Sprite > > | all_sprites_ |
std::vector< uint64_t > | deleted_entrances_ |
std::vector< std::vector< uint8_t > > | map_data_p1 |
std::vector< std::vector< uint8_t > > | map_data_p2 |
std::vector< int > | map_pointers1_id = std::vector<int>(kNumOverworldMaps) |
std::vector< int > | map_pointers2_id = std::vector<int>(kNumOverworldMaps) |
std::vector< int > | map_pointers1 = std::vector<int>(kNumOverworldMaps) |
std::vector< int > | map_pointers2 = std::vector<int>(kNumOverworldMaps) |
std::vector< absl::flat_hash_map< uint16_t, int > > | usage_stats_ |
Additional Inherited Members | |
Static Public Attributes inherited from yaze::app::SharedRom | |
static std::shared_ptr< Rom > | shared_rom_ = nullptr |
Represents the full Overworld data, light and dark world.
This class is responsible for loading and saving the overworld data, as well as creating the tilesets and tilemaps for the overworld.
Definition at line 461 of file overworld.h.
|
private |
Enumerator | |
---|---|
map32TilesTL | |
map32TilesTR | |
map32TilesBL | |
map32TilesBR |
Definition at line 561 of file overworld.h.
absl::Status yaze::app::zelda3::overworld::Overworld::Load | ( | Rom & | rom | ) |
Definition at line 24 of file overworld.cc.
References AssembleMap16Tiles(), AssembleMap32Tiles(), DecompressAllMapTiles(), FetchLargeMaps(), yaze::app::core::ExperimentFlags::flags(), is_loaded_, yaze::app::zelda3::overworld::kNumOverworldMaps, LoadEntrances(), LoadExits(), LoadItems(), LoadOverworldMaps(), LoadSprites(), overworld_maps_, RETURN_IF_ERROR, yaze::app::SharedRom::rom(), and rom_.
Referenced by yaze::app::editor::OverworldEditor::LoadGraphics(), and yaze::app::editor::Tile16Editor::UpdateTransferTileCanvas().
absl::Status yaze::app::zelda3::overworld::Overworld::LoadOverworldMaps | ( | ) |
Definition at line 278 of file overworld.cc.
References game_state_, GetMapTiles(), yaze::app::zelda3::overworld::kNumOverworldMaps, overworld_maps_, and tiles16_.
Referenced by Load().
void yaze::app::zelda3::overworld::Overworld::LoadTileTypes | ( | ) |
Definition at line 305 of file overworld.cc.
References all_tiles_types_, and yaze::app::SharedRom::rom().
void yaze::app::zelda3::overworld::Overworld::LoadEntrances | ( | ) |
Definition at line 312 of file overworld.cc.
References all_entrances_, all_holes_, expanded_entrances_, yaze::app::zelda3::overworld::OWEntranceEntranceId, yaze::app::zelda3::overworld::OWEntranceMap, yaze::app::zelda3::overworld::OWEntrancePos, yaze::app::zelda3::overworld::OWHoleArea, yaze::app::zelda3::overworld::OWHoleEntrance, yaze::app::zelda3::overworld::OWHolePos, yaze::app::SharedRom::rom(), and rom_.
Referenced by Load().
absl::Status yaze::app::zelda3::overworld::Overworld::LoadExits | ( | ) |
Definition at line 357 of file overworld.cc.
References all_exits_, exits(), yaze::app::core::ExperimentFlags::flags(), yaze::app::zelda3::overworld::OWExitDoorType1, yaze::app::zelda3::overworld::OWExitDoorType2, yaze::app::zelda3::overworld::OWExitMapId, yaze::app::zelda3::overworld::OWExitRoomId, yaze::app::zelda3::overworld::OWExitUnk1, yaze::app::zelda3::overworld::OWExitUnk2, yaze::app::zelda3::overworld::OWExitVram, yaze::app::zelda3::overworld::OWExitXCamera, yaze::app::zelda3::overworld::OWExitXPlayer, yaze::app::zelda3::overworld::OWExitXScroll, yaze::app::zelda3::overworld::OWExitYCamera, yaze::app::zelda3::overworld::OWExitYPlayer, yaze::app::zelda3::overworld::OWExitYScroll, RETURN_IF_ERROR, and yaze::app::SharedRom::rom().
Referenced by Load().
absl::Status yaze::app::zelda3::overworld::Overworld::LoadItems | ( | ) |
Definition at line 414 of file overworld.cc.
References all_items_, ASSIGN_OR_RETURN, yaze::app::zelda3::overworld::kOverworldItemsAddress, overworld_maps_, yaze::app::SharedRom::rom(), and yaze::app::core::SnesToPc().
Referenced by Load().
absl::Status yaze::app::zelda3::overworld::Overworld::LoadSprites | ( | ) |
Definition at line 464 of file overworld.cc.
References all_sprites_, LoadSpritesFromMap(), yaze::app::zelda3::overworld::overworldSpritesAgahnim, yaze::app::zelda3::overworld::overworldSpritesBegining, yaze::app::zelda3::overworld::overworldSpritesZelda, and RETURN_IF_ERROR.
Referenced by Load().
absl::Status yaze::app::zelda3::overworld::Overworld::LoadSpritesFromMap | ( | int | spriteStart, |
int | spriteCount, | ||
int | spriteIndex ) |
Definition at line 475 of file overworld.cc.
References all_sprites_, ASSIGN_OR_RETURN, map_parent_, overworld_maps_, yaze::app::SharedRom::rom(), and yaze::app::core::SnesToPc().
Referenced by LoadSprites().
absl::Status yaze::app::zelda3::overworld::Overworld::Save | ( | Rom & | rom | ) |
Definition at line 517 of file overworld.cc.
References expanded_tile16_, expanded_tile32_, RETURN_IF_ERROR, yaze::app::SharedRom::rom(), rom_, SaveEntrances(), SaveExits(), SaveMap16Expanded(), SaveMap16Tiles(), SaveMap32Expanded(), SaveMap32Tiles(), and SaveOverworldMaps().
absl::Status yaze::app::zelda3::overworld::Overworld::SaveOverworldMaps | ( | ) |
Definition at line 529 of file overworld.cc.
References yaze::app::gfx::lc_lz2::Compress(), yaze::app::core::Logger::log(), map_data_p1, map_data_p2, map_pointers1, map_pointers1_id, map_pointers2, map_pointers2_id, yaze::app::zelda3::overworld::OverworldMapDataOverflow, yaze::app::core::PcToSnes(), RETURN_IF_ERROR, yaze::app::SharedRom::rom(), SaveLargeMaps(), tiles32_list_, yaze::app::core::UppercaseHexByte(), and yaze::app::core::UppercaseHexLong().
Referenced by yaze::app::editor::OverworldEditor::Save(), and Save().
absl::Status yaze::app::zelda3::overworld::Overworld::SaveLargeMaps | ( | ) |
Definition at line 686 of file overworld.cc.
References yaze::app::core::Logger::log(), overworld_maps_, yaze::app::zelda3::overworld::overworldMapParentId, yaze::app::zelda3::overworld::overworldMapSize, yaze::app::zelda3::overworld::overworldMapSizeHighByte, yaze::app::zelda3::overworld::overworldScreenSize, yaze::app::zelda3::overworld::OverworldScreenSizeForLoading, yaze::app::zelda3::overworld::OverworldScreenTileMapChangeByScreen1, yaze::app::zelda3::overworld::OverworldScreenTileMapChangeByScreen2, yaze::app::zelda3::overworld::OverworldScreenTileMapChangeByScreen3, yaze::app::zelda3::overworld::OverworldScreenTileMapChangeByScreen4, yaze::app::zelda3::overworld::overworldTransitionPositionX, yaze::app::zelda3::overworld::overworldTransitionPositionY, RETURN_IF_ERROR, yaze::app::SharedRom::rom(), yaze::app::zelda3::overworld::transition_target_north, and yaze::app::zelda3::overworld::transition_target_west.
Referenced by SaveOverworldMaps().
absl::Status yaze::app::zelda3::overworld::Overworld::SaveEntrances | ( | ) |
Definition at line 1384 of file overworld.cc.
References all_entrances_, all_holes_, yaze::app::core::Logger::log(), yaze::app::zelda3::overworld::OWEntranceEntranceId, yaze::app::zelda3::overworld::OWEntranceMap, yaze::app::zelda3::overworld::OWEntrancePos, yaze::app::zelda3::overworld::OWHoleArea, yaze::app::zelda3::overworld::OWHoleEntrance, yaze::app::zelda3::overworld::OWHolePos, RETURN_IF_ERROR, and yaze::app::SharedRom::rom().
Referenced by yaze::app::editor::OverworldEditor::Save(), and Save().
absl::Status yaze::app::zelda3::overworld::Overworld::SaveExits | ( | ) |
Definition at line 1407 of file overworld.cc.
References all_exits_, yaze::app::core::Logger::log(), yaze::app::zelda3::overworld::OWExitDoorType1, yaze::app::zelda3::overworld::OWExitDoorType2, yaze::app::zelda3::overworld::OWExitMapId, yaze::app::zelda3::overworld::OWExitRoomId, yaze::app::zelda3::overworld::OWExitUnk1, yaze::app::zelda3::overworld::OWExitUnk2, yaze::app::zelda3::overworld::OWExitVram, yaze::app::zelda3::overworld::OWExitXCamera, yaze::app::zelda3::overworld::OWExitXPlayer, yaze::app::zelda3::overworld::OWExitXScroll, yaze::app::zelda3::overworld::OWExitYCamera, yaze::app::zelda3::overworld::OWExitYPlayer, yaze::app::zelda3::overworld::OWExitYScroll, RETURN_IF_ERROR, and yaze::app::SharedRom::rom().
Referenced by yaze::app::editor::OverworldEditor::Save(), and Save().
absl::Status yaze::app::zelda3::overworld::Overworld::SaveItems | ( | ) |
Definition at line 1471 of file overworld.cc.
References all_items_, yaze::app::core::ExperimentFlags::flags(), yaze::app::zelda3::overworld::overworldItemsEndData, yaze::app::zelda3::overworld::overworldItemsPointers, yaze::app::core::PcToSnes(), RETURN_IF_ERROR, and yaze::app::SharedRom::rom().
Referenced by yaze::app::editor::OverworldEditor::Save().
absl::Status yaze::app::zelda3::overworld::Overworld::CreateTile32Tilemap | ( | ) |
Definition at line 1045 of file overworld.cc.
References yaze::app::core::ExperimentFlags::flags(), yaze::app::gfx::Tile32::GetPackedValue(), yaze::app::zelda3::overworld::LimitOfMap32, map_tiles_, yaze::app::zelda3::overworld::NumberOfMap32, tiles32_list_, and tiles32_unique_.
Referenced by yaze::app::editor::OverworldEditor::Save().
absl::Status yaze::app::zelda3::overworld::Overworld::SaveMap16Expanded | ( | ) |
Definition at line 1285 of file overworld.cc.
References yaze::app::zelda3::overworld::kMap16TilesExpanded, yaze::app::core::PcToSnes(), RETURN_IF_ERROR, yaze::app::SharedRom::rom(), and yaze::app::core::SnesToPc().
Referenced by Save().
absl::Status yaze::app::zelda3::overworld::Overworld::SaveMap16Tiles | ( | ) |
Definition at line 1363 of file overworld.cc.
References yaze::app::zelda3::overworld::kMap16Tiles, yaze::app::core::Logger::log(), yaze::app::zelda3::overworld::NumberOfMap16, RETURN_IF_ERROR, yaze::app::SharedRom::rom(), and tiles16_.
Referenced by yaze::app::editor::OverworldEditor::Save(), and Save().
absl::Status yaze::app::zelda3::overworld::Overworld::SaveMap32Expanded | ( | ) |
Definition at line 1105 of file overworld.cc.
References yaze::app::zelda3::overworld::kMap32TileBLExpanded, yaze::app::zelda3::overworld::kMap32TileBRExpanded, yaze::app::zelda3::overworld::kMap32TileTRExpanded, yaze::app::core::PcToSnes(), RETURN_IF_ERROR, and yaze::app::SharedRom::rom().
Referenced by Save().
absl::Status yaze::app::zelda3::overworld::Overworld::SaveMap32Tiles | ( | ) |
Definition at line 1156 of file overworld.cc.
References yaze::app::core::Logger::log(), map32TilesBL, map32TilesBR, RETURN_IF_ERROR, yaze::app::SharedRom::rom(), and tiles32_unique_.
Referenced by yaze::app::editor::OverworldEditor::Save(), and Save().
absl::Status yaze::app::zelda3::overworld::Overworld::SaveMapProperties | ( | ) |
Definition at line 1552 of file overworld.cc.
References yaze::app::zelda3::overworld::kAreaGfxIdPtr, yaze::app::zelda3::overworld::kOverworldMapPaletteIds, yaze::app::zelda3::overworld::kOverworldSpritePaletteIds, yaze::app::core::Logger::log(), overworld_maps_, yaze::app::zelda3::overworld::overworldSpriteset, RETURN_IF_ERROR, and yaze::app::SharedRom::rom().
Referenced by yaze::app::editor::OverworldEditor::Save().
|
inline |
Definition at line 489 of file overworld.h.
References all_entrances_, all_exits_, all_items_, all_sprites_, is_loaded_, and overworld_maps_.
|
inline |
Definition at line 501 of file overworld.h.
References current_world_, yaze::app::zelda3::OWMapTiles::dark_world, yaze::app::zelda3::OWMapTiles::light_world, map_tiles_, and yaze::app::zelda3::OWMapTiles::special_world.
Referenced by yaze::app::editor::OverworldEditor::CheckForOverworldEdits(), and yaze::app::editor::OverworldEditor::CheckForSelectRectangle().
|
inline |
Definition at line 511 of file overworld.h.
References yaze::app::zelda3::OWMapTiles::dark_world, yaze::app::zelda3::OWMapTiles::light_world, map_tiles_, and yaze::app::zelda3::OWMapTiles::special_world.
Referenced by LoadOverworldMaps(), and yaze::app::editor::OverworldEditor::RefreshChildMap().
|
inline |
Definition at line 524 of file overworld.h.
References overworld_maps_.
|
inline |
Definition at line 525 of file overworld.h.
References overworld_maps_.
Referenced by yaze::app::editor::OverworldEditor::CheckForCurrentMap(), yaze::app::editor::OverworldEditor::DrawOverworldProperties(), yaze::app::editor::OverworldEditor::RefreshMapPalette(), yaze::app::editor::OverworldEditor::RefreshOverworldMap(), and yaze::app::editor::OverworldEditor::RefreshTile16Blockset().
|
inline |
Definition at line 526 of file overworld.h.
References overworld_maps_.
Referenced by yaze::app::editor::OverworldEditor::DrawCustomOverworldMapSettings(), yaze::app::editor::OverworldEditor::DrawOverworldMapSettings(), yaze::app::editor::OverworldEditor::RefreshChildMap(), yaze::app::editor::OverworldEditor::RefreshMapPalette(), and yaze::app::editor::OverworldEditor::RefreshMapProperties().
|
inline |
|
inline |
Definition at line 528 of file overworld.h.
References all_exits_.
Referenced by yaze::app::editor::OverworldEditor::DrawOverworldExits().
|
inline |
Definition at line 529 of file overworld.h.
References tiles16_.
Referenced by yaze::app::editor::OverworldEditor::RefreshChildMap().
|
inline |
Definition at line 530 of file overworld.h.
References tiles16_.
Referenced by yaze::app::editor::OverworldEditor::RefreshChildMap().
|
inline |
Definition at line 531 of file overworld.h.
References all_sprites_.
Referenced by yaze::app::editor::OverworldEditor::LoadSpriteGraphics().
|
inline |
Definition at line 532 of file overworld.h.
References all_sprites_.
Referenced by yaze::app::editor::OverworldEditor::DrawOverworldSprites().
|
inline |
Definition at line 533 of file overworld.h.
References current_map_, and overworld_maps_.
Referenced by yaze::app::editor::OverworldEditor::DrawAreaGraphics(), and yaze::app::editor::OverworldEditor::LoadGraphics().
|
inline |
Definition at line 536 of file overworld.h.
References all_entrances_.
Referenced by yaze::app::editor::OverworldEditor::DrawOverworldEntrances(), and yaze::app::editor::OverworldEditor::UpdateUsageStats().
|
inline |
Definition at line 537 of file overworld.h.
References all_entrances_.
|
inline |
Definition at line 538 of file overworld.h.
References all_holes_.
|
inline |
Definition at line 539 of file overworld.h.
References all_holes_.
|
inline |
Definition at line 540 of file overworld.h.
References deleted_entrances_.
Referenced by yaze::app::editor::OverworldEditor::DrawOverworldEntrances().
|
inline |
Definition at line 541 of file overworld.h.
References deleted_entrances_.
Referenced by yaze::app::editor::OverworldEditor::DrawOverworldEntrances().
|
inline |
Definition at line 542 of file overworld.h.
References current_map_, and overworld_maps_.
Referenced by yaze::app::editor::OverworldEditor::DrawAreaGraphics(), yaze::app::editor::OverworldEditor::LoadGraphics(), yaze::app::editor::OverworldEditor::RefreshMapPalette(), yaze::app::editor::OverworldEditor::RefreshTile16Blockset(), and yaze::app::editor::Tile16Editor::UpdateTransferTileCanvas().
|
inline |
Definition at line 545 of file overworld.h.
References current_map_, and overworld_maps_.
Referenced by yaze::app::editor::OverworldEditor::LoadGraphics().
|
inline |
Definition at line 548 of file overworld.h.
References current_map_, and overworld_maps_.
Referenced by yaze::app::editor::OverworldEditor::LoadGraphics(), yaze::app::editor::OverworldEditor::RefreshTile16Blockset(), and yaze::app::editor::Tile16Editor::UpdateTransferTileCanvas().
|
inline |
Definition at line 551 of file overworld.h.
References is_loaded_.
Referenced by yaze::app::editor::OverworldEditor::DrawAreaGraphics(), yaze::app::editor::OverworldEditor::DrawOverworldCanvas(), and yaze::app::editor::OverworldEditor::DrawToolset().
|
inline |
Definition at line 552 of file overworld.h.
References current_map_.
Referenced by yaze::app::editor::OverworldEditor::DrawAreaGraphics(), yaze::app::editor::OverworldEditor::LoadGraphics(), yaze::app::editor::OverworldEditor::RefreshTile16Blockset(), and yaze::app::editor::Tile16Editor::UpdateTransferTileCanvas().
|
inline |
Definition at line 553 of file overworld.h.
References map_tiles_.
|
inline |
Definition at line 554 of file overworld.h.
References map_tiles_.
Referenced by yaze::app::editor::OverworldEditor::CheckForOverworldEdits(), yaze::app::editor::OverworldEditor::DrawDebugWindow(), and yaze::app::editor::OverworldEditor::DrawOverworldEdits().
|
inline |
Definition at line 555 of file overworld.h.
References all_items_.
|
inline |
Definition at line 556 of file overworld.h.
References all_items_.
Referenced by yaze::app::editor::OverworldEditor::DrawOverworldItems().
|
inline |
Definition at line 557 of file overworld.h.
References all_tiles_types_.
|
inline |
Definition at line 558 of file overworld.h.
References all_tiles_types_.
Referenced by yaze::app::editor::OverworldEditor::Update().
|
private |
|
private |
Definition at line 101 of file overworld.cc.
References ASSIGN_OR_RETURN, yaze::app::Rom::ReadByte(), yaze::app::Rom::ReadWord(), and rom_.
Referenced by AssembleMap32Tiles().
|
private |
Definition at line 113 of file overworld.cc.
References ASSIGN_OR_RETURN, yaze::app::zelda3::OWMapTiles::dark_world, expanded_tile32_, GetTile16ForTile32(), yaze::app::VersionConstants::kMap32TileBL, yaze::app::zelda3::overworld::kMap32TileBLExpanded, yaze::app::VersionConstants::kMap32TileBR, yaze::app::zelda3::overworld::kMap32TileBRExpanded, yaze::app::zelda3::overworld::kMap32TileCountExpanded, yaze::app::zelda3::overworld::kMap32TilesLength, yaze::app::VersionConstants::kMap32TileTL, yaze::app::VersionConstants::kMap32TileTR, yaze::app::zelda3::overworld::kMap32TileTRExpanded, yaze::app::zelda3::OWMapTiles::light_world, map32TilesBL, map32TilesBR, map32TilesTL, map32TilesTR, map_tiles_, yaze::app::SharedRom::rom(), rom_, yaze::app::zelda3::OWMapTiles::special_world, tiles32_unique_, and yaze::app::Rom::version_constants().
Referenced by Load().
|
private |
Definition at line 164 of file overworld.cc.
References expanded_tile16_, yaze::app::gfx::GetTilesInfo(), yaze::app::zelda3::overworld::kMap16Tiles, yaze::app::zelda3::overworld::kMap16TilesExpanded, yaze::app::zelda3::overworld::kNumTile16Individual, yaze::app::zelda3::overworld::NumberOfMap16Ex, yaze::app::SharedRom::rom(), and tiles16_.
Referenced by Load().
|
private |
Definition at line 186 of file overworld.cc.
References tiles32_unique_.
Referenced by OrganizeMapTiles().
|
private |
Definition at line 198 of file overworld.cc.
References AssignWorldTiles(), yaze::app::zelda3::OWMapTiles::dark_world, yaze::app::zelda3::OWMapTiles::light_world, map_tiles_, yaze::app::zelda3::OWMapTiles::special_world, and tiles32_unique_.
Referenced by DecompressAllMapTiles().
|
private |
Definition at line 218 of file overworld.cc.
References OrganizeMapTiles(), yaze::app::SharedRom::rom(), yaze::app::core::SnesToPc(), and yaze::app::gfx::lc_lz2::Uncompress().
Referenced by Load().
|
private |
Definition at line 581 of file overworld.h.
Referenced by Destroy(), is_loaded(), and Load().
|
private |
Definition at line 582 of file overworld.h.
Referenced by AssembleMap16Tiles(), and Save().
|
private |
Definition at line 583 of file overworld.h.
Referenced by AssembleMap32Tiles(), and Save().
|
private |
Definition at line 584 of file overworld.h.
Referenced by LoadEntrances().
|
private |
Definition at line 586 of file overworld.h.
Referenced by LoadOverworldMaps().
|
private |
Definition at line 587 of file overworld.h.
Referenced by current_area_palette(), current_graphics(), current_map_bitmap_data(), set_current_map(), and tile16_blockset_data().
|
private |
Definition at line 588 of file overworld.h.
Referenced by GetTileFromPosition().
|
private |
Definition at line 589 of file overworld.h.
Referenced by LoadSpritesFromMap().
|
private |
Definition at line 591 of file overworld.h.
Referenced by AssembleMap32Tiles(), GetTile16ForTile32(), Load(), LoadEntrances(), and Save().
|
private |
Definition at line 592 of file overworld.h.
Referenced by AssembleMap32Tiles(), CreateTile32Tilemap(), GetMapTiles(), GetTileFromPosition(), map_tiles(), mutable_map_tiles(), and OrganizeMapTiles().
|
private |
Definition at line 594 of file overworld.h.
Referenced by all_tiles_types(), LoadTileTypes(), and mutable_all_tiles_types().
|
private |
Definition at line 596 of file overworld.h.
Referenced by AssembleMap16Tiles(), LoadOverworldMaps(), mutable_tiles16(), SaveMap16Tiles(), and tiles16().
|
private |
Definition at line 597 of file overworld.h.
|
private |
Definition at line 598 of file overworld.h.
Referenced by CreateTile32Tilemap(), and SaveOverworldMaps().
|
private |
Definition at line 599 of file overworld.h.
Referenced by AssembleMap32Tiles(), AssignWorldTiles(), CreateTile32Tilemap(), OrganizeMapTiles(), and SaveMap32Tiles().
|
private |
Definition at line 600 of file overworld.h.
Referenced by current_area_palette(), current_graphics(), current_map_bitmap_data(), Destroy(), FetchLargeMaps(), Load(), LoadItems(), LoadOverworldMaps(), LoadSpritesFromMap(), mutable_overworld_map(), overworld_map(), overworld_maps(), SaveLargeMaps(), SaveMapProperties(), and tile16_blockset_data().
|
private |
Definition at line 601 of file overworld.h.
Referenced by Destroy(), entrances(), LoadEntrances(), mutable_entrances(), and SaveEntrances().
|
private |
Definition at line 602 of file overworld.h.
Referenced by holes(), LoadEntrances(), mutable_holes(), and SaveEntrances().
|
private |
Definition at line 603 of file overworld.h.
Referenced by Destroy(), exits(), LoadExits(), mutable_exits(), and SaveExits().
|
private |
Definition at line 604 of file overworld.h.
Referenced by all_items(), Destroy(), LoadItems(), mutable_all_items(), and SaveItems().
|
private |
Definition at line 605 of file overworld.h.
Referenced by Destroy(), LoadSprites(), LoadSpritesFromMap(), mutable_sprites(), and sprites().
|
private |
Definition at line 607 of file overworld.h.
Referenced by deleted_entrances(), and mutable_deleted_entrances().
|
private |
Definition at line 609 of file overworld.h.
Referenced by SaveOverworldMaps().
|
private |
Definition at line 611 of file overworld.h.
Referenced by SaveOverworldMaps().
|
private |
Definition at line 614 of file overworld.h.
Referenced by SaveOverworldMaps().
|
private |
Definition at line 615 of file overworld.h.
Referenced by SaveOverworldMaps().
|
private |
Definition at line 617 of file overworld.h.
Referenced by SaveOverworldMaps().
|
private |
Definition at line 618 of file overworld.h.
Referenced by SaveOverworldMaps().
|
private |
Definition at line 620 of file overworld.h.