Namespaces | |
| namespace | anonymous_namespace{lyra_layout_descriptor.cc} |
Classes | |
| struct | DiffSummary |
| class | HyruleMagicValidator |
| struct | LyraLayoutEntry |
| struct | LyraLayoutInspection |
| class | ScopedWriteFence |
| class | WriteFence |
| struct | WriteRange |
Enumerations | |
| enum class | LyraLayoutPresence { kAbsent , kValid , kInvalid } |
Functions | |
| LyraLayoutInspection | InspectLyraLayout (const uint8_t *image, size_t size) |
| std::optional< std::span< const uint8_t > > | LyraLayoutRecord (const LyraLayoutInspection &layout, const uint8_t *image, size_t size, uint16_t table_id, size_t index) |
| std::optional< std::array< uint16_t, 256 > > | LyraMapTile32 (const LyraLayoutInspection &layout, const uint8_t *image, size_t size, size_t map_index) |
| DiffSummary | ComputeDiffRanges (const std::vector< uint8_t > &before, const std::vector< uint8_t > &after) |
|
strong |
| Enumerator | |
|---|---|
| kAbsent | |
| kValid | |
| kInvalid | |
Definition at line 16 of file lyra_layout_descriptor.h.
| LyraLayoutInspection yaze::rom::InspectLyraLayout | ( | const uint8_t * | image, |
| size_t | size ) |
Definition at line 210 of file lyra_layout_descriptor.cc.
References yaze::rom::LyraLayoutInspection::active_count, yaze::rom::LyraLayoutInspection::capacity, yaze::rom::LyraLayoutInspection::entries, kValid, yaze::rom::LyraLayoutInspection::presence, yaze::rom::LyraLayoutInspection::revision, and yaze::rom::LyraLayoutInspection::write_supported.
Referenced by yaze::Rom::InspectLyraLayout(), yaze::Rom::LoadFromData(), and yaze::Rom::LoadFromFile().
| std::optional< std::span< const uint8_t > > yaze::rom::LyraLayoutRecord | ( | const LyraLayoutInspection & | layout, |
| const uint8_t * | image, | ||
| size_t | size, | ||
| uint16_t | table_id, | ||
| size_t | index ) |
Definition at line 385 of file lyra_layout_descriptor.cc.
References yaze::rom::LyraLayoutInspection::entries, kValid, and yaze::rom::LyraLayoutInspection::presence.
Referenced by yaze::zelda3::OverworldMap::LoadLyraPreviewProperties(), yaze::zelda3::OverworldMap::LoadPalette(), and LyraMapTile32().
| std::optional< std::array< uint16_t, 256 > > yaze::rom::LyraMapTile32 | ( | const LyraLayoutInspection & | layout, |
| const uint8_t * | image, | ||
| size_t | size, | ||
| size_t | map_index ) |
Definition at line 407 of file lyra_layout_descriptor.cc.
References LyraLayoutRecord().
Referenced by yaze::zelda3::Overworld::BuildLyraTerrainPreview().

| DiffSummary yaze::rom::ComputeDiffRanges | ( | const std::vector< uint8_t > & | before, |
| const std::vector< uint8_t > & | after ) |
Definition at line 11 of file rom_diff.cc.
References yaze::rom::DiffSummary::ranges, and yaze::rom::DiffSummary::total_bytes_changed.
Referenced by yaze::cli::GfxImportCommandHandler::Execute(), yaze::cli::GfxRoomImportCommandHandler::Execute(), and yaze::editor::EditorManager::SaveRomInternal().