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

The Rom class is used to load, save, and modify Rom data. This is a generic SNES ROM container and does not contain game-specific logic. More...

#include <rom.h>

Collaboration diagram for yaze::Rom:

Classes

struct  LoadOptions
 
struct  SaveSettings
 
struct  WriteAction
 

Public Member Functions

 Rom ()=default
 
 Rom (const Rom &other)
 
Rom & operator= (const Rom &other)
 
Rom & operator= (Rom &&other)
 
 ~Rom ()=default
 
absl::Status LoadFromFile (const std::string &filename, const LoadOptions &options=LoadOptions::Defaults())
 
absl::Status LoadFromData (const std::vector< uint8_t > &data, const LoadOptions &options=LoadOptions::Defaults())
 
absl::Status SaveToFile (const SaveSettings &settings)
 
void Expand (int size)
 
void Close ()
 
absl::StatusOr< uint8_t > ReadByte (int offset) const
 
absl::StatusOr< uint16_t > ReadWord (int offset) const
 
absl::StatusOr< uint32_t > ReadLong (int offset) const
 
absl::StatusOr< std::vector< uint8_t > > ReadByteVector (uint32_t offset, uint32_t length) const
 
absl::StatusOr< gfx::Tile16 > ReadTile16 (uint32_t tile16_id, uint32_t tile16_ptr)
 
absl::Status WriteTile16 (int tile16_id, uint32_t tile16_ptr, const gfx::Tile16 &tile)
 
absl::Status WriteByte (int addr, uint8_t value)
 
absl::Status WriteWord (int addr, uint16_t value)
 
absl::Status WriteShort (int addr, uint16_t value)
 
absl::Status WriteLong (uint32_t addr, uint32_t value)
 
absl::Status WriteVector (int addr, std::vector< uint8_t > data)
 
absl::Status WriteColor (uint32_t address, const gfx::SnesColor &color)
 
template<typename... Args>
absl::Status WriteTransaction (Args... args)
 
template<typename T , typename... Args>
absl::Status ReadTransaction (T &var, int address, Args &&... args)
 
virtual absl::Status WriteHelper (const WriteAction &action)
 
template<typename T >
absl::Status ReadHelper (T &var, int address)
 
uint8_t & operator[] (unsigned long i)
 
bool is_loaded () const
 
bool dirty () const
 
void set_dirty (bool dirty)
 
void ClearDirty ()
 
uint64_t object_tile_revision () const
 
void AdvanceObjectTileRevision ()
 
auto title () const
 
auto size () const
 
auto data () const
 
auto mutable_data ()
 
auto begin ()
 
auto end ()
 
const auto & vector () const
 
auto & mutable_vector ()
 
auto filename () const
 
auto set_filename (std::string_view name)
 
auto short_name () const
 
bool has_copier_header () const
 
const std::vector< uint8_t > & copier_header () const
 
CopierHeaderReason copier_header_reason () const
 
rom::LyraLayoutInspection InspectLyraLayout () const
 
absl::Status CheckLayoutWritable () const
 
project::ResourceLabelManager * resource_label ()
 
void PushWriteFence (rom::WriteFence *fence)
 
void PopWriteFence (rom::WriteFence *fence)
 
size_t write_fence_depth () const
 

Static Public Member Functions

static void SetStagingFailureForTesting (bool fail)
 

Private Attributes

unsigned long size_ = 0
 
std::string title_ = "ROM not loaded"
 
std::string filename_
 
std::string short_name_
 
std::vector< uint8_t > rom_data_
 
std::vector< uint8_t > copier_header_
 
CopierHeaderReason copier_header_reason_ = CopierHeaderReason::kNone
 
bool lyra_attributed_at_load_ = false
 
project::ResourceLabelManager resource_label_manager_
 
bool dirty_ = false
 
uint64_t object_tile_revision_ = 0
 
std::vector< rom::WriteFence * > write_fence_stack_
 

Detailed Description

The Rom class is used to load, save, and modify Rom data. This is a generic SNES ROM container and does not contain game-specific logic.

Definition at line 49 of file rom.h.

Constructor & Destructor Documentation

◆ Rom() [1/2]

yaze::Rom::Rom ( )
default

◆ Rom() [2/2]

yaze::Rom::Rom ( const Rom & other)

Definition at line 442 of file rom.cc.

◆ ~Rom()

yaze::Rom::~Rom ( )
default

Member Function Documentation

◆ operator=() [1/2]

◆ operator=() [2/2]

Rom & yaze::Rom::operator= ( Rom && other)

Definition at line 484 of file rom.cc.

References operator=().

Here is the call graph for this function:

◆ LoadFromFile()

absl::Status yaze::Rom::LoadFromFile ( const std::string & filename,
const LoadOptions & options = LoadOptions::Defaults() )

Definition at line 491 of file rom.cc.

References AdvanceObjectTileRevision(), copier_header_, copier_header_reason_, filename(), filename_, yaze::rom::InspectLyraLayout(), yaze::rom::kAbsent, yaze::kNone, yaze::Rom::LoadOptions::load_resource_labels, yaze::project::ResourceLabelManager::LoadLabels(), lyra_attributed_at_load_, yaze::rom::LyraLayoutInspection::presence, resource_label_manager_, rom_data_, short_name_, size_, yaze::Rom::LoadOptions::strip_header, title_, and vector().

Referenced by yaze::editor::ProposalDrawer::AcceptProposal(), yaze::cli::handlers::anonymous_namespace{message_commands.cc}::AddVanillaApplyPreflight(), yaze::cli::handlers::anonymous_namespace{overworld_commands.cc}::ApplyTileEdit(), yaze::editor::GraphicsEditor::DrawFileImport(), yaze::editor::GraphicsEditor::DrawObjImport(), yaze::editor::GraphicsEditor::DrawPaletteControls(), yaze::editor::GraphicsEditor::DrawTilemapImport(), yaze::cli::agent::anonymous_namespace{general_commands.cc}::EnsureRomLoaded(), yaze::cli::handlers::DungeonRoomCensusCommandHandler::Execute(), yaze::cli::handlers::MessageImportBundleCommandHandler::Execute(), yaze::cli::handlers::ProjectBundleVerifyCommandHandler::Execute(), yaze::cli::handlers::ProjectBuildCommandHandler::Execute(), yaze::cli::handlers::RomDiffCommandHandler::Execute(), yaze::cli::handlers::RomGenerateGoldenCommandHandler::Execute(), yaze::cli::HexDumpCommandHandler::Execute(), yaze::cli::HexCompareCommandHandler::Execute(), yaze::cli::HexAnnotateCommandHandler::Execute(), yaze::cli::handlers::ToolsExtractValuesCommandHandler::Execute(), yaze::cli::handlers::ToolsExtractGoldenCommandHandler::Execute(), yaze::cli::handlers::ToolsPatchV3CommandHandler::Execute(), yaze::cli::agent::tools::RomDiffTool::Execute(), yaze::cli::agent::tools::RomChangesTool::Execute(), yaze::cli::handlers::AtlasRenderCommandHandler::ExecuteWithContext(), yaze::cli::handlers::OverworldSpriteEditCommandHandler::ExecuteWithContext(), yaze::cli::handlers::ToolsHarnessStateCommandHandler::GenerateHarnessState(), yaze::cli::agent::HandleAcceptCommand(), yaze::cli::HandleGfxExportLegacy(), yaze::cli::HandleGfxImportLegacy(), yaze::cli::HandlePaletteExportLegacy(), yaze::cli::HandlePaletteImportLegacy(), yaze::cli::agent::HandleRevertCommand(), yaze::cli::resources::CommandContext::Initialize(), yaze::editor::LoadExpandedMessages(), yaze::cli::anonymous_namespace{gfx_tilemap_render_command.cc}::LoadRomArg(), yaze::cli::agent::anonymous_namespace{conversation_test.cc}::LoadRomForAgent(), yaze::editor::RomFileManager::LoadRomFromFile(), yaze::cli::message::anonymous_namespace{message.cc}::LoadRomFromFlag(), main(), yaze::editor::MenuOrchestrator::OnExportBpsPatch(), yaze::test::IntegratedTestSuite::RunRomBasicTest(), yaze::editor::MemoryEditor::Update(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::ValidateDungeonPaletteWriteBaseline(), yaze::cli::handlers::anonymous_namespace{message_commands.cc}::VerifyCleanDiskSnapshot(), yaze::cli::handlers::anonymous_namespace{message_commands.cc}::VerifyDiskSnapshotUnchanged(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::VerifyDungeonPaletteExternalReadback(), and yaze::cli::handlers::anonymous_namespace{message_commands.cc}::VerifySavedRom().

◆ LoadFromData()

◆ SaveToFile()

absl::Status yaze::Rom::SaveToFile ( const SaveSettings & settings)

Definition at line 648 of file rom.cc.

References ASSIGN_OR_RETURN, yaze::Rom::SaveSettings::backup, CheckLayoutWritable(), copier_header_, dirty_, yaze::Rom::SaveSettings::filename, filename(), filename_, LOG_WARN, yaze::Rom::SaveSettings::require_backup, RETURN_IF_ERROR, rom_data_, yaze::Rom::SaveSettings::save_new, and vector().

Referenced by yaze::cli::handlers::anonymous_namespace{overworld_commands.cc}::ApplyTileEdit(), yaze::cli::RomSandboxManager::CreateSandbox(), yaze::cli::handlers::DungeonSetRoomPropertyCommandHandler::Execute(), yaze::cli::handlers::MessageImportBundleCommandHandler::Execute(), yaze::cli::handlers::ProjectBuildCommandHandler::Execute(), yaze::cli::OverworldDoctorCommandHandler::Execute(), yaze::cli::handlers::ToolsPatchV3CommandHandler::Execute(), yaze::cli::handlers::OverworldSpriteEditCommandHandler::ExecuteWithContext(), yaze::cli::agent::HandleAcceptCommand(), yaze::cli::agent::HandleCommitCommand(), yaze::cli::HandleGfxImportLegacy(), yaze::cli::HandlePaletteImportLegacy(), yaze::cli::resources::CommandHandler::Run(), yaze::test::RomDependentTestSuite::RunComprehensiveSaveTest(), yaze::test::E2ETestSuite::RunRomLoadSaveTest(), yaze::editor::RomFileManager::SaveRom(), yaze::editor::RomFileManager::SaveRomAs(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::SaveRomWithBackup(), yaze::editor::SaveRomWithCollisionSource(), yaze::cli::handlers::anonymous_namespace{dungeon_commands.cc}::SaveTrackCollisionRom(), yaze::cli::handlers::anonymous_namespace{dungeon_collision_commands.cc}::SerializeAndPersistImport(), yaze::test::TestManager::TestRomSaveLoad(), yaze::cli::handlers::anonymous_namespace{message_commands.cc}::WriteVanillaMessage(), and yaze_save_rom().

Here is the call graph for this function:

◆ SetStagingFailureForTesting()

void yaze::Rom::SetStagingFailureForTesting ( bool fail)
static

Definition at line 414 of file rom.cc.

References vector().

Here is the call graph for this function:

◆ Expand()

◆ Close()

void yaze::Rom::Close ( )
inline

Definition at line 101 of file rom.h.

References AdvanceObjectTileRevision(), copier_header_, copier_header_reason_, yaze::kNone, lyra_attributed_at_load_, rom_data_, size_, and vector().

Here is the call graph for this function:

◆ ReadByte()

absl::StatusOr< uint8_t > yaze::Rom::ReadByte ( int offset) const

Definition at line 785 of file rom.cc.

References rom_data_, and vector().

Referenced by yaze::zelda3::draw_routines::anonymous_namespace{special_routines.cc}::BombableFloorRoomId(), yaze::zelda3::BuildDungeonMapWritePlan(), yaze::zelda3::TitleScreen::BuildTileset(), yaze::cli::agent::tools::PatchCheckTool::CheckHooks(), yaze::cli::handlers::anonymous_namespace{dungeon_commands.cc}::CollectRoomHeaderWriteRanges(), yaze::zelda3::OverworldMapScreen::Create(), yaze::zelda3::music::MusicBank::DetectExpandedMusicPatch(), yaze::test::ZSCustomOverworldTestSuite::DrawConfiguration(), yaze::zelda3::draw_routines::anonymous_namespace{special_routines.cc}::DrawDamWaterFlooring(), getOverworldMapInfo(), yaze::zelda3::draw_routines::anonymous_namespace{special_routines.cc}::LightBeamFloorRoomId(), yaze::zelda3::Room::LoadAnimatedGraphics(), yaze::zelda3::LoadDungeonMaps(), yaze::zelda3::LoadEntrances(), yaze::zelda3::LoadGfxGroups(), yaze::zelda3::LoadHoles(), yaze::zelda3::LoadItems(), yaze::zelda3::OverworldMapScreen::LoadMapData(), yaze::editor::PolyhedralEditorPanel::LoadShapes(), yaze::zelda3::TitleScreen::LoadTitleScreen(), ReadHelper(), readRomBytes(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::ResolveDoorTypeTarget(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::ResolveDungeonPaletteRoomMapping(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::ResolveRoomHeaderPcStrict(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::ResolveRuntimePotItemStream(), yaze::test::E2ETestSuite::RunCorruptionDetectionTest(), yaze::test::E2ETestSuite::RunDataIntegrityTest(), yaze::test::ZSCustomOverworldTestSuite::RunDataIntegrityTest(), yaze::test::ZSCustomOverworldTestSuite::RunFeatureToggleTest(), yaze::test::E2ETestSuite::RunLargeScaleEditingTest(), yaze::test::RomDependentTestSuite::RunRomDataAccessTest(), yaze::test::E2ETestSuite::RunTransactionSystemTest(), yaze::test::ZSCustomOverworldTestSuite::RunV2UpgradeTest(), yaze::test::ZSCustomOverworldTestSuite::RunV3UpgradeTest(), yaze::test::ZSCustomOverworldTestSuite::RunVanillaBaselineTest(), yaze::zelda3::TitleScreen::Save(), yaze::zelda3::SaveExits(), yaze::zelda3::SaveItems(), yaze::zelda3::music::anonymous_namespace{music_bank.cc}::UpdateBankPointerRegisters(), yaze::editor::anonymous_namespace{dungeon_editor_v2_connection_edits.cc}::ValidateConnectionRoomSource(), yaze::cli::agent::tools::RomValidateTool::ValidateHeader(), yaze::editor::anonymous_namespace{editor_manager_project_io.cc}::ValidateRomAddressOverrides(), yaze::cli::agent::tools::DataValidateTool::ValidateSprites(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::ValidateSupportedDungeonPaletteRom(), yaze::editor::anonymous_namespace{dungeon_editor_v2_room_transfer.cc}::ValidateTransferHeaderOwnership(), yaze::test::ZSCustomOverworldTestSuite::ValidateVersionAddresses(), yaze::cli::handlers::ToolsExtractGoldenCommandHandler::WriteASMVersionInfo(), and yaze::Transaction::WriteByte().

Here is the call graph for this function:

◆ ReadWord()

absl::StatusOr< uint16_t > yaze::Rom::ReadWord ( int offset) const

Definition at line 793 of file rom.cc.

References rom_data_, and vector().

Referenced by yaze::zelda3::ObjectTileEditor::ApplyStandardWritePlan(), yaze::zelda3::draw_routines::anonymous_namespace{special_routines.cc}::BombableFloorRoomId(), yaze::zelda3::ObjectTileEditor::BuildStandardWritePlan(), yaze::zelda3::TitleScreen::BuildTileset(), yaze::zelda3::ObjectTileEditor::CaptureEditableObjectLayout(), yaze::cli::handlers::anonymous_namespace{dungeon_commands.cc}::CollectRoomHeaderWriteRanges(), yaze::zelda3::OverworldMapScreen::Create(), yaze::cli::handlers::EntranceInfoCommandHandler::Execute(), yaze::cli::handlers::OverworldExportGraphCommandHandler::Execute(), yaze::editor::HasOracleCrumbleTag(), yaze::zelda3::draw_routines::anonymous_namespace{special_routines.cc}::LightBeamFloorRoomId(), yaze::zelda3::LoadDungeonMaps(), yaze::zelda3::LoadDungeonMapTile16(), yaze::zelda3::LoadEntrances(), yaze::zelda3::LoadEntranceTileTypes(), yaze::zelda3::LoadGfxGroups(), yaze::zelda3::LoadHoles(), yaze::zelda3::Inventory::LoadItemIcons(), yaze::zelda3::draw_routines::anonymous_namespace{special_routines.cc}::LoadMovingWallFillTiles(), yaze::zelda3::draw_routines::anonymous_namespace{special_routines.cc}::LoadRoomDrawObjectTiles(), yaze::zelda3::TitleScreen::LoadTitleScreen(), yaze::zelda3::ObjectDimensionTable::ParseSubtype1Tables(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::ReadDungeonPaletteColor(), ReadHelper(), yaze::zelda3::ReadMap16Tiles(), ReadTile16(), yaze::zelda3::anonymous_namespace{dungeon_stream_allocator.cc}::ReadWordAt(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::ResolveDoorTypeTarget(), yaze::zelda3::Room::ResolveDungeonPaletteId(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::ResolveDungeonPaletteRoomMapping(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::ResolveRoomHeaderPcStrict(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::ResolveRuntimePotItemStream(), yaze::test::RomDependentTestSuite::RunRomDataAccessTest(), yaze::test::E2ETestSuite::RunTransactionSystemTest(), yaze::zelda3::SaveExits(), yaze::cli::agent::tools::RomValidateTool::ValidateChecksum(), yaze::editor::anonymous_namespace{dungeon_editor_v2_connection_edits.cc}::ValidateConnectionRoomSource(), yaze::cli::agent::tools::DataValidateTool::ValidateEntrances(), yaze::cli::agent::tools::DataValidateTool::ValidateTiles(), yaze::editor::anonymous_namespace{dungeon_editor_v2_room_transfer.cc}::ValidateTransferHeaderOwnership(), yaze::editor::anonymous_namespace{dungeon_editor_v2_room_transfer.cc}::ValidateTransferTorchSource(), yaze::Transaction::WriteColor(), and yaze::Transaction::WriteWord().

Here is the call graph for this function:

◆ ReadLong()

◆ ReadByteVector()

◆ ReadTile16()

absl::StatusOr< gfx::Tile16 > yaze::Rom::ReadTile16 ( uint32_t tile16_id,
uint32_t tile16_ptr )

Definition at line 821 of file rom.cc.

References ASSIGN_OR_RETURN, ReadWord(), vector(), and yaze::gfx::WordToTileInfo().

Referenced by yaze::editor::Tile16EditSession::ReadDocumentTile().

Here is the call graph for this function:

◆ WriteTile16()

absl::Status yaze::Rom::WriteTile16 ( int tile16_id,
uint32_t tile16_ptr,
const gfx::Tile16 & tile )

◆ WriteByte()

absl::Status yaze::Rom::WriteByte ( int addr,
uint8_t value )

◆ WriteWord()

absl::Status yaze::Rom::WriteWord ( int addr,
uint16_t value )

◆ WriteShort()

◆ WriteLong()

absl::Status yaze::Rom::WriteLong ( uint32_t addr,
uint32_t value )

◆ WriteVector()

◆ WriteColor()

absl::Status yaze::Rom::WriteColor ( uint32_t address,
const gfx::SnesColor & color )

Definition at line 959 of file rom.cc.

References yaze::gfx::SnesColor::snes(), vector(), and WriteWord().

Referenced by yaze::Transaction::WriteColor(), and WriteHelper().

Here is the call graph for this function:

◆ WriteTransaction()

template<typename... Args>
absl::Status yaze::Rom::WriteTransaction ( Args... args)
inline

Definition at line 132 of file rom.h.

References WriteHelper().

Here is the call graph for this function:

◆ ReadTransaction()

template<typename T , typename... Args>
absl::Status yaze::Rom::ReadTransaction ( T & var,
int address,
Args &&... args )
inline

Definition at line 139 of file rom.h.

References ReadTransaction(), and vector().

Referenced by yaze::zelda3::LoadExits(), and ReadTransaction().

Here is the call graph for this function:

◆ WriteHelper()

absl::Status yaze::Rom::WriteHelper ( const WriteAction & action)
virtual

Definition at line 965 of file rom.cc.

References yaze::Rom::WriteAction::address, yaze::Rom::WriteAction::value, WriteByte(), WriteColor(), WriteShort(), and WriteVector().

Referenced by WriteTransaction().

Here is the call graph for this function:

◆ ReadHelper()

template<typename T >
absl::Status yaze::Rom::ReadHelper ( T & var,
int address )
inline

Definition at line 161 of file rom.h.

References ReadByte(), ReadByteVector(), ReadWord(), and vector().

Here is the call graph for this function:

◆ operator[]()

Definition at line 181 of file rom.h.

References rom_data_, and size_.

◆ is_loaded()

bool yaze::Rom::is_loaded ( ) const
inline

Definition at line 187 of file rom.h.

References rom_data_.

Referenced by yaze::editor::RomLifecycleManager::ActivateRomIdentity(), yaze::editor::DungeonCanvasViewer::AddLoadedRoomContextMenuItems(), yaze::cli::handlers::anonymous_namespace{message_commands.cc}::AddVanillaApplyPreflight(), yaze::editor::ObjectTileEditorPanel::AnalyzeSourceImpactSnapshot(), yaze::zelda3::ObjectTileEditor::AnalyzeStandardTileSourceImpact(), yaze::net::CollaborationService::ApplyDiff(), yaze::zelda3::ApplyDungeonStreamWritePlan(), yaze::core::PatchManager::ApplyEnabledPatches(), yaze::gfx::ZsprLoader::ApplyPaletteToRom(), yaze::cli::Tile16ProposalGenerator::ApplyProposal(), yaze::net::CollaborationService::ApplyRomSync(), yaze::editor::LinkSpritePanel::ApplySelectedPalette(), yaze::zelda3::ObjectTileEditor::ApplyStandardWritePlan(), yaze::gfx::ZsprLoader::ApplyToRom(), yaze::editor::ApplyVanillaMessageSavePlan(), yaze::zelda3::anonymous_namespace{resolved_graphics_context.cc}::AttachIdentity(), yaze::cli::agent::anonymous_namespace{conversational_agent_service.cc}::BuildAutoOracleStateHook(), yaze::editor::MinecartTrackEditorPanel::BuildCollisionPreview(), yaze::editor::DungeonCanvasViewer::BuildDrawIssueReport(), yaze::zelda3::BuildGfxSheetInventory(), yaze::editor::anonymous_namespace{dungeon_canvas_issue_report.cc}::BuildObjectTraceReport(), yaze::zelda3::BuildOverworldAllocationReport(), yaze::editor::anonymous_namespace{dungeon_canvas_issue_report.cc}::BuildReportSessionSummary(), yaze::editor::DungeonWorkbenchContent::BuildRoomDungeonCache(), yaze::zelda3::ObjectTileEditor::BuildStandardWritePlan(), yaze::emu::render::SaveStateManager::CalculateRomChecksum(), yaze::zelda3::CalculateRoomSize(), yaze::zelda3::ObjectTileEditor::CaptureEditableObjectLayout(), yaze::zelda3::ObjectTileEditor::CaptureObjectLayout(), yaze::editor::RomSession::CaptureRomIdentity(), yaze::editor::anonymous_namespace{map_properties.cc}::CheckFieldSupported(), yaze::editor::RomLifecycleManager::CheckOracleRomSafetyPreSave(), yaze::editor::RomLifecycleManager::CheckRomOpenPolicy(), yaze::editor::RomLifecycleManager::CheckRomRebindPolicy(), yaze::editor::anonymous_namespace{dungeon_editor_v2_persistence.cc}::CollectDirtyCustomCollisionWriteRanges(), yaze::editor::anonymous_namespace{dungeon_editor_v2_persistence.cc}::CollectDirtyPotItemWriteRanges(), yaze::editor::anonymous_namespace{dungeon_editor_v2_persistence.cc}::CollectDirtyWaterFillWriteRanges(), yaze::zelda3::atlas::CollectDungeonAtlasInput(), yaze::zelda3::CollectOverworldAreaGfx(), yaze::zelda3::CollectRoomCensusInput(), yaze::zelda3::CollectRoomLinkFacts(), yaze::editor::DungeonEditorV2::CollectWriteRanges(), yaze::editor::EditorManager::CompactPendingUnsavedWorkLabel(), yaze::cli::agent::tools::ProjectToolUtils::ComputeRomChecksum(), yaze::net::RomVersionManager::ComputeRomHash(), yaze::zelda3::ComputeRoomDefaultEntrances(), yaze::zelda3::ComputeRoomFingerprints(), yaze::editor::usage_preview::Tile16UsagePreview::Configure(), yaze::editor::usage_preview::SpriteUsagePreview::Configure(), yaze::editor::DungeonEditorV2::ConfigureViewerUndoHooks(), yaze::zelda3::Room::CopyRoomGraphicsToBuffer(), yaze::zelda3::OverworldMapScreen::Create(), yaze::zelda3::Inventory::Create(), yaze::zelda3::TitleScreen::Create(), yaze::cli::RomSandboxManager::CreateSandbox(), yaze::net::RomVersionManager::CreateSnapshot(), yaze::test::TestManager::CreateTestRomCopy(), yaze::editor::OracleValidationPanel::DefaultRomPath(), yaze::zelda3::DescribeMainGroupUsage(), yaze::editor::EditorManager::DescribePendingUnsavedWork(), yaze::zelda3::DescribeRoomsetUsage(), yaze::net::RomVersionManager::DetectCorruption(), yaze::zelda3::DiggableTilesPatch::DetectZSDiggingHooks(), yaze::editor::UsagePreviewView::Draw(), yaze::editor::DashboardPanel::Draw(), yaze::editor::CustomCollisionPanel::Draw(), yaze::editor::ObjectCoveragePanel::Draw(), yaze::editor::WaterFillPanel::Draw(), yaze::editor::DungeonWorkbenchContent::Draw(), yaze::editor::LinkSpritePanel::Draw(), yaze::editor::PolyhedralEditorPanel::Draw(), yaze::zelda3::RoomLayout::Draw(), yaze::editor::OracleValidationPanel::DrawActionButtons(), yaze::editor::AssemblyEditor::DrawBuildOutput(), yaze::editor::GraphicsEditor::DrawClipboardImport(), yaze::test::E2ETestSuite::DrawConfiguration(), yaze::test::RomDependentTestSuite::DrawConfiguration(), yaze::test::ZSCustomOverworldTestSuite::DrawConfiguration(), yaze::editor::DungeonCanvasViewer::DrawConnectedRoomMatrix(), yaze::editor::DungeonCanvasViewer::DrawConnectedToolbarControls(), yaze::editor::PaletteGroupPanel::DrawContent(), yaze::zelda3::ObjectDrawer::DrawDoor(), yaze::editor::DungeonRoomSelector::DrawEntranceSelectorInternal(), yaze::editor::DungeonWorkbenchContent::DrawInspectorShelfRoom(), yaze::editor::EditorManager::DrawInterface(), yaze::zelda3::ObjectDrawer::DrawObject(), yaze::editor::OverworldCanvasRenderer::DrawOverworldCanvas(), yaze::editor::SettingsPanel::DrawPatchSettings(), yaze::editor::DungeonCanvasViewer::DrawPersistentDebugWindows(), yaze::editor::SettingsPanel::DrawProjectSettings(), yaze::editor::DungeonCanvasViewer::DrawProposalPreview(), yaze::editor::GraphicsEditor::DrawPrototypeViewer(), yaze::editor::PopupManager::DrawRomBackupManagerPopup(), yaze::editor::ProjectManagementPanel::DrawRomManagement(), yaze::editor::StatusBar::DrawRomSegment(), yaze::zelda3::ObjectDrawer::DrawRoomDrawObjectData2x2(), yaze::editor::DungeonRoomSelector::DrawRoomSelectorInternal(), yaze::editor::PopupManager::DrawSaveAsPopup(), yaze::editor::UICoordinator::DrawSessionButton(), yaze::editor::PopupManager::DrawSessionManagerPopup(), yaze::editor::SpriteEditor::DrawSpritesetPicker(), yaze::editor::GfxGroupEditor::DrawSpritesetUsage(), yaze::editor::AgentEditor::DrawStatusPanel(), yaze::test::TestManager::DrawTestDashboard(), yaze::editor::MusicEditor::DrawToolset(), yaze::editor::UICoordinator::DrawWelcomeScreen(), yaze::gui::FlagsMenu::DrawZSCustomOverworldFlags(), yaze::editor::GfxGroupEditor::EditGraphicsSheet(), yaze::editor::DungeonEditorV2::EditRoomGraphicsSheet(), yaze::editor::DungeonEditorV2::EnsureConnectionRoomLoaded(), yaze::gui::DungeonObjectEmulatorPreview::EnsureInitialized(), yaze::emu::Emulator::EnsureInitialized(), yaze::cli::agent::anonymous_namespace{general_commands.cc}::EnsureRomLoaded(), yaze::editor::DungeonCanvasViewer::EnsureRoomLoadedForConnectedView(), yaze::editor::DungeonEditorV2::EnsureRoomTransferLoaded(), yaze::editor::UsagePreviewView::EnsureTables(), yaze::cli::MessageDoctorCommandHandler::Execute(), yaze::cli::handlers::DungeonTileTypesCommandHandler::Execute(), yaze::cli::handlers::MessageImportBundleCommandHandler::Execute(), yaze::cli::GfxSheetInventoryCommandHandler::Execute(), yaze::cli::GraphicsContextCommandHandler::Execute(), yaze::cli::handlers::RomInfoCommandHandler::Execute(), yaze::cli::handlers::RomValidateCommandHandler::Execute(), yaze::cli::GraphicsDoctorCommandHandler::Execute(), yaze::cli::OverworldAllocationCommandHandler::Execute(), yaze::cli::SpriteDoctorCommandHandler::Execute(), yaze::cli::agent::tools::ProjectStatusTool::Execute(), yaze::cli::agent::tools::ProjectSnapshotTool::Execute(), yaze::cli::agent::tools::ProjectRestoreTool::Execute(), yaze::cli::handlers::AtlasRenderCommandHandler::ExecuteWithContext(), yaze::cli::handlers::DungeonRenderCommandHandler::ExecuteWithContext(), yaze::cli::handlers::OverworldSetTileCommandHandler::ExecuteWithContext(), yaze::cli::handlers::OverworldRenderCommandHandler::ExecuteWithContext(), yaze::cli::handlers::OverworldSpriteEditCommandHandler::ExecuteWithContext(), yaze::cli::ResourceContextBuilder::ExportToJson(), yaze::cli::ResourceContextBuilder::ExtractDungeonLabels(), yaze::cli::ResourceContextBuilder::ExtractEntranceLabels(), yaze::cli::ResourceContextBuilder::ExtractOverworldLabels(), yaze::cli::ResourceContextBuilder::ExtractRoomLabels(), yaze::cli::ResourceContextBuilder::ExtractSpriteLabels(), yaze::zelda3::FindMaxUsedSpriteAddress(), yaze::cli::agent::tools::SpritesheetAnalysisTool::FindUnusedRegions(), yaze::rom::HyruleMagicValidator::FixChecksum(), yaze::net::CollaborationService::GenerateDiff(), yaze::cli::Tile16ProposalGenerator::GenerateDiff(), yaze::zelda3::RoomLinkFactsCache::Get(), yaze::editor::DungeonCanvasViewer::GetCollisionOverlayCache(), yaze::net::RomVersionManager::GetCurrentHash(), yaze::editor::DungeonEditorV2::GetDungeonRenderContextCensus(), getFileManagerDebugInfo(), getGraphicsDiagnostics(), yaze::cli::ResourceContextBuilder::GetLabels(), yaze::zelda3::RoomLayout::GetLayoutAddress(), yaze::emu::InternalEmulatorAdapter::GetLoadedRomPath(), yaze::editor::DungeonObjectSelector::GetOrCreatePreview(), getOverworldMapInfo(), getOverworldTileInfo(), getRomPaletteGroup(), getRomStatus(), yaze::editor::DungeonEditorV2::GetRomStatus(), yaze::editor::OverworldEditor::GetRomStatus(), yaze::editor::RoomMatrixContent::GetRoomColor(), yaze::editor::DungeonEditorV2::GetRoomGraphicsUsage(), yaze::editor::RoomMatrixContent::GetRoomMetadata(), yaze::cli::agent::HandleCommitCommand(), yaze::cli::agent::HandleDiffCommand(), yaze::cli::agent::ConversationalAgentService::HandleExternalResponse(), yaze::cli::HandleGfxExportLegacy(), yaze::cli::HandleGfxImportLegacy(), yaze::cli::message::HandleMessageListCommand(), yaze::cli::message::HandleMessageReadCommand(), yaze::cli::message::HandleMessageSearchCommand(), yaze::cli::message::HandleMessageStatsCommand(), yaze::cli::HandlePaletteExportLegacy(), yaze::cli::HandlePaletteImportLegacy(), yaze::cli::agent::HandleRevertCommand(), yaze::rom::HyruleMagicValidator::HasBank00Erasure(), yaze::editor::RomSession::HasPendingGfxGroupChanges(), yaze::net::CollaborationService::HostSession(), yaze::editor::LinkSpritePanel::ImportZspr(), yaze::emu::render::EmulatorRenderService::Initialize(), yaze::cli::resources::CommandContext::Initialize(), yaze::editor::DungeonEditorV2::Initialize(), yaze::editor::ScreenEditor::Initialize(), yaze::editor::PaletteEditor::Initialize(), yaze::editor::SpriteEditor::Initialize(), yaze::net::CollaborationService::Initialize(), yaze::rom::HyruleMagicValidator::IsParallelWorlds(), yaze::editor::DungeonEditorV2::IsRomLoaded(), yaze::editor::OverworldEditor::IsRomLoaded(), yaze::editor::RomFileManager::IsRomLoaded(), yaze::net::CollaborationService::JoinSession(), yaze::editor::DungeonEditorV2::Load(), yaze::editor::ScreenEditor::Load(), yaze::editor::MusicEditor::Load(), yaze::editor::OverworldEditor::Load(), yaze::editor::SpriteEditor::Load(), yaze::zelda3::DungeonSpawnPoint::Load(), yaze::editor::DungeonRoomLoader::LoadAllRooms(), yaze::editor::DungeonCanvasViewer::LoadAndRenderRoomGraphics(), yaze::editor::DungeonRoomLoader::LoadAndRenderRoomGraphics(), yaze::zelda3::Room::LoadAnimatedGraphics(), yaze::zelda3::Room::LoadChests(), yaze::zelda3::LoadCustomCollisionMap(), yaze::editor::DungeonRoomLoader::LoadDungeonSpawnPoints(), yaze::zelda3::music::MusicBank::LoadFromRom(), yaze::zelda3::ObjectDimensionTable::LoadFromRom(), yaze::zelda3::PitDamageTable::LoadFromRom(), yaze::zelda3::Room::LoadLayoutTilesToBuffer(), yaze::zelda3::LoadLegacyWaterGateZones(), yaze::editor::LinkSpritePanel::LoadLinkSheets(), yaze::zelda3::Room::LoadPotItems(), yaze::cli::handlers::anonymous_namespace{message_commands.cc}::LoadProjectMutationContext(), yaze::editor::EditorManager::LoadProjectWithRom(), yaze::net::EmulatorServiceImpl::LoadRom(), yaze::cli::agent::anonymous_namespace{conversation_test.cc}::LoadRomForAgent(), yaze::editor::DungeonRoomLoader::LoadRoom(), yaze::editor::DungeonRoomLoader::LoadRoomEntrances(), yaze::zelda3::LoadRoomHeaderFromRom(), yaze::editor::PolyhedralEditorPanel::LoadShapes(), yaze::editor::SpriteEditor::LoadSpritePalettes(), yaze::zelda3::LoadWaterFillTable(), main(), yaze::editor::EditorManager::MaybeEmitZScreamRomLoadHints(), yaze::editor::MenuOrchestrator::OnApplyBpsPatch(), yaze::editor::MenuOrchestrator::OnCheckRomVersion(), yaze::editor::MenuOrchestrator::OnExportBpsPatch(), yaze::Controller::OnLoad(), yaze::editor::MenuOrchestrator::OnToggleAsarPatch(), yaze::editor::RomLoadOptionsDialog::Open(), yaze::editor::ScreenEditor::OpenDungeonMapTileGraphics(), yaze::editor::DungeonEditorV2::OpenGraphicsEditorForObject(), yaze::editor::OverworldEditor::OpenGraphicsForTile16Quadrant(), yaze::editor::MessageEditor::OpenMessageById(), yaze::editor::DungeonEditorV2::OpenObjectTileEditorForObject(), yaze::editor::SpriteEditor::OpenSelectedOamGraphics(), yaze::cli::Tile16ProposalGenerator::ParseReplaceTileCommand(), yaze::cli::Tile16ProposalGenerator::ParseSetAreaCommand(), yaze::cli::Tile16ProposalGenerator::ParseSetTileCommand(), yaze::zelda3::music::SpcParser::ParseSong(), yaze::zelda3::music::SpcParser::ParseTrackInternal(), yaze::editor::DungeonEditorV2::PlanPendingRoomStreamRanges(), yaze::editor::SheetBrowserPanel::PngPalette(), yaze::editor::DungeonEditorV2::PreflightObjectMutation(), yaze::editor::DungeonEditorV2::PreflightPotItemPlacement(), yaze::editor::OverworldCanvasRenderer::PrepareContextMenu(), yaze::editor::ScreenEditor::PrepareDungeonMapSave(), yaze::editor::GraphicsEditor::PrepareGraphicsSave(), yaze::editor::DungeonCanvasViewer::PrepareRoomCompositeWithOutput(), yaze::editor::DungeonCanvasViewer::PrepareRoomStateForCanvas(), yaze::editor::DungeonEditorV2::PreviewDoorConnection(), yaze::editor::QuickExportBPS(), yaze::editor::QuickExportIPS(), yaze::zelda3::anonymous_namespace{dungeon_stream_allocator.cc}::ReadFixedBankRoomStream(), readRomBytes(), yaze::zelda3::music::SpcParser::ReadSongPointerTable(), yaze::editor::MinecartTrackEditorPanel::RebuildAuditCache(), yaze::editor::ObjectCoveragePanel::RebuildIndex(), yaze::test::TestManager::RefreshCurrentRom(), yaze::editor::DungeonEditorV2::RefreshEntranceDirtyState(), yaze::editor::SheetBrowserPanel::RefreshInventory(), yaze::editor::DungeonEditorV2::RefreshRomBackedState(), yaze::editor::DungeonEditorV2::RefreshSelectionEditViews(), yaze::editor::DungeonRoomLoader::ReloadAllRoomGraphics(), yaze::zelda3::RelocateSpriteData(), yaze::gui::DungeonObjectEmulatorPreview::Render(), yaze::editor::usage_preview::RoomUsagePreview::Render(), yaze::app::service::RenderService::RenderDungeonRoom(), yaze::zelda3::Room::RenderObjectsToBackground(), yaze::app::service::RenderService::RenderOverworldArea(), yaze::editor::OverworldEditor::RequestTile16Selection(), yaze::editor::DungeonEditorV2::ResolveDungeonRenderContextForRoom(), yaze::editor::MenuTilemapEditorUI::ResolvePaletteSource(), yaze::editor::EditorManager::ResolveProjectBuildCommand(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::ResolveRuntimePotItemStream(), yaze::editor::MenuTilemapEditorUI::ResolveSources(), yaze::editor::AssemblyEditor::ResolveZ3DisasmOutputDir(), yaze::editor::AssemblyEditor::ResolveZ3DisasmRomPath(), yaze::editor::DungeonEditorV2::RestoreRoomEntities(), yaze::cli::agent::tools::ProjectManager::RestoreSnapshot(), yaze::net::RomVersionManager::RestoreSnapshot(), yaze::zelda3::RoomEntrance::RoomEntrance(), yaze::zelda3::RoomLinkFactsCache::RoomLinkFactsCache(), yaze::emu::Emulator::Run(), yaze::zelda3::RunOracleRomSafetyPreflight(), yaze::test::IntegratedTestSuite::RunRomBasicTest(), yaze::test::DungeonEditorTestSuite::RunTests(), yaze::test::E2ETestSuite::RunTests(), yaze::test::GraphicsEditorTestSuite::RunTests(), yaze::test::OverworldEditorTestSuite::RunTests(), yaze::test::RomDependentTestSuite::RunTests(), yaze::test::ZSCustomOverworldTestSuite::RunTests(), yaze::editor::DungeonEditorV2::RunWithSaveTransaction(), yaze::editor::DungeonEditorV2::Save(), yaze::editor::GraphicsEditor::Save(), yaze::editor::PaletteEditor::Save(), yaze::zelda3::TitleScreen::Save(), yaze::zelda3::RoomEntrance::Save(), yaze::zelda3::DungeonSpawnPoint::Save(), yaze::zelda3::SaveAllDungeonEntrances(), yaze::zelda3::SaveAllDungeonSpawnPoints(), yaze::zelda3::Overworld::SaveCustomOverworldData(), yaze::editor::SaveRomWithCollisionSource(), yaze::zelda3::music::MusicBank::SaveToRom(), yaze::zelda3::PitDamageTable::SaveToRom(), yaze::editor::anonymous_namespace{dungeon_editor_v2_persistence.cc}::SaveWaterFillZones(), yaze::editor::UsagePreviewView::ScanSharedUses(), yaze::cli::agent::ConversationalAgentService::SendMessage(), yaze::test::TestManager::SetCurrentRom(), yaze::editor::ShowPatchExportDialog(), yaze::net::CollaborationService::SubmitChangesAsProposal(), switchToEditor(), switchToEditorAsync(), yaze::test::TestManager::TestRomDataIntegrity(), yaze::test::TestManager::TestRomSaveLoad(), yaze::test::TestManager::TestRomWithCopy(), yaze::editor::usage_preview::RoomUsagePreview::TraceLoadedRoom(), yaze::gui::DungeonObjectEmulatorPreview::TriggerEmulatedRender(), yaze::gui::DungeonObjectEmulatorPreview::TriggerStaticRender(), yaze::editor::LinkSpritePanel::Update(), yaze::editor::PolyhedralEditorPanel::Update(), yaze::editor::OverworldEditor::Update(), yaze::editor::RoomMatrixCensusOverlay::Update(), yaze::editor::OverworldEditor::UpdateGfxGroupEditor(), yaze::editor::SessionCoordinator::UpdateSessions(), yaze::zelda3::anonymous_namespace{dungeon_stream_allocator.cc}::ValidateAndNormalizeLayout(), yaze::editor::anonymous_namespace{dungeon_editor_v2_persistence.cc}::ValidateDungeonEntranceSavePreflight(), yaze::editor::ValidateRomCollisionSourceBinding(), yaze::net::RomVersionManager::ValidateRomIntegrity(), yaze::editor::DungeonCanvasViewer::ValidateRoomCanvasRequest(), yaze::editor::WriteExpandedTextData(), yaze::zelda3::WriteGfxSheet(), yaze::zelda3::WriteTrackCollision(), yaze::cli::handlers::anonymous_namespace{message_commands.cc}::WriteVanillaMessage(), and yaze::zelda3::WriteWaterFillTable().

◆ dirty()

◆ set_dirty()

◆ ClearDirty()

void yaze::Rom::ClearDirty ( )
inline

Definition at line 190 of file rom.h.

References dirty_.

◆ object_tile_revision()

◆ AdvanceObjectTileRevision()

void yaze::Rom::AdvanceObjectTileRevision ( )
inline

◆ title()

auto yaze::Rom::title ( ) const
inline

Definition at line 199 of file rom.h.

References title_.

Referenced by yaze::editor::anonymous_namespace{dungeon_canvas_issue_report.cc}::BuildRomDisplayName(), yaze::test::TestManager::CreateTestRomCopy(), yaze::test::E2ETestSuite::DrawConfiguration(), yaze::test::RomDependentTestSuite::DrawConfiguration(), yaze::test::ZSCustomOverworldTestSuite::DrawConfiguration(), yaze::editor::ProjectManagementPanel::DrawRomManagement(), yaze::test::TestManager::DrawTestDashboard(), yaze::cli::handlers::OverworldExportGraphCommandHandler::Execute(), yaze::cli::handlers::RomInfoCommandHandler::Execute(), yaze::cli::handlers::RomValidateCommandHandler::Execute(), yaze::cli::agent::tools::RomChangesTool::Execute(), yaze::editor::RomSession::GetDisplayName(), getFileManagerDebugInfo(), getRomStatus(), yaze::editor::DungeonEditorV2::GetRomStatus(), yaze::editor::OverworldEditor::GetRomStatus(), yaze::cli::agent::HandleTestConversationCommand(), yaze::net::EmulatorServiceImpl::LoadRom(), yaze::editor::RomFileManager::LoadRomFromFile(), yaze::editor::MenuOrchestrator::OnCheckRomVersion(), yaze::Controller::OnLoad(), yaze::test::TestManager::RefreshCurrentRom(), yaze::test::RomDependentTestSuite::RunComprehensiveSaveTest(), yaze::test::IntegratedTestSuite::RunRomBasicTest(), yaze::test::RomDependentTestSuite::RunRomHeaderValidationTest(), yaze::test::RomDependentTestSuite::RunTests(), yaze::test::RomDependentTestSuite::RunTile16EditorTest(), yaze::test::TestManager::SetCurrentRom(), yaze::test::TestManager::TestRomDataIntegrity(), yaze::test::TestManager::TestRomSaveLoad(), yaze::cli::agent::tools::RomValidateTool::ValidateHeader(), yaze::editor::RomFileManager::ValidateRom(), and yaze::cli::handlers::ToolsExtractGoldenCommandHandler::WriteBasicROMInfo().

◆ size()

auto yaze::Rom::size ( ) const
inline

Definition at line 200 of file rom.h.

References size_.

Referenced by yaze::zelda3::ObjectTileEditor::AnalyzeStandardTileSourceImpact(), yaze::zelda3::ApplyDungeonStreamWritePlan(), yaze::zelda3::ObjectTileEditor::ApplyStandardWritePlan(), yaze::cli::anonymous_namespace{overworld_doctor_commands.cc}::ApplyTailExpansion(), yaze::editor::ApplyVanillaMessageSavePlan(), yaze::zelda3::BuildDungeonMapWritePlan(), yaze::zelda3::Overworld::BuildLyraTerrainPreview(), yaze::zelda3::BuildOverworldAllocationReport(), yaze::editor::anonymous_namespace{dungeon_canvas_issue_report.cc}::BuildReportSessionSummary(), yaze::zelda3::ObjectTileEditor::BuildStandardWritePlan(), yaze::emu::render::SaveStateManager::CalculateRomChecksum(), yaze::zelda3::CalculateRoomSize(), yaze::zelda3::ObjectTileEditor::CaptureEditableObjectLayout(), yaze::editor::RomSession::CaptureRomIdentity(), yaze::zelda3::parity::CaptureRomSha1(), yaze::zelda3::anonymous_namespace{overworld_allocation.cc}::CheckBlankStream(), yaze::cli::anonymous_namespace{sprite_doctor_commands.cc}::CheckCommonSpriteIssues(), yaze::cli::anonymous_namespace{rom_doctor_commands.cc}::CheckCorruptionHeuristics(), yaze::cli::agent::tools::PatchCheckTool::CheckFreeSpace(), yaze::cli::agent::tools::PatchCheckTool::CheckHooks(), yaze::editor::OverworldEditor::CheckRomReplacement(), yaze::zelda3::CheckTailMapExpansion(), yaze::cli::anonymous_namespace{rom_doctor_commands.cc}::CheckZScreamHeuristics(), yaze::editor::anonymous_namespace{dungeon_editor_v2_persistence.cc}::CollectDirtyCustomCollisionWriteRanges(), yaze::editor::anonymous_namespace{dungeon_editor_v2_persistence.cc}::CollectDirtyWaterFillWriteRanges(), yaze::zelda3::atlas::CollectDungeonAtlasInput(), yaze::cli::handlers::anonymous_namespace{dungeon_commands.cc}::CollectRoomHeaderWriteRanges(), yaze::cli::agent::tools::ProjectToolUtils::ComputeRomChecksum(), yaze::net::RomVersionManager::ComputeRomHash(), yaze::editor::DungeonEditorV2::ConfigureViewerUndoHooks(), yaze::zelda3::anonymous_namespace{overworld_allocation.cc}::CountSpriteList(), yaze::net::RomVersionManager::CreateSnapshot(), yaze::zelda3::anonymous_namespace{dungeon_stream_allocator.cc}::DecodePointer(), yaze::editor::GraphicsEditor::DecompressImportData(), yaze::editor::GraphicsEditor::DecompressSuperDonkey(), yaze::zelda3::DescribeMainGroupUsage(), yaze::zelda3::DescribeRoomsetUsage(), yaze::net::RomVersionManager::DetectCorruption(), yaze::zelda3::music::MusicBank::DetectExpandedMusicPatch(), yaze::zelda3::DiggableTilesPatch::DetectZSDiggingHooks(), yaze::test::E2ETestSuite::DrawConfiguration(), yaze::test::RomDependentTestSuite::DrawConfiguration(), yaze::zelda3::ObjectDrawer::DrawDoor(), yaze::editor::GraphicsEditor::DrawMemoryEditor(), yaze::editor::SettingsPanel::DrawProjectSettings(), yaze::editor::ProjectManagementPanel::DrawRomManagement(), yaze::cli::agent::EnhancedTUI::DrawSidebar(), yaze::test::TestManager::DrawTestDashboard(), yaze::editor::GraphicsEditor::DrawTilemapImport(), yaze::editor::DungeonEditorV2::EnsureRoomTransferLoaded(), yaze::zelda3::RoomObject::EnsureTilesLoaded(), yaze::cli::handlers::DungeonRoomCensusCommandHandler::Execute(), yaze::cli::handlers::DungeonRoomHeaderCommandHandler::Execute(), yaze::cli::handlers::DungeonSetDoorTypeCommandHandler::Execute(), yaze::cli::handlers::DungeonSetPotItemCommandHandler::Execute(), yaze::cli::handlers::MessageImportBundleCommandHandler::Execute(), yaze::cli::handlers::HexReadCommandHandler::Execute(), yaze::cli::handlers::HexWriteCommandHandler::Execute(), yaze::cli::handlers::HexSearchCommandHandler::Execute(), yaze::cli::handlers::ProjectBundleVerifyCommandHandler::Execute(), yaze::cli::handlers::RomReadCommandHandler::Execute(), yaze::cli::handlers::RomWriteCommandHandler::Execute(), yaze::cli::handlers::RomInfoCommandHandler::Execute(), yaze::cli::handlers::RomValidateCommandHandler::Execute(), yaze::cli::handlers::RomDiffCommandHandler::Execute(), yaze::cli::handlers::RomGenerateGoldenCommandHandler::Execute(), yaze::cli::HexDumpCommandHandler::Execute(), yaze::cli::HexCompareCommandHandler::Execute(), yaze::cli::HexAnnotateCommandHandler::Execute(), yaze::cli::RomDoctorCommandHandler::Execute(), yaze::cli::handlers::ToolsExtractValuesCommandHandler::Execute(), yaze::cli::agent::tools::ProjectStatusTool::Execute(), yaze::cli::agent::tools::RomChangesTool::Execute(), Expand(), yaze::zelda3::anonymous_namespace{gfx_sheet_storage.cc}::FindFreeSpace(), yaze::rom::HyruleMagicValidator::FixChecksum(), yaze::zelda3::OverworldVersionHelper::GetAsmVersion(), yaze::net::RomVersionManager::GetCurrentHash(), getFileManagerDebugInfo(), yaze::zelda3::GetOverworldSpriteRegionEnd(), getRomStatus(), yaze::zelda3::music::SpcParser::GetSpcData(), yaze::zelda3::OverworldVersionHelper::GetVersion(), yaze::cli::agent::HandleAcceptCommand(), yaze::rom::HyruleMagicValidator::HasBank00Erasure(), yaze::zelda3::anonymous_namespace{overworld_entrance.cc}::HasExpandedEntranceTables(), yaze::zelda3::Overworld::HasExpandedPointerTables(), yaze::emu::render::EmulatorRenderService::InjectRoomContext(), yaze::zelda3::anonymous_namespace{overworld_allocation.cc}::InRom(), yaze::zelda3::InspectSpecialEntrances(), yaze::zelda3::InventoryDungeonStreams(), yaze::rom::HyruleMagicValidator::IsParallelWorlds(), yaze::zelda3::IsValidRomAddress(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::IsValidRomRange(), yaze::editor::OverworldEditor::Load(), yaze::zelda3::DungeonSpawnPoint::Load(), yaze::zelda3::Load2BppGraphics(), yaze::zelda3::music::MusicBank::LoadExpandedSongTable(), yaze::editor::MessageEditor::LoadFontGraphics(), yaze::zelda3::LoadGameData(), yaze::zelda3::LoadGraphics(), yaze::zelda3::music::MusicBank::LoadInstruments(), yaze::zelda3::OverworldMap::LoadLyraPreviewProperties(), yaze::zelda3::LoadMetadata(), yaze::zelda3::Room::LoadObjects(), yaze::zelda3::OverworldMap::LoadPalette(), yaze::cli::handlers::anonymous_namespace{message_commands.cc}::LoadProjectMutationContext(), yaze::net::EmulatorServiceImpl::LoadRom(), yaze::zelda3::LoadRoomHeaderFromRom(), yaze::zelda3::music::MusicBank::LoadSamples(), yaze::zelda3::LoadSheetRaw(), yaze::zelda3::Overworld::LoadSpritesFromMap(), yaze::zelda3::OverworldMap::LoadVanillaOverlayData(), yaze::emu::render::EmulatorRenderService::LookupHandlerAddress(), main(), yaze::zelda3::anonymous_namespace{overworld_allocation.cc}::MakeRegion(), yaze::editor::MessageEditor::OpenMessageById(), yaze::zelda3::Room::ParseObjectsFromLocation(), yaze::zelda3::ObjectParser::ParseSubtype1(), yaze::zelda3::ObjectParser::ParseSubtype2(), yaze::zelda3::ObjectParser::ParseSubtype3(), yaze::zelda3::Room::PlanSpriteSave(), yaze::cli::handlers::anonymous_namespace{message_commands.cc}::PlanVanillaEdits(), yaze::cli::handlers::anonymous_namespace{message_commands.cc}::PreflightExpandedMutation(), yaze::zelda3::anonymous_namespace{overworld_allocation.cc}::ReadAsmVersion(), yaze::zelda3::ReadDungeonObjectStream(), yaze::cli::handlers::anonymous_namespace{message_commands.cc}::ReadExpandedMessages(), yaze::cli::handlers::anonymous_namespace{message_commands.cc}::ReadExpandedMessages(), yaze::zelda3::anonymous_namespace{dungeon_stream_allocator.cc}::ReadFixedBankRoomStream(), yaze::zelda3::ReadGfxSheetData(), yaze::zelda3::ReadGfxSheetExtent(), yaze::zelda3::ReadGfxSheetPc(), yaze::cli::anonymous_namespace{rom_doctor_commands.cc}::ReadRomHeader(), yaze::zelda3::ObjectParser::ReadTileData(), yaze::test::TestManager::RefreshCurrentRom(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::ResolveDoorTypeTarget(), yaze::zelda3::anonymous_namespace{game_data.cc}::ResolveGfxGroupTables(), yaze::zelda3::anonymous_namespace{overworld.cc}::ResolveMap32StorageLayout(), yaze::zelda3::ResolveMenuPaletteFromSymbol(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::ResolveRuntimePotItemStream(), yaze::editor::DungeonEditorV2::RestoreChest(), yaze::net::RomVersionManager::RestoreSnapshot(), yaze::zelda3::anonymous_namespace{room_collision.cc}::RomByte(), yaze::test::IntegratedTestSuite::RunRomBasicTest(), yaze::test::RomDependentTestSuite::RunRomHeaderValidationTest(), yaze::test::E2ETestSuite::RunRomLoadSaveTest(), yaze::test::DungeonEditorTestSuite::RunRoomSaveTest(), yaze::test::RomDependentTestSuite::RunTests(), yaze::zelda3::music::MusicBank::SaveSongTable(), yaze::zelda3::anonymous_namespace{overworld_allocation.cc}::ScanAreaMap(), yaze::test::TestManager::ShowRomComparisonResults(), yaze::zelda3::music::SpcParser::SpcAddressToRomOffset(), yaze::test::TestManager::TestRomDataIntegrity(), yaze::gui::DungeonObjectEmulatorPreview::TriggerEmulatedRender(), yaze::gui::DungeonObjectEmulatorPreview::TriggerStaticRender(), yaze::editor::MemoryEditor::Update(), yaze::editor::music::MusicPlayer::UploadSoundBankFromRom(), yaze::zelda3::UsesJapaneseGfxSheetTables(), yaze::zelda3::anonymous_namespace{dungeon_stream_allocator.cc}::ValidateAndNormalizeLayout(), yaze::cli::agent::tools::RomValidateTool::ValidateChecksum(), yaze::gfx::lc_lz2::ValidateCompressionResult(), yaze::gfx::lc_lz2::ValidateCompressionResultV3(), yaze::editor::anonymous_namespace{dungeon_editor_v2_connection_edits.cc}::ValidateConnectionRoomSource(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::ValidateDungeonPaletteWholeRomDiff(), yaze::zelda3::ValidateDungeonSpawnPointForSave(), yaze::cli::anonymous_namespace{rom_doctor_commands.cc}::ValidateExpandedTables(), yaze::cli::anonymous_namespace{overworld_doctor_commands.cc}::ValidateMapPointers(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::ValidateObjectSaveManifestConflicts(), yaze::cli::handlers::anonymous_namespace{dungeon_commands.cc}::ValidateObjectStreamHeaderManifestConflicts(), yaze::zelda3::ValidateRegularDungeonEntranceForSave(), yaze::editor::RomFileManager::ValidateRom(), yaze::editor::anonymous_namespace{editor_manager_project_io.cc}::ValidateRomAddressOverrides(), yaze::net::RomVersionManager::ValidateRomIntegrity(), yaze::cli::anonymous_namespace{sprite_doctor_commands.cc}::ValidateRoomSprites(), yaze::cli::agent::tools::RomValidateTool::ValidateSize(), yaze::cli::anonymous_namespace{sprite_doctor_commands.cc}::ValidateSpritePointerTable(), yaze::cli::agent::tools::DataValidateTool::ValidateSprites(), yaze::cli::anonymous_namespace{sprite_doctor_commands.cc}::ValidateSpritesets(), yaze::cli::anonymous_namespace{overworld_validate_commands.cc}::ValidateTile16Region(), yaze::editor::anonymous_namespace{dungeon_editor_v2_room_transfer.cc}::ValidateTransferHeaderOwnership(), yaze::editor::anonymous_namespace{dungeon_editor_v2_room_transfer.cc}::ValidateTransferTorchSource(), yaze::zelda3::anonymous_namespace{gfx_sheet_storage.cc}::VerifyCompressedSheet(), yaze::cli::handlers::anonymous_namespace{message_commands.cc}::VerifySavedRom(), yaze::editor::VerifyWrittenSheetPixels(), yaze::cli::handlers::ToolsExtractGoldenCommandHandler::WriteBasicROMInfo(), yaze::zelda3::WriteGfxSheet(), yaze::editor::anonymous_namespace{map_properties.cc}::WriteRomByteIfValid(), yaze::editor::anonymous_namespace{map_properties.cc}::WriteRomWordIfValid(), and yaze_load_rom().

◆ data()

auto yaze::Rom::data ( ) const
inline

Definition at line 201 of file rom.h.

References rom_data_.

Referenced by yaze::zelda3::ApplyDungeonStreamWritePlan(), yaze::cli::anonymous_namespace{overworld_doctor_commands.cc}::ApplyTailExpansion(), yaze::editor::BuildDictionaryEntries(), yaze::zelda3::Overworld::BuildLyraTerrainPreview(), yaze::zelda3::BuildOverworldAllocationReport(), yaze::editor::anonymous_namespace{dungeon_canvas_issue_report.cc}::BuildReportSessionSummary(), yaze::emu::render::SaveStateManager::CalculateRomChecksum(), yaze::editor::RomSession::CaptureRomIdentity(), yaze::zelda3::parity::CaptureRomSha1(), yaze::zelda3::anonymous_namespace{overworld_allocation.cc}::CheckBlankStream(), yaze::cli::anonymous_namespace{rom_doctor_commands.cc}::CheckCorruptionHeuristics(), yaze::editor::OverworldEditor::CheckRomReplacement(), yaze::zelda3::CheckTailMapExpansion(), yaze::cli::anonymous_namespace{rom_doctor_commands.cc}::CheckZScreamHeuristics(), yaze::zelda3::atlas::CollectDungeonAtlasInput(), yaze::cli::agent::tools::ProjectToolUtils::ComputeRomChecksum(), yaze::net::RomVersionManager::ComputeRomHash(), yaze::zelda3::anonymous_namespace{overworld_allocation.cc}::CountSpriteList(), yaze::net::RomVersionManager::CreateSnapshot(), yaze::editor::GraphicsEditor::DecompressImportData(), yaze::editor::GraphicsEditor::DecompressSuperDonkey(), yaze::net::RomVersionManager::DetectCorruption(), yaze::cli::anonymous_namespace{overworld_doctor_commands.cc}::DetectRomFeatures(), yaze::cli::anonymous_namespace{rom_doctor_commands.cc}::DetectRomFeaturesLocal(), yaze::zelda3::DiggableTilesPatch::DetectZSDiggingHooks(), yaze::zelda3::DiffGfxGroups(), yaze::editor::OverworldEntityWorkbench::Draw(), yaze::zelda3::ObjectDrawer::DrawDoor(), yaze::editor::DungeonObjectSelector::DrawObjectAssetBrowser(), yaze::editor::SettingsPanel::DrawProjectSettings(), yaze::test::TestManager::DrawTestDashboard(), yaze::editor::GraphicsEditor::DrawTilemapImport(), yaze::zelda3::RoomObject::EnsureTilesLoaded(), yaze::cli::MessageDoctorCommandHandler::Execute(), yaze::cli::handlers::DungeonRoomHeaderCommandHandler::Execute(), yaze::cli::handlers::DungeonSetDoorTypeCommandHandler::Execute(), yaze::cli::handlers::DungeonSetPotItemCommandHandler::Execute(), yaze::cli::handlers::DungeonGroupCommandHandler::Execute(), yaze::cli::handlers::MessageListCommandHandler::Execute(), yaze::cli::handlers::MessageReadCommandHandler::Execute(), yaze::cli::handlers::MessageSearchCommandHandler::Execute(), yaze::cli::handlers::MessageExportOrgCommandHandler::Execute(), yaze::cli::handlers::MessageExportBundleCommandHandler::Execute(), yaze::cli::handlers::MessageImportBundleCommandHandler::Execute(), yaze::cli::handlers::MessageExportBinCommandHandler::Execute(), yaze::cli::handlers::MessageExportAsmCommandHandler::Execute(), yaze::cli::GfxRoomExportCommandHandler::Execute(), yaze::cli::GfxRoomImportCommandHandler::Execute(), yaze::cli::handlers::HexReadCommandHandler::Execute(), yaze::cli::handlers::HexSearchCommandHandler::Execute(), yaze::cli::handlers::ProjectBundleVerifyCommandHandler::Execute(), yaze::cli::handlers::RomReadCommandHandler::Execute(), yaze::cli::RomDoctorCommandHandler::Execute(), yaze::zelda3::OverworldVersionHelper::GetAsmVersion(), yaze::net::RomVersionManager::GetCurrentHash(), yaze::zelda3::music::SpcParser::GetSpcData(), yaze::zelda3::OverworldVersionHelper::GetVersion(), yaze::rom::HyruleMagicValidator::HasBank00Erasure(), yaze::zelda3::anonymous_namespace{overworld_entrance.cc}::HasExpandedEntranceTables(), yaze::zelda3::Overworld::HasExpandedPointerTables(), yaze::editor::MessageEditor::Initialize(), yaze::emu::render::EmulatorRenderService::InjectRoomContext(), yaze::zelda3::InspectSpecialEntrances(), yaze::zelda3::InventoryDungeonStreams(), yaze::editor::OverworldEditor::Load(), yaze::zelda3::DungeonSpawnPoint::Load(), yaze::zelda3::Load2BppGraphics(), yaze::zelda3::LoadDungeonMaps(), yaze::zelda3::LoadDungeonMapTile16(), yaze::zelda3::LoadExits(), LoadFromData(), yaze::zelda3::RoomLayout::LoadLayout(), yaze::zelda3::OverworldMap::LoadLyraPreviewProperties(), yaze::cli::message::anonymous_namespace{message.cc}::LoadMessages(), yaze::zelda3::LoadMetadata(), yaze::zelda3::OverworldMap::LoadPalette(), yaze::zelda3::LoadRoomHeaderFromRom(), yaze::zelda3::music::MusicBank::LoadSamples(), yaze::zelda3::LoadSheetRaw(), yaze::emu::render::EmulatorRenderService::LookupHandlerAddress(), yaze::zelda3::anonymous_namespace{overworld_allocation.cc}::MakeRegion(), yaze::zelda3::ObjectParser::ParseSubtype1(), yaze::zelda3::ObjectParser::ParseSubtype2(), yaze::zelda3::ObjectParser::ParseSubtype3(), yaze::cli::handlers::anonymous_namespace{message_commands.cc}::PlanVanillaEdits(), yaze::editor::QuickExportBPS(), yaze::editor::QuickExportIPS(), yaze::zelda3::anonymous_namespace{overworld_allocation.cc}::ReadAsmVersion(), yaze::zelda3::ReadDungeonObjectStream(), yaze::cli::handlers::anonymous_namespace{message_commands.cc}::ReadExpandedMessages(), yaze::cli::handlers::anonymous_namespace{message_commands.cc}::ReadExpandedMessages(), yaze::zelda3::anonymous_namespace{dungeon_stream_allocator.cc}::ReadFixedBankRoomStream(), yaze::zelda3::ReadGfxSheetData(), yaze::zelda3::ReadGfxSheetExtent(), yaze::zelda3::ReadGfxSheetPc(), yaze::zelda3::anonymous_namespace{overworld_allocation.cc}::ReadLong(), yaze::zelda3::ReadRomByteOr(), yaze::cli::anonymous_namespace{rom_doctor_commands.cc}::ReadRomHeader(), yaze::zelda3::ObjectParser::ReadTileData(), yaze::zelda3::anonymous_namespace{overworld_allocation.cc}::ReadWord(), yaze::zelda3::Room::RenderObjectsToBackground(), yaze::zelda3::anonymous_namespace{game_data.cc}::ResolveGfxGroupTables(), yaze::zelda3::anonymous_namespace{room_collision.cc}::RomByte(), yaze::zelda3::RoomEntrance::RoomEntrance(), yaze::zelda3::SaveDungeonMapTile16(), yaze::zelda3::SaveGfxGroups(), yaze::zelda3::anonymous_namespace{overworld_allocation.cc}::ScanAreaMap(), yaze::editor::ShowPatchExportDialog(), yaze::zelda3::music::SpcParser::SpcAddressToRomOffset(), yaze::gui::DungeonObjectEmulatorPreview::TriggerEmulatedRender(), yaze::gui::DungeonObjectEmulatorPreview::TriggerStaticRender(), yaze::editor::music::MusicPlayer::UploadSoundBankFromRom(), yaze::zelda3::UsesJapaneseGfxSheetTables(), yaze::gfx::lc_lz2::ValidateCompressionResult(), yaze::gfx::lc_lz2::ValidateCompressionResultV3(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::ValidateDungeonPaletteWholeRomDiff(), yaze::cli::anonymous_namespace{rom_doctor_commands.cc}::ValidateExpandedTables(), yaze::cli::anonymous_namespace{overworld_doctor_commands.cc}::ValidateMapPointers(), yaze::editor::anonymous_namespace{editor_manager_project_io.cc}::ValidateRomAddressOverrides(), yaze::cli::anonymous_namespace{overworld_validate_commands.cc}::ValidateTile16Region(), yaze::zelda3::anonymous_namespace{gfx_sheet_storage.cc}::VerifyCompressedSheet(), yaze::editor::VerifyWrittenSheetPixels(), yaze::zelda3::WriteGfxSheet(), WriteVector(), yaze_load_messages(), and yaze_load_rom().

◆ mutable_data()

◆ begin()

◆ end()

◆ vector()

const auto & yaze::Rom::vector ( ) const
inline

Definition at line 205 of file rom.h.

References rom_data_.

Referenced by yaze::editor::ProposalDrawer::AcceptProposal(), yaze::zelda3::ApplyDungeonStreamWritePlan(), yaze::editor::DungeonEditorV2::ApplyMinecartCollisionStamp(), yaze::cli::handlers::anonymous_namespace{overworld_commands.cc}::ApplyTileEdit(), yaze::zelda3::OverworldUpgradeSystem::ApplyZSCustomOverworldASM(), yaze::cli::agent::anonymous_namespace{conversational_agent_service.cc}::BuildAutoOracleStateHook(), yaze::editor::DungeonCanvasViewer::BuildDrawIssueReport(), yaze::zelda3::BuildGfxSheetInventory(), yaze::editor::DungeonWorkbenchContent::BuildRoomDungeonCache(), yaze::zelda3::CalculateRoomSize(), yaze::cli::anonymous_namespace{sprite_doctor_commands.cc}::CheckCommonSpriteIssues(), yaze::cli::anonymous_namespace{rom_doctor_commands.cc}::CheckParallelWorldsHeuristics(), Close(), yaze::editor::anonymous_namespace{dungeon_editor_v2_persistence.cc}::CollectDirtyPotItemWriteRanges(), yaze::zelda3::CollectDirtyRegularDungeonEntranceWriteRanges(), yaze::zelda3::atlas::CollectDungeonAtlasInput(), yaze::zelda3::CollectRoomCensusInput(), yaze::zelda3::CollectRoomGfx(), yaze::editor::DungeonEditorV2::CollectWriteRanges(), yaze::zelda3::ComputeRoomDefaultEntrances(), yaze::test::TestManager::CreateTestRomCopy(), yaze::editor::CustomCollisionPanel::Draw(), yaze::editor::WaterFillPanel::Draw(), yaze::zelda3::ObjectDrawer::DrawAgahnimsWindows(), yaze::zelda3::ObjectDrawer::DrawBigDecor10x8(), yaze::zelda3::ObjectDrawer::DrawChestHoleOverlay(), yaze::zelda3::ObjectDrawer::DrawLampCones(), yaze::zelda3::ObjectDrawer::DrawObject(), yaze::zelda3::ObjectDrawer::DrawRoomDrawObjectData2x2(), yaze::zelda3::ObjectDrawer::DrawVitreousGoo(), yaze::gui::DungeonObjectEmulatorPreview::EnsureInitialized(), yaze::emu::Emulator::EnsureInitialized(), yaze::cli::handlers::DungeonImportCustomCollisionJsonCommandHandler::Execute(), yaze::cli::handlers::DungeonImportWaterFillJsonCommandHandler::Execute(), yaze::cli::handlers::DungeonSetPaletteColorCommandHandler::Execute(), yaze::cli::handlers::DungeonSetDoorTypeCommandHandler::Execute(), yaze::cli::handlers::DungeonSetPotItemCommandHandler::Execute(), yaze::cli::handlers::DungeonOraclePreflightCommandHandler::Execute(), yaze::cli::handlers::OracleSmokeCheckCommandHandler::Execute(), yaze::cli::handlers::OverworldExportGraphCommandHandler::Execute(), yaze::cli::handlers::OverworldTerrainCatalogCommandHandler::Execute(), yaze::cli::GfxImportCommandHandler::Execute(), yaze::cli::GfxRoomImportCommandHandler::Execute(), yaze::cli::handlers::ProjectBuildCommandHandler::Execute(), yaze::cli::handlers::RomDiffCommandHandler::Execute(), yaze::cli::handlers::RomGenerateGoldenCommandHandler::Execute(), yaze::cli::HexDumpCommandHandler::Execute(), yaze::cli::HexCompareCommandHandler::Execute(), yaze::cli::HexAnnotateCommandHandler::Execute(), yaze::cli::RomCompareCommandHandler::Execute(), yaze::cli::agent::tools::RomDiffTool::Execute(), yaze::cli::handlers::DungeonExportWaterFillJsonCommandHandler::ExecuteWithContext(), yaze::cli::handlers::OverworldSpriteEditCommandHandler::ExecuteWithContext(), Expand(), yaze::zelda3::FindMaxUsedSpriteAddress(), yaze::cli::handlers::ToolsHarnessStateCommandHandler::GenerateHarnessState(), yaze::zelda3::RoomLayout::GetLayoutAddress(), yaze::zelda3::GetOverworldSpriteRegionEnd(), yaze::cli::agent::HandleAcceptCommand(), yaze::emu::render::EmulatorRenderService::Initialize(), yaze::zelda3::LoadCustomCollisionMap(), LoadFromData(), LoadFromFile(), yaze::zelda3::PitDamageTable::LoadFromRom(), yaze::zelda3::RoomLayout::LoadLayout(), yaze::zelda3::LoadLegacyWaterGateZones(), yaze::zelda3::LoadPalettes(), yaze::editor::DungeonRoomLoader::LoadRoomEntrances(), yaze::zelda3::LoadWaterFillTable(), main(), yaze::editor::MenuOrchestrator::OnApplyBpsPatch(), yaze::editor::MenuOrchestrator::OnExportBpsPatch(), operator=(), yaze::editor::GraphicsEditor::PlanGraphicsSave(), yaze::zelda3::Room::PlanObjectSave(), yaze::zelda3::Room::PlanObjectStreamHeaderSave(), yaze::zelda3::PlanOverworldSpriteListEdit(), yaze::zelda3::Room::PlanSpriteSave(), PopWriteFence(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::PreflightObjectRemoval(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::PreflightObjectSave(), yaze::editor::DungeonEditorV2::PreflightRoomTransfer(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::PreflightSpriteSave(), PushWriteFence(), ReadByte(), ReadByteVector(), yaze::zelda3::ReadDungeonEntranceTarget(), yaze::zelda3::ReadGfxSheetData(), ReadHelper(), ReadLong(), yaze::zelda3::ReadObjectDrawCode(), yaze::zelda3::ReadOverworldSpriteList(), ReadTile16(), ReadTransaction(), ReadWord(), yaze::editor::ObjectCoveragePanel::RebuildIndex(), yaze::zelda3::RegularDungeonEntranceWriteRanges(), yaze::zelda3::RelocateSpriteData(), yaze::zelda3::anonymous_namespace{resolved_graphics_context.cc}::RomSha256(), yaze::zelda3::RoomEntrance::RoomEntrance(), yaze::emu::Emulator::Run(), yaze::editor::EditorManager::RunCurrentProject(), yaze::zelda3::RunOracleRomSafetyPreflight(), yaze::editor::GraphicsEditor::Save(), yaze::zelda3::RoomEntrance::Save(), yaze::editor::SaveRomWithCollisionSource(), SaveToFile(), yaze::zelda3::PitDamageTable::SaveToRom(), SetStagingFailureForTesting(), yaze::zelda3::UsesExpandedEntranceTables(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::ValidateDungeonPaletteWriteBaseline(), yaze::cli::anonymous_namespace{graphics_doctor_commands.cc}::ValidateGroupTables(), yaze::zelda3::ValidateRegularDungeonEntranceForSave(), yaze::zelda3::ValidateRegularDungeonEntrancesForSave(), yaze::cli::anonymous_namespace{sprite_doctor_commands.cc}::ValidateRoomSprites(), yaze::cli::anonymous_namespace{sprite_doctor_commands.cc}::ValidateSpritePointerTable(), yaze::cli::anonymous_namespace{sprite_doctor_commands.cc}::ValidateSpritesets(), yaze::cli::handlers::anonymous_namespace{message_commands.cc}::VerifyCleanDiskSnapshot(), yaze::cli::handlers::anonymous_namespace{message_commands.cc}::VerifyDiskSnapshotUnchanged(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::VerifyDungeonPaletteExternalReadback(), yaze::cli::handlers::anonymous_namespace{message_commands.cc}::VerifySavedRom(), yaze::cli::handlers::anonymous_namespace{overworld_commands.cc}::VerifyTileGridRoundTrip(), WriteByte(), WriteColor(), yaze::editor::WriteExpandedTextData(), WriteLong(), WriteTile16(), yaze::zelda3::WriteTrackCollision(), WriteVector(), yaze::zelda3::WriteWaterFillTable(), and WriteWord().

◆ mutable_vector()

◆ filename()

auto yaze::Rom::filename ( ) const
inline

Definition at line 207 of file rom.h.

References filename_.

Referenced by yaze::editor::AgentEditor::ApplyConfig(), yaze::cli::handlers::anonymous_namespace{overworld_commands.cc}::ApplyTileEdit(), yaze::cli::agent::anonymous_namespace{conversational_agent_service.cc}::BuildAutoOracleStateHook(), yaze::zelda3::BuildOverworldAllocationReport(), yaze::editor::anonymous_namespace{dungeon_canvas_issue_report.cc}::BuildReportSessionSummary(), yaze::editor::anonymous_namespace{dungeon_canvas_issue_report.cc}::BuildRomDisplayName(), yaze::editor::RomSession::CaptureRomIdentity(), yaze::editor::RomLifecycleManager::CheckRomOpenPolicy(), yaze::editor::RomLifecycleManager::CheckRomRebindPolicy(), yaze::editor::RomLifecycleManager::CheckRomWritePolicy(), yaze::zelda3::atlas::CollectDungeonAtlasInput(), yaze::zelda3::CollectRoomCensusInput(), yaze::cli::agent::ConversationalAgentService::ConfigureProvider(), yaze::editor::RomFileManager::CreateBackup(), yaze::cli::RomSandboxManager::CreateSandbox(), yaze::editor::OracleValidationPanel::DefaultRomPath(), yaze::cli::DetectPromptProfile(), yaze::editor::OverworldEntityWorkbench::Draw(), yaze::test::RomDependentTestSuite::DrawConfiguration(), yaze::editor::SettingsPanel::DrawPatchSettings(), yaze::editor::PopupManager::DrawRomBackupManagerPopup(), yaze::editor::PopupManager::DrawRomWriteConfirmPopup(), yaze::editor::PopupManager::DrawSaveAsPopup(), yaze::editor::PopupManager::DrawSessionManagerPopup(), yaze::test::TestManager::DrawTestDashboard(), yaze::cli::handlers::AtlasRenderCommandHandler::Execute(), yaze::cli::handlers::DungeonRoomCensusCommandHandler::Execute(), yaze::cli::handlers::DungeonExportCustomCollisionJsonCommandHandler::Execute(), yaze::cli::handlers::DungeonExportWaterFillJsonCommandHandler::Execute(), yaze::cli::handlers::DungeonSetPaletteColorCommandHandler::Execute(), yaze::cli::handlers::DungeonSetDoorTypeCommandHandler::Execute(), yaze::cli::handlers::DungeonSetPotItemCommandHandler::Execute(), yaze::cli::handlers::DungeonRenderCommandHandler::Execute(), yaze::cli::handlers::OverworldSetTileCommandHandler::Execute(), yaze::cli::handlers::OverworldRenderCommandHandler::Execute(), yaze::cli::handlers::OverworldSpriteEditCommandHandler::Execute(), yaze::cli::GfxSheetInventoryCommandHandler::Execute(), yaze::cli::GfxImportCommandHandler::Execute(), yaze::cli::GfxRoomExportCommandHandler::Execute(), yaze::cli::GfxRoomImportCommandHandler::Execute(), yaze::cli::OverworldDoctorCommandHandler::Execute(), yaze::cli::RomCompareCommandHandler::Execute(), yaze::cli::RomDoctorCommandHandler::Execute(), yaze::cli::handlers::AtlasRenderCommandHandler::ExecuteWithContext(), yaze::cli::handlers::OverworldSetTileCommandHandler::ExecuteWithContext(), yaze::cli::handlers::OverworldSpriteEditCommandHandler::ExecuteWithContext(), yaze::cli::anonymous_namespace{gfx_sheet_png_commands.cc}::ExportRoomBundle(), getFileManagerDebugInfo(), yaze::emu::InternalEmulatorAdapter::GetLoadedRomPath(), yaze::editor::RomLifecycleManager::GetRomBackups(), yaze::editor::RomFileManager::GetRomFilename(), yaze::cli::agent::HandleAcceptCommand(), yaze::cli::HandleGfxImportLegacy(), yaze::cli::HandlePaletteImportLegacy(), yaze::cli::agent::HandleRevertCommand(), yaze::cli::agent::HandleRunCommand(), yaze::zelda3::InspectSpecialEntrances(), yaze::cli::agent::anonymous_namespace{conversational_agent_service.cc}::IsLikelyOracleRom(), LoadFromFile(), yaze::zelda3::LoadLegacyWaterGateZones(), yaze::cli::handlers::anonymous_namespace{message_commands.cc}::LoadProjectMutationContext(), yaze::editor::RomLoadOptionsDialog::Open(), yaze::editor::RomLoadOptionsDialog::Open(), yaze::editor::RomLifecycleManager::PruneRomBackups(), yaze::editor::QuickExportBPS(), yaze::editor::QuickExportIPS(), yaze::editor::AgentEditor::RefreshModelCache(), yaze::editor::EditorManager::ResolveProjectBuildCommand(), yaze::cli::handlers::anonymous_namespace{dungeon_collision_commands.cc}::ResolveReportArtifactPath(), yaze::editor::AssemblyEditor::ResolveZ3DisasmOutputDir(), yaze::editor::AssemblyEditor::ResolveZ3DisasmRomPath(), yaze::editor::EditorManager::RestoreRomBackup(), yaze::editor::RomSession::RomSession(), yaze::cli::resources::CommandHandler::Run(), yaze::editor::RomFileManager::SaveRomAs(), yaze::editor::SaveRomWithCollisionSource(), SaveToFile(), yaze::editor::MemoryEditor::Update(), yaze::Application::UpdateActivityStatus(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::ValidateDungeonPaletteWriteBaseline(), yaze::cli::anonymous_namespace{gfx_sheet_png_commands.cc}::ValidateExportPaths(), yaze::editor::ValidateRomCollisionSourceBinding(), yaze::cli::handlers::anonymous_namespace{message_commands.cc}::VerifyCleanDiskSnapshot(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::VerifyDungeonPaletteExternalReadback(), and yaze_load_rom().

◆ set_filename()

◆ short_name()

◆ has_copier_header()

bool yaze::Rom::has_copier_header ( ) const
inline

◆ copier_header()

const std::vector< uint8_t > & yaze::Rom::copier_header ( ) const
inline

Definition at line 214 of file rom.h.

References copier_header_.

Referenced by yaze::cli::handlers::RomInfoCommandHandler::Execute().

◆ copier_header_reason()

CopierHeaderReason yaze::Rom::copier_header_reason ( ) const
inline

◆ InspectLyraLayout()

◆ CheckLayoutWritable()

◆ resource_label()

◆ PushWriteFence()

void yaze::Rom::PushWriteFence ( rom::WriteFence * fence)

Definition at line 757 of file rom.cc.

References vector(), and write_fence_stack_.

Referenced by yaze::rom::ScopedWriteFence::ScopedWriteFence().

Here is the call graph for this function:

◆ PopWriteFence()

void yaze::Rom::PopWriteFence ( rom::WriteFence * fence)

Definition at line 764 of file rom.cc.

References LOG_WARN, vector(), and write_fence_stack_.

Referenced by yaze::rom::ScopedWriteFence::~ScopedWriteFence().

Here is the call graph for this function:

◆ write_fence_depth()

size_t yaze::Rom::write_fence_depth ( ) const
inline

Definition at line 236 of file rom.h.

References write_fence_stack_.

Member Data Documentation

◆ size_

unsigned long yaze::Rom::size_ = 0
private

Definition at line 240 of file rom.h.

Referenced by Close(), Expand(), LoadFromData(), LoadFromFile(), operator=(), operator[](), and size().

◆ title_

std::string yaze::Rom::title_ = "ROM not loaded"
private

Definition at line 243 of file rom.h.

Referenced by LoadFromData(), LoadFromFile(), operator=(), and title().

◆ filename_

std::string yaze::Rom::filename_
private

Definition at line 246 of file rom.h.

Referenced by filename(), LoadFromFile(), operator=(), SaveToFile(), and set_filename().

◆ short_name_

std::string yaze::Rom::short_name_
private

Definition at line 249 of file rom.h.

Referenced by LoadFromFile(), operator=(), and short_name().

◆ rom_data_

◆ copier_header_

std::vector<uint8_t> yaze::Rom::copier_header_
private

◆ copier_header_reason_

CopierHeaderReason yaze::Rom::copier_header_reason_ = CopierHeaderReason::kNone
private

Definition at line 256 of file rom.h.

Referenced by Close(), copier_header_reason(), LoadFromData(), LoadFromFile(), and operator=().

◆ lyra_attributed_at_load_

bool yaze::Rom::lyra_attributed_at_load_ = false
private

Definition at line 257 of file rom.h.

Referenced by Close(), InspectLyraLayout(), LoadFromData(), LoadFromFile(), and operator=().

◆ resource_label_manager_

project::ResourceLabelManager yaze::Rom::resource_label_manager_
private

Definition at line 260 of file rom.h.

Referenced by LoadFromFile(), operator=(), and resource_label().

◆ dirty_

bool yaze::Rom::dirty_ = false
private

◆ object_tile_revision_

uint64_t yaze::Rom::object_tile_revision_ = 0
private

Definition at line 266 of file rom.h.

Referenced by AdvanceObjectTileRevision(), object_tile_revision(), and operator=().

◆ write_fence_stack_

std::vector<rom::WriteFence*> yaze::Rom::write_fence_stack_
private

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