Functions | |
| bool | IsValidMapId (int map_id) |
| int | EffectivePropertyMapId (zelda3::Overworld *overworld, int map_id) |
| absl::Status | CheckFieldSupported (const Rom *rom, const OverworldPropertyEdit &edit) |
| int | MusicRomAddressForMapState (int map_id, int state) |
| bool | WriteRomByteIfValid (Rom *rom, int address, uint8_t value) |
| void | WriteRomWordIfValid (Rom *rom, int address, uint16_t value) |
| OverworldMapMetadataClipboard | CaptureMapMetadataClipboard (const zelda3::Overworld &overworld, int map_id) |
| bool yaze::editor::anonymous_namespace{map_properties.cc}::IsValidMapId | ( | int | map_id | ) |
Definition at line 41 of file map_properties.cc.
References IsValidMapId(), and yaze::zelda3::kNumOverworldMaps.
Referenced by CaptureMapMetadataClipboard(), EffectivePropertyMapId(), and IsValidMapId().

| int yaze::editor::anonymous_namespace{map_properties.cc}::EffectivePropertyMapId | ( | zelda3::Overworld * | overworld, |
| int | map_id ) |
Definition at line 45 of file map_properties.cc.
References EffectivePropertyMapId(), IsValidMapId(), and yaze::zelda3::Overworld::mutable_overworld_map().
Referenced by EffectivePropertyMapId().

| absl::Status yaze::editor::anonymous_namespace{map_properties.cc}::CheckFieldSupported | ( | const Rom * | rom, |
| const OverworldPropertyEdit & | edit ) |
Definition at line 60 of file map_properties.cc.
References CheckFieldSupported(), yaze::editor::OverworldPropertyEdit::field, yaze::zelda3::OverworldVersionHelper::GetVersion(), yaze::Rom::is_loaded(), yaze::editor::kAnimatedGraphics, yaze::editor::kAreaSize, yaze::editor::kAreaSpecificBgColor, yaze::editor::kCustomTileset, yaze::editor::kMainPalette, yaze::editor::kMosaicExpanded, yaze::editor::kSubscreenOverlay, yaze::zelda3::kVanilla, yaze::zelda3::OverworldVersionHelper::SupportsAnimatedGFX(), yaze::zelda3::OverworldVersionHelper::SupportsAreaEnum(), yaze::zelda3::OverworldVersionHelper::SupportsCustomBGColors(), yaze::zelda3::OverworldVersionHelper::SupportsExpandedSpace(), yaze::zelda3::TallArea, yaze::editor::OverworldPropertyEdit::value, and yaze::zelda3::WideArea.
Referenced by CheckFieldSupported().
| int yaze::editor::anonymous_namespace{map_properties.cc}::MusicRomAddressForMapState | ( | int | map_id, |
| int | state ) |
Definition at line 106 of file map_properties.cc.
References yaze::zelda3::kDarkWorldMapIdStart, yaze::zelda3::kOverworldMusicAgahnim, yaze::zelda3::kOverworldMusicBeginning, yaze::zelda3::kOverworldMusicDarkWorld, yaze::zelda3::kOverworldMusicMasterSword, yaze::zelda3::kOverworldMusicZelda, yaze::zelda3::kSpecialWorldMapIdStart, and MusicRomAddressForMapState().
Referenced by MusicRomAddressForMapState().

| bool yaze::editor::anonymous_namespace{map_properties.cc}::WriteRomByteIfValid | ( | Rom * | rom, |
| int | address, | ||
| uint8_t | value ) |
Definition at line 129 of file map_properties.cc.
References yaze::Rom::size(), and WriteRomByteIfValid().
Referenced by WriteRomByteIfValid().

| void yaze::editor::anonymous_namespace{map_properties.cc}::WriteRomWordIfValid | ( | Rom * | rom, |
| int | address, | ||
| uint16_t | value ) |
Definition at line 137 of file map_properties.cc.
References yaze::Rom::size(), and WriteRomWordIfValid().
Referenced by WriteRomWordIfValid().

| OverworldMapMetadataClipboard yaze::editor::anonymous_namespace{map_properties.cc}::CaptureMapMetadataClipboard | ( | const zelda3::Overworld & | overworld, |
| int | map_id ) |
Definition at line 145 of file map_properties.cc.
References yaze::editor::OverworldMapMetadataClipboard::animated_graphics, yaze::editor::OverworldMapMetadataClipboard::area_graphics, yaze::editor::OverworldMapMetadataClipboard::area_palette, yaze::editor::OverworldMapMetadataClipboard::area_size, yaze::editor::OverworldMapMetadataClipboard::area_specific_bg_color, CaptureMapMetadataClipboard(), yaze::editor::OverworldMapMetadataClipboard::custom_tilesets, IsValidMapId(), yaze::editor::OverworldMapMetadataClipboard::main_palette, yaze::editor::OverworldMapMetadataClipboard::message_id, yaze::editor::OverworldMapMetadataClipboard::mosaic, yaze::editor::OverworldMapMetadataClipboard::mosaic_expanded, yaze::editor::OverworldMapMetadataClipboard::music, yaze::zelda3::Overworld::overworld_map(), yaze::editor::OverworldMapMetadataClipboard::source_map_id, yaze::editor::OverworldMapMetadataClipboard::sprite_graphics, yaze::editor::OverworldMapMetadataClipboard::sprite_palette, yaze::editor::OverworldMapMetadataClipboard::subscreen_overlay, and yaze::editor::OverworldMapMetadataClipboard::valid.
Referenced by CaptureMapMetadataClipboard().
