DungeonEditorV2 - Simplified dungeon editor using component delegation. More...
#include <dungeon_editor_v2.h>

Classes | |
| struct | PendingCollisionUndo |
| struct | PendingEntityUndo |
| struct | PendingSelectionUndo |
| struct | PendingStandaloneToolWindow |
| struct | PendingSwap |
| struct | PendingUndo |
| struct | PendingWaterFillUndo |
| struct | PendingWorkflowMode |
| struct | SaveTransactionSnapshot |
Public Member Functions | |
| DungeonEditorV2 (Rom *rom=nullptr) | |
| ~DungeonEditorV2 () override | |
| void | VisitGraphicsUsageRooms (const std::function< void(int, zelda3::Room &, const std::string &, bool, int)> &visitor) |
| void | PrepareForSessionTeardown () override |
| void | SetGameData (zelda3::GameData *game_data) override |
| void | SetDependencies (const EditorDependencies &deps) override |
| void | Initialize () override |
| absl::Status | Load () override |
| absl::Status | Update () override |
| absl::Status | Undo () override |
| absl::Status | Redo () override |
| absl::Status | Cut () override |
| absl::Status | Copy () override |
| absl::Status | Paste () override |
| absl::Status | Find () override |
| bool | CanUndo () const override |
| absl::Status | Save () override |
| absl::Status | ValidateSaveScope (int only_room=-1, bool room_data_only=false) const |
| absl::Status | BeginSaveTransaction () override |
| void | RollbackSaveTransaction () override |
| void | CommitSaveTransaction () override |
| void | ContributeStatus (StatusBar *status_bar) override |
| EditorContextSnapshot | BuildContextSnapshot () const override |
| absl::Status | SaveRoom (int room_id) |
| absl::StatusOr< DungeonConnectionPlan > | PreviewDoorConnection (const DungeonConnectionRequest &request) |
| absl::Status | ApplyDoorConnection (const DungeonConnectionPlan &plan) |
| absl::StatusOr< std::string > | ExportRoomDocument (int room_id) |
| absl::StatusOr< DungeonRoomTransferPlan > | PreviewRoomTransfer (int target_room_id, int source_room_id, const std::string &json, const DungeonRoomTransferOptions &options) |
| absl::Status | ApplyRoomTransfer (const DungeonRoomTransferPlan &plan) |
| absl::Status | EditRoomMetadata (int room_id, const RoomMetadataEdit &edit) |
| absl::Status | EditRoomGraphicsSheet (int room_id, int slot, int sheet_id) |
| void | SetRoomGraphicsOverworldProvider (std::function< const zelda3::Overworld *()> provider) |
| absl::StatusOr< zelda3::RoomsetUsageReport > | GetRoomGraphicsUsage (int roomset) const |
| absl::Status | EditRoomMetadataBatch (const std::vector< RoomMetadataRequest > &requests) |
| absl::Status | EditChest (int room_id, size_t index, uint8_t item_id, bool big_chest) |
| absl::Status | DeleteChest (int room_id, size_t index) |
| int | LoadedRoomCount () const |
| int | PendingRoomCount () const |
| bool | HasPendingRoomChanges () const |
| bool | HasPendingDungeonChanges () const |
| bool | HasUnpublishedMinecartTrackChanges () const |
| bool | HasPendingProjectDraftChanges () const |
| absl::Status | PrepareProjectSave () |
| bool | CurrentRoomHasPendingChanges () const |
| int | TotalRoomCount () const |
| std::vector< std::pair< uint32_t, uint32_t > > | CollectWriteRanges () const |
| void | SetRom (Rom *rom) |
| absl::Status | RefreshRomBackedState () |
| Rom * | rom () const |
| void | add_room (int room_id) |
| void | FocusRoom (int room_id) |
| void | SelectObject (int obj_id) |
| void | SetAgentMode (bool enabled) |
| bool | CanHandleDungeonNavigationShortcut () const |
| bool | NavigateToAdjacentRoom (DungeonRoomNavigationDirection direction) |
| bool | CycleRoomSelection (int direction) |
| bool | CycleObjectSelection (int direction) |
| bool | IsRomLoaded () const override |
| std::string | GetRomStatus () const override |
| void | OpenWindow (const std::string &window_id) |
| absl::Status | EnsureMinecartTrackEditorPanel () |
| void | SetWorkbenchWorkflowMode (bool enabled, bool show_toast=true) |
| void | QueueWorkbenchWorkflowMode (bool enabled, bool show_toast=true) |
| void | ToggleWorkbenchWorkflowMode (bool show_toast=true) |
| bool | IsWorkbenchWorkflowEnabled () const |
| void | QueueRoomCanvasDeleteShortcut () |
| int | current_room_id () const |
| int * | mutable_current_room_id () |
| const ImVector< int > & | active_rooms () const |
| DungeonRoomStore & | rooms () |
| const DungeonRoomStore & | rooms () const |
| gfx::IRenderer * | renderer () const |
| ObjectSelectorContent * | object_selector_panel () const |
| ObjectSelectorContent * | object_editor_panel () const |
| DoorEditorContent * | door_editor_panel () const |
| const std::deque< int > & | GetRecentRooms () const |
| Get the list of recently visited room IDs. | |
Public Member Functions inherited from yaze::editor::Editor | |
| Editor ()=default | |
| virtual | ~Editor ()=default |
| virtual std::string | GetUndoDescription () const |
| virtual std::string | GetRedoDescription () const |
| const UndoManager & | undo_manager () const |
| virtual absl::Status | Clear () |
| virtual bool | CanRedo () const |
| virtual bool | CanCut () const |
| virtual bool | CanCopy () const |
| virtual bool | CanPaste () const |
| virtual bool | CanFind () const |
| EditorType | type () const |
| bool * | active () |
| void | set_active (bool active) |
| void | toggle_active () |
| Rom * | rom () const |
| zelda3::GameData * | game_data () const |
| project::YazeProject * | project () const |
| core::VersionManager * | version_manager () const |
| EditorContext | context () const |
| bool | HasContext () const |
Static Public Attributes | |
| static constexpr const char * | kRoomSelectorId = "dungeon.room_selector" |
| static constexpr const char * | kEntranceListId = "dungeon.entrance_list" |
| static constexpr const char * | kRoomMatrixId = "dungeon.room_matrix" |
| static constexpr const char * | kRoomGraphicsId = "dungeon.room_graphics" |
| static constexpr const char * | kObjectSelectorId = "dungeon.object_selector" |
| static constexpr const char * | kObjectToolsId = kObjectSelectorId |
| static constexpr const char * | kDoorEditorId = "dungeon.door_editor" |
| static constexpr const char * | kPaletteEditorId = "dungeon.palette_editor" |
| static constexpr const char * | kMinecartTrackEditorId |
Static Private Member Functions | |
| static bool | IsValidRoomId (int room_id) |
Static Private Attributes | |
| static constexpr size_t | kMaxRecentRooms = 10 |
| static constexpr int | kMaxCachedViewers = 20 |
Additional Inherited Members | |
Protected Member Functions inherited from yaze::editor::Editor | |
| std::string | MakePanelTitle (const std::string &base_title) const |
| std::string | MakeWindowId (const std::string &base_id) const |
| template<typename T > | |
| absl::StatusOr< T > | SafeRomAccess (std::function< T()> accessor, const std::string &operation="") const |
Protected Attributes inherited from yaze::editor::Editor | |
| bool | active_ = false |
| EditorType | type_ |
| EditorDependencies | dependencies_ |
| UndoManager | undo_manager_ |
DungeonEditorV2 - Simplified dungeon editor using component delegation.
This is a drop-in replacement for DungeonEditor that properly delegates to the component system instead of implementing everything inline.
Architecture:
The editor acts as a coordinator, not an implementer.
OWNED by DungeonEditorV2 (use unique_ptr or direct member):
EXTERNALLY OWNED (raw pointers, lifetime managed elsewhere):
OWNED BY WorkspaceWindowManager (registered EditorPanels):
Panel pointers are stored for convenience access but should NOT be deleted by this class. WorkspaceWindowManager owns them.
Definition at line 121 of file dungeon_editor_v2.h.
|
explicit |
Definition at line 352 of file dungeon_editor_v2.cc.
References yaze::zelda3::CreateDungeonEditorSystem(), dungeon_editor_system_, yaze::editor::kDungeon, rom(), and yaze::editor::Editor::type_.

|
override |
Definition at line 360 of file dungeon_editor_v2.cc.
References yaze::gfx::Arena::Get(), palette_listener_id_, PrepareForSessionTeardown(), and yaze::gfx::Arena::UnregisterPaletteListener().

| void yaze::editor::DungeonEditorV2::VisitGraphicsUsageRooms | ( | const std::function< void(int, zelda3::Room &, const std::string &, bool, int)> & | visitor | ) |
Definition at line 2368 of file dungeon_editor_v2.cc.
References ApplyEntranceRenderContext(), yaze::zelda3::Room::blocks(), yaze::editor::Editor::context(), current_room_id_, yaze::editor::DungeonRenderContextSourceName(), yaze::editor::DungeonRoomStore::ForEachLoaded(), yaze::zelda3::Room::LoadRoomGraphics(), yaze::zelda3::Room::MarkGraphicsDirty(), yaze::zelda3::Room::resolved_main_blockset(), ResolveDungeonRenderContextForRoom(), and rooms_.
|
overridevirtual |
Reimplemented from yaze::editor::Editor.
Definition at line 369 of file dungeon_editor_v2.cc.
References yaze::editor::ObjectTileEditorPanel::Close(), custom_collision_panel_, yaze::editor::ObjectSelectorContent::DetachRuntimeContext(), yaze::editor::MinecartTrackEditorPanel::DetachRuntimeContext(), yaze::editor::RoomGraphicsContent::DetachRuntimeContext(), yaze::editor::RoomMatrixContent::DetachRuntimeContext(), door_editor_panel_, dungeon_render_context_census_shutdown_, InvalidateDungeonRenderContextCensus(), item_editor_panel_, minecart_track_editor_panel_, object_selector_panel_, object_tile_editor_panel_, room_graphics_panel_, room_matrix_panel_, yaze::editor::DoorEditorContent::SetCanvasViewer(), yaze::editor::CustomCollisionPanel::SetCanvasViewer(), yaze::editor::ItemEditorPanel::SetCanvasViewer(), yaze::editor::SpriteEditorPanel::SetCanvasViewer(), yaze::editor::WaterFillPanel::SetCanvasViewer(), yaze::editor::CustomCollisionPanel::SetInteraction(), yaze::editor::WaterFillPanel::SetInteraction(), yaze::editor::ObjectTileEditorPanel::SetStandardWritePreflightCallback(), yaze::editor::ObjectTileEditorPanel::SetTilesAppliedCallback(), sprite_editor_panel_, and water_fill_panel_.
Referenced by ~DungeonEditorV2().
|
inlineoverridevirtual |
Reimplemented from yaze::editor::Editor.
Definition at line 132 of file dungeon_editor_v2.h.
References yaze::editor::Editor::dependencies_, dungeon_editor_system_, yaze::editor::EditorDependencies::game_data, yaze::editor::Editor::game_data(), game_data_, object_selector_panel_, room_loader_, room_viewers_, rooms_, yaze::editor::DungeonRoomLoader::SetGameData(), yaze::editor::DungeonRoomStore::SetGameData(), yaze::editor::ObjectSelectorContent::SetGameData(), workbench_compare_viewer_, and workbench_viewer_.
Referenced by yaze::test::DungeonEditorTestSuite::RunObjectManipulationTest(), and yaze::test::DungeonEditorTestSuite::RunRoomSaveTest().

|
overridevirtual |
Reimplemented from yaze::editor::Editor.
Definition at line 117 of file dungeon_editor_v2.cc.
References ConfigureMinecartProjectCallbacks(), InvalidateDungeonRenderContextCensus(), LOG_WARN, minecart_track_editor_panel_, yaze::editor::EditorDependencies::project, yaze::editor::MinecartTrackEditorPanel::RebindProjectContext(), and yaze::editor::Editor::SetDependencies().

|
overridevirtual |
Implements yaze::editor::Editor.
Definition at line 690 of file dungeon_editor_v2.cc.
References active_rooms_, ApplyEntranceRenderContext(), automatic_entrance_preview_, yaze::editor::UndoManager::CanRedo(), yaze::editor::UndoManager::CanUndo(), ConfigureEntrancePropertyEditCallbacks(), ConsumeRoomCanvasDeleteShortcut(), yaze::editor::WindowPresentationPolicy::CoreWorkspace(), yaze::zelda3::CreateDungeonEditorSystem(), current_entrance_id_, current_room_id_, yaze::editor::Editor::dependencies_, dungeon_editor_system_, entrance_navigator_panel_, entrances_, game_data_, yaze::core::FeatureFlags::get(), yaze::editor::ShortcutManager::GetDisplayString(), yaze::editor::UndoManager::GetRedoDescription(), yaze::editor::UndoManager::GetUndoDescription(), GetWorkbenchCompareViewer(), GetWorkbenchViewer(), yaze::project::YazeProject::hack_manifest, ICON_MD_CATEGORY, ICON_MD_DOOR_FRONT, ICON_MD_GRID_VIEW, ICON_MD_IMAGE, ICON_MD_LIST, ICON_MD_PALETTE, ICON_MD_WORKSPACES, yaze::Rom::is_loaded(), kDoorEditorId, yaze::editor::WindowDescriptor::kEditor, kEntranceListId, yaze::editor::kError, kObjectSelectorId, yaze::editor::kOptionalPopOut, kPaletteEditorId, kRoomGraphicsId, kRoomMatrixId, kRoomSelectorId, yaze::editor::kSuccess, yaze::editor::kWorkspace, LOG_ERROR, OnEntranceSelected(), OnRoomSelected(), yaze::editor::WindowPresentationPolicy::OptionalPopOut(), yaze::editor::DungeonEditorV2::PendingStandaloneToolWindow::pending, pending_standalone_tool_window_, yaze::zelda3::GameData::pit_damage_table, yaze::editor::PrintShortcut(), yaze::editor::EditorDependencies::project, QueueWorkbenchWorkflowMode(), recent_rooms_, Redo(), yaze::editor::EditorDependencies::renderer, renderer_, ResolveDungeonRenderContextForRoom(), yaze::editor::EditorDependencies::rom, rom_, room_matrix_panel_, room_selector_, room_window_class_, rooms_, yaze::editor::UserSettings::Save(), SaveAllRooms(), SaveRoom(), yaze::editor::DungeonEditorV2::PendingStandaloneToolWindow::session_id, yaze::editor::UserSettings::SetDungeonInspectorSide(), SetGraphicsPreviewEntrance(), yaze::editor::DungeonWorkbenchContent::SetNavigationPanels(), yaze::editor::DungeonWorkbenchContent::SetOnInspectorSideChanged(), yaze::editor::DungeonWorkbenchContent::SetOpenKeyboardShortcutsCallback(), yaze::editor::DungeonWorkbenchContent::SetPitDamageTableProvider(), yaze::editor::DungeonWorkbenchContent::SetPrimaryCanvasDrawnCallback(), yaze::editor::DungeonRoomSelector::SetProject(), yaze::editor::RoomMatrixContent::SetRenderContextCallback(), SetRom(), yaze::editor::DungeonWorkbenchContent::SetRoomRenderContextCallback(), yaze::editor::DungeonRoomSelector::SetRoomSelectedWithIntentCallback(), yaze::editor::DungeonWorkbenchContent::SetStandaloneToolCallbacks(), yaze::editor::DungeonWorkbenchContent::SetUndoRedoProvider(), SetWorkbenchWorkflowMode(), yaze::editor::EditorDependencies::shortcut_manager, yaze::editor::ToastManager::Show(), spawn_points_, SwapRoomInPanel(), yaze::editor::EditorDependencies::toast_manager, Undo(), yaze::editor::Editor::undo_manager_, yaze::editor::UndoManager::UndoStackSize(), yaze::editor::EditorDependencies::user_settings, yaze::editor::DungeonEditorV2::PendingStandaloneToolWindow::window_id, yaze::editor::EditorDependencies::window_manager, and workbench_panel_.
Referenced by yaze::test::DungeonEditorTestSuite::RunObjectManipulationTest(), and yaze::test::DungeonEditorTestSuite::RunRoomSaveTest().
|
overridevirtual |
Implements yaze::editor::Editor.
Definition at line 1010 of file dungeon_editor_v2.cc.
References active_rooms_, yaze::zelda3::BuildDungeonRenderPaletteGroupFromGameData(), CreateObjectCoveragePanel(), current_entrance_id_, current_palette_, current_palette_group_, current_palette_group_id_, current_room_id_, custom_collision_panel_, yaze::editor::Editor::dependencies_, yaze::editor::WindowPresentationPolicy::Diagnostic(), door_editor_panel_, dungeon_editor_system_, yaze::gfx::PaletteGroupMap::dungeon_main, EditRoomGraphicsSheet(), EditRoomMetadata(), EnsureMinecartTrackEditorPanel(), entrances_, yaze::editor::DungeonWorkbenchContent::FocusSelectionInspector(), yaze::editor::Editor::game_data(), yaze::gfx::PaletteManager::Get(), yaze::zelda3::ObjectDimensionTable::Get(), yaze::editor::MinecartTrackEditorPanel::GetId(), yaze::editor::ObjectTileEditorPanel::GetId(), GetRoomGraphicsUsage(), GetViewerForRoom(), yaze::project::YazeProject::hack_manifest, HandleDungeonPaletteChanged(), yaze::gfx::PaletteManager::Initialize(), yaze::gui::PaletteEditorWidget::Initialize(), InvalidateDungeonRenderContextCensus(), yaze::editor::DungeonObjectSelector::InvalidatePreviewCache(), yaze::Rom::is_loaded(), is_loaded_, item_editor_panel_, yaze::editor::DungeonRoomLoader::LoadDungeonSpawnPoints(), yaze::core::HackManifest::loaded(), yaze::editor::DungeonRoomLoader::LoadRoomEntrances(), minecart_track_editor_panel_, object_coverage_panel_, yaze::editor::ObjectSelectorContent::object_selector(), object_selector_panel_, object_tile_editor_panel_, OnEntranceSelected(), OnRoomSelected(), OpenObjectTileEditorForObject(), OpenWindow(), yaze::editor::WorkspaceWindowManager::OpenWindow(), overlay_manager_panel_, owned_custom_collision_panel_, owned_door_editor_panel_, owned_object_coverage_panel_, owned_object_selector_panel_, owned_room_tag_editor_panel_, owned_water_fill_panel_, palette_editor_, palette_editor_panel_, yaze::zelda3::GameData::palette_groups, yaze::editor::EditorDependencies::project, RegisterPaletteListener(), yaze::editor::WorkspaceWindowManager::RegisterWindowContent(), ReloadWaterFillZones(), renderer_, RETURN_IF_ERROR, rom_, yaze::project::YazeProject::rom_metadata, room_graphics_panel_, room_loader_, room_selector_, room_tag_editor_panel_, rooms_, yaze::editor::DungeonRoomSelector::set_active_rooms(), yaze::editor::DungeonRoomSelector::set_current_entrance_id(), yaze::editor::DungeonRoomSelector::set_entrances(), yaze::editor::DungeonRoomSelector::set_rooms(), yaze::editor::DungeonRoomSelector::set_spawn_points(), yaze::gui::PaletteEditorWidget::SetDungeonRenderPaletteMode(), yaze::editor::DungeonObjectSelector::SetEditObjectTilesCallback(), yaze::editor::DungeonWorkbenchContent::SetEmbeddedEditorPanels(), yaze::editor::DungeonWorkbenchContent::SetEmbeddedToolPanels(), yaze::editor::DungeonRoomSelector::SetEntranceSelectedCallback(), yaze::editor::ObjectSelectorContent::SetGameData(), yaze::editor::DungeonWorkbenchContent::SetObjectCoverageContent(), yaze::gui::PaletteEditorWidget::SetOnDungeonPaletteChanged(), yaze::editor::DungeonObjectSelector::SetOpenMinecartEditorWindowCallback(), yaze::editor::DungeonObjectSelector::SetOpenTileEditorWindowCallback(), yaze::editor::DungeonRoomSelector::SetRoomSelectedCallback(), yaze::editor::DungeonRoomSelector::SetRoomSelectedWithIntentCallback(), yaze::editor::DungeonObjectSelector::SetTileEditorPanel(), yaze::editor::DungeonRoomStore::size(), spawn_points_, sprite_editor_panel_, yaze::editor::EditorDependencies::toast_manager, yaze::editor::ValidateHackManifestSaveConflicts(), water_fill_panel_, yaze::editor::EditorDependencies::window_manager, yaze::editor::WindowPresentationPolicy::WithHost(), workbench_panel_, and yaze::project::RomMetadata::write_policy.
|
overridevirtual |
Implements yaze::editor::Editor.
Definition at line 1457 of file dungeon_editor_v2.cc.
References active_rooms_, ApplyEntranceRenderContext(), yaze::gui::PanelWindow::Begin(), current_room_id_, yaze::editor::Editor::dependencies_, DrawRoomPanels(), yaze::gui::PanelWindow::End(), ExpireStaleRoomCanvasDeleteShortcut(), yaze::editor::UserSettings::GetDungeonInspectorSide(), yaze::editor::AgentUI::GetTheme(), ICON_MD_CASTLE, is_loaded_, IsWorkbenchWorkflowEnabled(), ProcessPendingStandaloneToolWindow(), ProcessPendingSwap(), ProcessPendingWorkflowMode(), room_window_class_, yaze::gui::PanelWindow::SetDefaultSize(), yaze::editor::DungeonWorkbenchContent::SetInspectorOnLeft(), SynchronizeCustomObjectAssets(), yaze::editor::EditorDependencies::user_settings, and workbench_panel_.
|
overridevirtual |
Implements yaze::editor::Editor.
Definition at line 186 of file dungeon_editor_v2_undo.cc.
References current_room_id_, yaze::editor::Editor::dependencies_, FinalizePendingUndoActions(), yaze::editor::UndoManager::GetUndoDescription(), GetViewerForRoom(), yaze::editor::kInfo, yaze::editor::ToastManager::Show(), yaze::editor::EditorDependencies::toast_manager, yaze::editor::UndoManager::Undo(), yaze::editor::Editor::undo_manager_, and undo_restore_triggered_ping_.
Referenced by DrawRoomTab(), and Initialize().
|
overridevirtual |
Implements yaze::editor::Editor.
Definition at line 208 of file dungeon_editor_v2_undo.cc.
References current_room_id_, yaze::editor::Editor::dependencies_, FinalizePendingUndoActions(), yaze::editor::UndoManager::GetRedoDescription(), GetViewerForRoom(), yaze::editor::kInfo, yaze::editor::UndoManager::Redo(), yaze::editor::ToastManager::Show(), yaze::editor::EditorDependencies::toast_manager, yaze::editor::Editor::undo_manager_, and undo_restore_triggered_ping_.
Referenced by DrawRoomTab(), and Initialize().
|
overridevirtual |
Implements yaze::editor::Editor.
Definition at line 230 of file dungeon_editor_v2_undo.cc.
References current_room_id_, GetViewerForRoom(), and RETURN_IF_ERROR.

|
overridevirtual |
Implements yaze::editor::Editor.
Definition at line 238 of file dungeon_editor_v2_undo.cc.
References current_room_id_, and GetViewerForRoom().

|
overridevirtual |
Implements yaze::editor::Editor.
Definition at line 245 of file dungeon_editor_v2_undo.cc.
References current_room_id_, and GetViewerForRoom().

|
inlineoverridevirtual |
Implements yaze::editor::Editor.
Definition at line 168 of file dungeon_editor_v2.h.
|
inlineoverridevirtual |
Reimplemented from yaze::editor::Editor.
Definition at line 171 of file dungeon_editor_v2.h.
References yaze::editor::UndoManager::CanUndo(), HasPendingUndoSnapshot(), and yaze::editor::Editor::undo_manager_.

|
overridevirtual |
Implements yaze::editor::Editor.
Definition at line 660 of file dungeon_editor_v2_persistence.cc.
References yaze::zelda3::ApplyChestSavePlan(), ASSIGN_OR_RETURN, yaze::zelda3::BuildChestSavePlan(), yaze::editor::Editor::dependencies_, yaze::core::FeatureFlags::Flags::dungeon, entrances_, FinalizePendingUndoActions(), yaze::editor::DungeonRoomStore::ForEachLoaded(), game_data_, yaze::gfx::PaletteManager::Get(), yaze::core::FeatureFlags::get(), yaze::editor::DungeonRoomStore::GetIfMaterialized(), yaze::project::YazeProject::hack_manifest, yaze::editor::ObjectTileEditorPanel::HasUnappliedChanges(), yaze::editor::MinecartTrackEditorPanel::HasUnpublishedChanges(), yaze::Rom::is_loaded(), yaze::core::HackManifest::loaded(), LOG_ERROR, LOG_INFO, minecart_track_editor_panel_, object_tile_editor_panel_, yaze::zelda3::GameData::pit_damage_table, PlanPendingRoomStreamRanges(), yaze::editor::EditorDependencies::project, RETURN_IF_ERROR, rom_, yaze::project::YazeProject::rom_metadata, rooms_, yaze::zelda3::SaveAllBlocks(), yaze::zelda3::SaveAllCollision(), yaze::zelda3::SaveAllDungeonEntrances(), yaze::zelda3::SaveAllDungeonSpawnPoints(), yaze::zelda3::SaveAllPits(), yaze::zelda3::SaveAllTorches(), SaveRoomData(), yaze::editor::DungeonRoomStore::size(), spawn_points_, yaze::editor::EditorDependencies::toast_manager, yaze::editor::ValidateHackManifestSaveConflicts(), ValidateSaveScope(), and yaze::project::RomMetadata::write_policy.
| absl::Status yaze::editor::DungeonEditorV2::ValidateSaveScope | ( | int | only_room = -1, |
| bool | room_data_only = false ) const |
Definition at line 590 of file dungeon_editor_v2_persistence.cc.
References yaze::zelda3::Room::blocks_dirty(), yaze::zelda3::Room::chests_dirty(), yaze::zelda3::Room::custom_collision_dirty(), yaze::zelda3::PitDamageTable::dirty(), yaze::core::FeatureFlags::Flags::dungeon, entrances_, yaze::editor::DungeonRoomStore::ForEachMaterialized(), game_data_, yaze::core::FeatureFlags::get(), yaze::zelda3::Room::header_dirty(), yaze::zelda3::Room::object_stream_dirty(), yaze::zelda3::Room::object_stream_header_dirty(), yaze::zelda3::GameData::pit_damage_table, yaze::zelda3::Room::pot_items_dirty(), RETURN_IF_ERROR, rooms_, spawn_points_, yaze::zelda3::Room::sprites_dirty(), yaze::zelda3::Room::torches_dirty(), and yaze::zelda3::Room::water_fill_dirty().
Referenced by Save().
|
overridevirtual |
Reimplemented from yaze::editor::Editor.
Definition at line 477 of file dungeon_editor_v2_persistence.cc.
References yaze::zelda3::Room::CaptureSaveDirtySnapshot(), yaze::zelda3::PitDamageTable::dirty(), yaze::editor::DungeonEditorV2::SaveTransactionSnapshot::entrance_dirty_states, entrances_, FinalizePendingUndoActions(), yaze::editor::DungeonRoomStore::ForEachMaterialized(), game_data_, yaze::gfx::PaletteManager::Get(), yaze::core::FeatureFlags::get(), yaze::editor::DungeonEditorV2::SaveTransactionSnapshot::has_palette_transaction, yaze::editor::DungeonEditorV2::SaveTransactionSnapshot::has_pit_damage_table, yaze::editor::DungeonEditorV2::SaveTransactionSnapshot::pit_damage_dirty, yaze::zelda3::GameData::pit_damage_table, RETURN_IF_ERROR, yaze::editor::DungeonEditorV2::SaveTransactionSnapshot::room_states, rooms_, save_transaction_snapshot_, yaze::editor::DungeonEditorV2::SaveTransactionSnapshot::spawn_dirty_states, and spawn_points_.
Referenced by RunWithSaveTransaction().
|
overridevirtual |
Reimplemented from yaze::editor::Editor.
Definition at line 515 of file dungeon_editor_v2_persistence.cc.
References yaze::zelda3::PitDamageTable::ClearDirty(), entrances_, game_data_, yaze::gfx::PaletteManager::Get(), yaze::editor::DungeonRoomStore::GetIfMaterialized(), yaze::zelda3::PitDamageTable::MarkDirty(), yaze::zelda3::GameData::pit_damage_table, yaze::gfx::PaletteManager::RollbackSaveTransaction(), rooms_, save_transaction_snapshot_, and spawn_points_.
Referenced by RunWithSaveTransaction().
|
overridevirtual |
Reimplemented from yaze::editor::Editor.
Definition at line 553 of file dungeon_editor_v2_persistence.cc.
References yaze::gfx::PaletteManager::CommitSaveTransaction(), entrance_property_save_generation_, yaze::gfx::PaletteManager::Get(), and save_transaction_snapshot_.
Referenced by RunWithSaveTransaction().

|
overridevirtual |
Reimplemented from yaze::editor::Editor.
Definition at line 36 of file dungeon_editor_v2_context.cc.
References yaze::editor::JumpToRoomRequestEvent::Create(), current_room_id(), CurrentRoomHasPendingChanges(), yaze::editor::Editor::dependencies_, yaze::editor::GlobalEditorContext::GetEventBus(), yaze::editor::EditorDependencies::global_context, IsWorkbenchWorkflowEnabled(), yaze::editor::workflow_mode_names::kStandalone, yaze::editor::workflow_mode_names::kWorkbench, LoadedRoomCount(), yaze::editor::StatusBarSegmentOptions::on_click, yaze::EventBus::Publish(), yaze::editor::EditorDependencies::session_id, yaze::editor::StatusBar::SetCustomSegment(), yaze::editor::StatusBar::SetEditorMode(), ToggleWorkbenchWorkflowMode(), yaze::editor::StatusBarSegmentOptions::tooltip, and TotalRoomCount().
|
overridevirtual |
Reimplemented from yaze::editor::Editor.
Definition at line 91 of file dungeon_editor_v2_context.cc.
References yaze::editor::EditorContextSnapshot::actions, yaze::editor::AppendResolvedGraphicsContext(), yaze::zelda3::Room::blockset(), yaze::editor::EditorContextSnapshot::capabilities, yaze::editor::EditorContextSnapshot::category, yaze::editor::EditorContextSnapshot::counts, current_entrance_id_, current_room_id_, yaze::editor::DungeonRenderContext::default_entrance, yaze::editor::Editor::dependencies_, yaze::zelda3::DescribeDungeonGraphicsContext(), yaze::editor::EditorContextSnapshot::diagnostics, dungeon_render_context_census_error_, yaze::editor::DungeonEntrancePreviewLabel(), yaze::editor::DungeonRenderContextSourceName(), yaze::editor::DungeonRenderContext::effective_blockset(), yaze::editor::DungeonRenderContext::entrance_slot, yaze::zelda3::Room::GetChests(), yaze::zelda3::Room::GetDoors(), GetEntranceCameraState(), yaze::editor::DungeonRoomStore::GetIfMaterialized(), yaze::zelda3::Room::GetPotItems(), yaze::editor::dungeon_project_labels::GetRoomLabel(), yaze::zelda3::Room::GetSprites(), yaze::zelda3::Room::GetStairs(), yaze::zelda3::Room::GetTileObjectCount(), yaze::project::YazeProject::hack_manifest, yaze::editor::EditorContextSnapshot::has_pending_changes, yaze::editor::EditorContextSnapshot::HasCapability(), yaze::zelda3::Room::HasUnsavedChanges(), IsValidRoomId(), IsWorkbenchWorkflowEnabled(), yaze::editor::kAmbiguous, yaze::editor::kError, yaze::editor::kInfo, kMinecartTrackEditorId, yaze::zelda3::kNumDungeonSpawnPoints, yaze::editor::workflow_mode_names::kStandalone, yaze::editor::kWarning, yaze::editor::workflow_mode_names::kWorkbench, yaze::core::HackManifest::loaded(), yaze::editor::EditorContextSnapshot::metadata, yaze::core::HackManifest::minecart_track_layout(), yaze::project::YazeProject::name, yaze::editor::DungeonRenderContext::owner_name, yaze::zelda3::Room::palette(), yaze::editor::EditorContextSnapshot::pending_label, yaze::editor::EditorDependencies::project, yaze::zelda3::GraphicsContextIdentity::project_name, ResolveDungeonRenderContextForRoom(), rooms_, yaze::editor::EditorContextSnapshot::semantic_owner, yaze::editor::DungeonRenderContext::source, yaze::core::MinecartTrackLayout::source, yaze::zelda3::Room::spriteset(), yaze::editor::EditorContextSnapshot::subtitle, yaze::editor::EditorContextSnapshot::title, yaze::editor::DungeonRenderContext::uses_entrance(), and yaze::editor::ValidateDungeonEntranceCamera().
| absl::Status yaze::editor::DungeonEditorV2::SaveRoom | ( | int | room_id | ) |
Definition at line 971 of file dungeon_editor_v2_persistence.cc.
Referenced by Initialize(), yaze::test::DungeonEditorTestSuite::RunRoomSaveTest(), and WireViewerPanelCallbacks().
| absl::StatusOr< DungeonConnectionPlan > yaze::editor::DungeonEditorV2::PreviewDoorConnection | ( | const DungeonConnectionRequest & | request | ) |
Definition at line 99 of file dungeon_editor_v2_connection_edits.cc.
References ASSIGN_OR_RETURN, yaze::editor::DungeonConnectionTargetRoom(), EnsureConnectionRoomLoaded(), yaze::editor::DungeonRoomStore::GetIfLoaded(), yaze::Rom::is_loaded(), yaze::editor::PlanDungeonDoorConnection(), RETURN_IF_ERROR, rom_, rooms_, yaze::editor::DungeonConnectionRequest::source_door_index, and yaze::editor::DungeonConnectionRequest::source_room_id.
Referenced by ApplyDoorConnection(), and ConfigureViewerUndoHooks().
| absl::Status yaze::editor::DungeonEditorV2::ApplyDoorConnection | ( | const DungeonConnectionPlan & | plan | ) |
Definition at line 119 of file dungeon_editor_v2_connection_edits.cc.
References yaze::editor::DungeonSelectionEditPlan::after, ASSIGN_OR_RETURN, yaze::editor::DungeonSelectionEditPlan::before, yaze::editor::Editor::context(), yaze::editor::Editor::dependencies_, yaze::editor::DungeonSelectionEditPlan::domains, yaze::editor::DungeonSelectionEditState::doors, FinalizePendingUndoActions(), yaze::project::YazeProject::hack_manifest, yaze::editor::kSelectionDoors, yaze::core::HackManifest::loaded(), PlanPendingRoomStreamRanges(), PreviewDoorConnection(), yaze::editor::EditorDependencies::project, PushSelectionUndoBatch(), yaze::editor::DungeonConnectionPlan::request, RestoreSelectionEditBatch(), RETURN_IF_ERROR, yaze::editor::DungeonConnectionPlan::rom, rom_, yaze::project::YazeProject::rom_metadata, yaze::editor::DungeonSelectionEditPlan::room_id, room_viewers_, yaze::editor::SameDungeonDoors(), yaze::editor::DungeonSelectionEditState::selected_entities, yaze::editor::DungeonSelectionEditState::selected_objects, yaze::editor::ValidateHackManifestSaveConflicts(), workbench_compare_viewer_, workbench_viewer_, and yaze::project::RomMetadata::write_policy.
Referenced by ConfigureViewerUndoHooks().
| absl::StatusOr< std::string > yaze::editor::DungeonEditorV2::ExportRoomDocument | ( | int | room_id | ) |
Definition at line 272 of file dungeon_editor_v2_room_transfer.cc.
References yaze::editor::CaptureDungeonRoomDocument(), EnsureRoomTransferLoaded(), yaze::editor::DungeonRoomStore::GetIfLoaded(), RETURN_IF_ERROR, rooms_, and yaze::editor::SerializeDungeonRoomDocument().
Referenced by ConfigureViewerUndoHooks().

| absl::StatusOr< DungeonRoomTransferPlan > yaze::editor::DungeonEditorV2::PreviewRoomTransfer | ( | int | target_room_id, |
| int | source_room_id, | ||
| const std::string & | json, | ||
| const DungeonRoomTransferOptions & | options ) |
Definition at line 278 of file dungeon_editor_v2_room_transfer.cc.
References ASSIGN_OR_RETURN, yaze::editor::CaptureDungeonRoomDocument(), EnsureRoomTransferLoaded(), yaze::editor::DungeonRoomStore::GetIfLoaded(), yaze::editor::ParseDungeonRoomDocument(), yaze::editor::PlanDungeonRoomTransfer(), PreflightRoomTransfer(), RETURN_IF_ERROR, rom_, room_viewers_, rooms_, workbench_compare_viewer_, and workbench_viewer_.
Referenced by ConfigureViewerUndoHooks().
| absl::Status yaze::editor::DungeonEditorV2::ApplyRoomTransfer | ( | const DungeonRoomTransferPlan & | plan | ) |
Definition at line 436 of file dungeon_editor_v2_room_transfer.cc.
References yaze::editor::DungeonRoomTransferPlan::after, ASSIGN_OR_RETURN, yaze::editor::DungeonRoomTransferPlan::before, yaze::editor::CaptureDungeonRoomDocument(), yaze::editor::DungeonRoomTransferPlan::changed(), yaze::editor::DungeonRoomTransferPlan::clone_source_before, yaze::editor::DungeonRoomTransferPlan::clone_source_room_id, FinalizePendingUndoActions(), yaze::editor::DungeonRoomStore::GetIfLoaded(), yaze::editor::DungeonRoomTransferPlan::options, yaze::editor::PlanDungeonRoomTransfer(), PreflightRoomTransfer(), yaze::editor::UndoManager::Push(), RestoreRoomTransfer(), RETURN_IF_ERROR, rom(), yaze::editor::DungeonRoomTransferPlan::rom, rom_, rooms_, yaze::editor::SameDungeonRoomDocument(), yaze::editor::DungeonRoomTransferPlan::target_room_id, and yaze::editor::Editor::undo_manager_.
Referenced by ConfigureViewerUndoHooks().
| absl::Status yaze::editor::DungeonEditorV2::EditRoomMetadata | ( | int | room_id, |
| const RoomMetadataEdit & | edit ) |
Definition at line 53 of file dungeon_editor_v2_room_edits.cc.
References EditRoomMetadataBatch().
Referenced by ConfigureViewerUndoHooks(), and Load().

| absl::Status yaze::editor::DungeonEditorV2::EditRoomGraphicsSheet | ( | int | room_id, |
| int | slot, | ||
| int | sheet_id ) |
Definition at line 105 of file dungeon_editor_v2_undo.cc.
References yaze::zelda3::Room::blockset(), FinalizePendingUndoActions(), yaze::editor::DungeonRoomStore::ForEachMaterialized(), game_data_, yaze::zelda3::GetGfxSheetStorageKind(), yaze::editor::DungeonRoomStore::GetIfMaterialized(), yaze::zelda3::GraphicsSheetStore::HasSheet(), yaze::Rom::is_loaded(), yaze::zelda3::kCompressed2bpp, yaze::zelda3::GraphicsSheetStore::kSheetCount, yaze::editor::UndoManager::Push(), RETURN_IF_ERROR, rom_, yaze::zelda3::GameData::room_blockset_ids, rooms_, yaze::Rom::set_dirty(), yaze::zelda3::GraphicsSheetStoreHolder::sheet_store, and yaze::editor::Editor::undo_manager_.
Referenced by Load().
|
inline |
Definition at line 199 of file dungeon_editor_v2.h.
References room_graphics_overworld_provider_.
| absl::StatusOr< zelda3::RoomsetUsageReport > yaze::editor::DungeonEditorV2::GetRoomGraphicsUsage | ( | int | roomset | ) | const |
Definition at line 19 of file dungeon_editor_v2_context.cc.
References yaze::zelda3::Room::blockset(), yaze::zelda3::CollectRoomGfx(), yaze::zelda3::DescribeRoomsetUsage(), yaze::editor::DungeonRoomStore::ForEachLoaded(), game_data_, yaze::Rom::is_loaded(), rom_, room_graphics_overworld_provider_, rooms_, and yaze::zelda3::Room::spriteset().
Referenced by Load().
| absl::Status yaze::editor::DungeonEditorV2::EditRoomMetadataBatch | ( | const std::vector< RoomMetadataRequest > & | requests | ) |
Definition at line 58 of file dungeon_editor_v2_room_edits.cc.
References yaze::editor::ApplyRoomMetadataEdit(), yaze::zelda3::Room::CaptureMetadataSnapshot(), FinalizePendingUndoActions(), yaze::editor::DungeonRoomStore::GetIfLoaded(), yaze::editor::UndoManager::Push(), yaze::zelda3::Room::RestoreMetadataSnapshot(), RestoreRoomMetadataBatch(), RETURN_IF_ERROR, rom_, rooms_, yaze::editor::Editor::undo_manager_, and yaze::editor::ValidateRoomMetadataEdit().
Referenced by ConfigureViewerUndoHooks(), and EditRoomMetadata().
| absl::Status yaze::editor::DungeonEditorV2::EditChest | ( | int | room_id, |
| size_t | index, | ||
| uint8_t | item_id, | ||
| bool | big_chest ) |
Definition at line 92 of file dungeon_editor_v2_chest_edits.cc.
References ApplyChestObjectEdit(), ASSIGN_OR_RETURN, yaze::zelda3::CanonicalRoomObjectSize(), yaze::zelda3::Chest, FinalizePendingUndoActions(), yaze::editor::DungeonRoomStore::GetIfLoaded(), yaze::zelda3::PlanChestObjectEdit(), PreflightObjectMutation(), yaze::editor::UndoManager::Push(), RestoreChest(), RETURN_IF_ERROR, rom_, rooms_, and yaze::editor::Editor::undo_manager_.
Referenced by ConfigureViewerUndoHooks().
| absl::Status yaze::editor::DungeonEditorV2::DeleteChest | ( | int | room_id, |
| size_t | index ) |
Definition at line 141 of file dungeon_editor_v2_chest_edits.cc.
References ApplyChestObjectEdit(), ASSIGN_OR_RETURN, yaze::editor::DungeonRoomStore::GetIfLoaded(), yaze::zelda3::PlanChestObjectEdit(), rom_, and rooms_.
Referenced by ConfigureViewerUndoHooks().

| int yaze::editor::DungeonEditorV2::LoadedRoomCount | ( | ) | const |
Definition at line 1641 of file dungeon_editor_v2.cc.
References yaze::editor::DungeonRoomStore::LoadedCount(), and rooms_.
Referenced by ContributeStatus().

| int yaze::editor::DungeonEditorV2::PendingRoomCount | ( | ) | const |
Definition at line 1645 of file dungeon_editor_v2.cc.
References yaze::editor::DungeonRoomStore::ForEachMaterialized(), yaze::zelda3::Room::HasUnsavedChanges(), and rooms_.
Referenced by HasPendingRoomChanges().

| bool yaze::editor::DungeonEditorV2::HasPendingRoomChanges | ( | ) | const |
Definition at line 1655 of file dungeon_editor_v2.cc.
References PendingRoomCount().
Referenced by HasPendingDungeonChanges().

| bool yaze::editor::DungeonEditorV2::HasPendingDungeonChanges | ( | ) | const |
Definition at line 1664 of file dungeon_editor_v2.cc.
References yaze::zelda3::PitDamageTable::dirty(), entrances_, game_data_, HasPendingRoomChanges(), yaze::editor::ObjectTileEditorPanel::HasUnappliedChanges(), HasUnpublishedMinecartTrackChanges(), object_tile_editor_panel_, yaze::zelda3::GameData::pit_damage_table, and spawn_points_.

| bool yaze::editor::DungeonEditorV2::HasUnpublishedMinecartTrackChanges | ( | ) | const |
Definition at line 1659 of file dungeon_editor_v2.cc.
References yaze::editor::MinecartTrackEditorPanel::HasUnpublishedChanges(), and minecart_track_editor_panel_.
Referenced by HasPendingDungeonChanges().

| bool yaze::editor::DungeonEditorV2::HasPendingProjectDraftChanges | ( | ) | const |
Definition at line 1690 of file dungeon_editor_v2.cc.
References yaze::editor::MinecartTrackEditorPanel::HasPendingProjectDraftChanges(), and minecart_track_editor_panel_.

| absl::Status yaze::editor::DungeonEditorV2::PrepareProjectSave | ( | ) |
Definition at line 1695 of file dungeon_editor_v2.cc.
References minecart_track_editor_panel_, and yaze::editor::MinecartTrackEditorPanel::PrepareProjectSave().

| bool yaze::editor::DungeonEditorV2::CurrentRoomHasPendingChanges | ( | ) | const |
Definition at line 1701 of file dungeon_editor_v2.cc.
References current_room_id_, yaze::editor::DungeonRoomStore::GetIfMaterialized(), rooms_, and yaze::editor::DungeonRoomStore::size().
Referenced by ContributeStatus().

|
inline |
Definition at line 221 of file dungeon_editor_v2.h.
References rooms_, and yaze::editor::DungeonRoomStore::size().
Referenced by ContributeStatus().

| std::vector< std::pair< uint32_t, uint32_t > > yaze::editor::DungeonEditorV2::CollectWriteRanges | ( | ) | const |
Definition at line 855 of file dungeon_editor_v2_persistence.cc.
References yaze::zelda3::CollectDirtyDungeonSpawnPointWriteRanges(), yaze::zelda3::CollectDirtyRegularDungeonEntranceWriteRanges(), yaze::core::FeatureFlags::Flags::dungeon, entrances_, yaze::editor::DungeonRoomStore::ForEachLoaded(), game_data_, yaze::gfx::PaletteManager::Get(), yaze::core::FeatureFlags::get(), yaze::zelda3::Room::header_dirty(), yaze::zelda3::Room::id(), yaze::Rom::is_loaded(), yaze::zelda3::kMessagesIdDungeon, LOG_ERROR, LOG_WARN, PlanPendingRoomStreamRanges(), rom_, rooms_, spawn_points_, and yaze::Rom::vector().
|
inline |
Definition at line 229 of file dungeon_editor_v2.h.
References automatic_entrance_preview_, yaze::editor::DungeonRoomStore::Clear(), current_entrance_id_, game_data_, InvalidateDungeonRenderContextCensus(), yaze::zelda3::kNumDungeonSpawnPoints, rom(), rom_, room_loader_, room_selector_, room_viewers_, rooms_, selection_clipboard_, yaze::editor::DungeonRoomSelector::set_current_entrance_id(), yaze::editor::DungeonRoomLoader::SetGameData(), yaze::editor::DungeonRoomSelector::SetRom(), yaze::editor::DungeonRoomStore::SetRom(), workbench_compare_viewer_, and workbench_viewer_.
Referenced by Initialize(), PreflightRoomTransfer(), and RestoreRoomTransfer().
| absl::Status yaze::editor::DungeonEditorV2::RefreshRomBackedState | ( | ) |
Definition at line 420 of file dungeon_editor_v2.cc.
References ApplyEntranceRenderContext(), yaze::zelda3::BuildDungeonRenderPaletteGroupFromGameData(), yaze::editor::ObjectSelectorContent::CancelPlacement(), yaze::editor::UndoManager::Clear(), yaze::gfx::SnesPalette::clear(), yaze::editor::ObjectTileEditorPanel::Close(), current_entrance_id_, current_palette_, current_palette_group_, current_palette_group_id_, current_palette_id_, current_room_id_, yaze::editor::Editor::dependencies_, dungeon_editor_system_, yaze::gfx::PaletteGroupMap::dungeon_main, yaze::gfx::PaletteGroup::empty(), entrances_, yaze::editor::DungeonRoomStore::ForEachMaterialized(), game_data_, yaze::editor::DungeonRoomStore::GetIfMaterialized(), has_pending_undo_, yaze::gui::PaletteEditorWidget::Initialize(), InvalidateDungeonRenderContextCensus(), yaze::editor::DungeonObjectSelector::InvalidatePreviewCache(), yaze::Rom::is_loaded(), is_loaded_, yaze::zelda3::Room::IsLoaded(), IsValidRoomId(), IsWorkbenchWorkflowEnabled(), yaze::editor::DungeonRoomLoader::LoadDungeonSpawnPoints(), yaze::editor::DungeonRoomLoader::LoadRoom(), yaze::editor::DungeonRoomLoader::LoadRoomEntrances(), yaze::zelda3::LoadRoomHeaderFromRom(), minecart_track_editor_panel_, object_coverage_panel_, yaze::editor::ObjectSelectorContent::object_selector(), object_selector_panel_, object_tile_editor_panel_, palette_editor_, yaze::zelda3::GameData::palette_groups, pending_collision_undo_, pending_entity_undo_, pending_selection_undo_, pending_standalone_tool_window_, pending_swap_, pending_undo_, pending_water_fill_undo_, pending_workflow_mode_, yaze::editor::EditorDependencies::project, yaze::editor::DungeonCanvasViewer::RefreshRomBackedState(), RefreshViewerRuntimeContext(), ReloadWaterFillZones(), RETURN_IF_ERROR, rom_, room_graphics_panel_, room_loader_, room_selector_, room_tag_editor_panel_, room_viewers_, rooms_, save_transaction_snapshot_, selection_clipboard_, yaze::editor::DungeonRoomSelector::set_current_entrance_id(), yaze::editor::DungeonRoomSelector::set_entrances(), yaze::editor::DungeonRoomSelector::set_rooms(), yaze::editor::DungeonRoomSelector::set_spawn_points(), yaze::editor::ObjectSelectorContent::SetContext(), yaze::editor::ObjectSelectorContent::SetCurrentPaletteGroup(), yaze::editor::ObjectTileEditorPanel::SetCurrentPaletteGroup(), yaze::editor::RoomGraphicsContent::SetCurrentPaletteGroup(), yaze::gui::PaletteEditorWidget::SetCurrentPaletteId(), yaze::editor::ObjectSelectorContent::SetCurrentRoom(), yaze::gui::PaletteEditorWidget::SetDungeonRenderPaletteMode(), yaze::zelda3::Room::SetGameData(), yaze::editor::DungeonRoomLoader::SetGameData(), yaze::editor::DungeonRoomStore::SetGameData(), yaze::editor::ObjectCoveragePanel::SetProject(), yaze::editor::DungeonRoomLoader::SetRom(), yaze::editor::DungeonRoomSelector::SetRom(), yaze::editor::DungeonRoomStore::SetRom(), yaze::editor::DungeonWorkbenchContent::SetRom(), yaze::editor::ObjectSelectorContent::SetRooms(), yaze::editor::MinecartTrackEditorPanel::SetRooms(), yaze::editor::ObjectCoveragePanel::SetRooms(), yaze::editor::RoomTagEditorPanel::SetRooms(), yaze::gfx::PaletteGroup::size(), spawn_points_, SyncPanelsToRoom(), yaze::editor::Editor::undo_manager_, undo_restore_triggered_ping_, workbench_compare_viewer_, workbench_panel_, and workbench_viewer_.
|
inline |
Definition at line 254 of file dungeon_editor_v2.h.
References rom_.
Referenced by ApplyRoomTransfer(), DungeonEditorV2(), and SetRom().
| void yaze::editor::DungeonEditorV2::add_room | ( | int | room_id | ) |
Definition at line 2290 of file dungeon_editor_v2.cc.
References OnRoomSelected().
Referenced by yaze::test::DungeonEditorTestSuite::RunObjectManipulationTest(), and yaze::test::DungeonEditorTestSuite::RunRoomSaveTest().

| void yaze::editor::DungeonEditorV2::FocusRoom | ( | int | room_id | ) |
Definition at line 2294 of file dungeon_editor_v2.cc.
References room_cards_.
Referenced by OnRoomSelected().
| void yaze::editor::DungeonEditorV2::SelectObject | ( | int | obj_id | ) |
Definition at line 2301 of file dungeon_editor_v2.cc.
References IsWorkbenchWorkflowEnabled(), kObjectSelectorId, object_selector_panel_, yaze::editor::DungeonWorkbenchContent::OpenObjectSelectorTool(), OpenWindow(), yaze::editor::ObjectSelectorContent::SelectObject(), and workbench_panel_.

| void yaze::editor::DungeonEditorV2::SetAgentMode | ( | bool | enabled | ) |
Definition at line 2313 of file dungeon_editor_v2.cc.
References yaze::editor::Editor::dependencies_, IsWorkbenchWorkflowEnabled(), kObjectSelectorId, kRoomGraphicsId, kRoomSelectorId, object_selector_panel_, yaze::editor::DungeonWorkbenchContent::OpenObjectSelectorTool(), OpenWindow(), yaze::editor::ObjectSelectorContent::SetAgentOptimizedLayout(), yaze::editor::EditorDependencies::window_manager, and workbench_panel_.

| bool yaze::editor::DungeonEditorV2::CanHandleDungeonNavigationShortcut | ( | ) | const |
Definition at line 1503 of file dungeon_editor_v2.cc.
References entrance_navigator_panel_, yaze::editor::DungeonEntrancesPanel::OwnsNavigationShortcutFocus(), yaze::editor::RoomMatrixContent::OwnsNavigationShortcutFocus(), room_matrix_panel_, room_viewers_, workbench_compare_viewer_, and workbench_viewer_.

| bool yaze::editor::DungeonEditorV2::NavigateToAdjacentRoom | ( | DungeonRoomNavigationDirection | direction | ) |
Definition at line 1529 of file dungeon_editor_v2.cc.
References current_room_id_, IsValidRoomId(), IsWorkbenchWorkflowEnabled(), yaze::editor::kDown, yaze::editor::kLeft, yaze::editor::kRight, yaze::editor::kUp, OnRoomSelected(), and SwapRoomInPanel().

| bool yaze::editor::DungeonEditorV2::CycleRoomSelection | ( | int | direction | ) |
Definition at line 1567 of file dungeon_editor_v2.cc.
References active_rooms_, current_room_id_, IsWorkbenchWorkflowEnabled(), OnRoomSelected(), and recent_rooms_.

| bool yaze::editor::DungeonEditorV2::CycleObjectSelection | ( | int | direction | ) |
Definition at line 1609 of file dungeon_editor_v2.cc.
References yaze::editor::Editor::context(), current_room_id_, yaze::editor::DungeonRoomStore::GetIfLoaded(), GetViewerForRoom(), IsValidRoomId(), and rooms_.

|
inlineoverridevirtual |
Reimplemented from yaze::editor::Editor.
Definition at line 270 of file dungeon_editor_v2.h.
References yaze::Rom::is_loaded(), and rom_.

|
inlineoverridevirtual |
Reimplemented from yaze::editor::Editor.
Definition at line 271 of file dungeon_editor_v2.h.
References yaze::Rom::is_loaded(), rom_, and yaze::Rom::title().

|
inline |
Definition at line 280 of file dungeon_editor_v2.h.
References yaze::editor::Editor::dependencies_, yaze::editor::WorkspaceWindowManager::OpenWindow(), and yaze::editor::EditorDependencies::window_manager.
Referenced by FocusObjectCoverage(), Load(), SelectObject(), SetAgentMode(), and WireViewerPanelCallbacks().

| absl::Status yaze::editor::DungeonEditorV2::EnsureMinecartTrackEditorPanel | ( | ) |
Definition at line 222 of file dungeon_editor_v2.cc.
References ConfigureMinecartProjectCallbacks(), custom_collision_panel_, yaze::editor::Editor::dependencies_, yaze::core::FeatureFlags::get(), yaze::editor::WorkspaceWindowManager::GetActiveSessionId(), yaze::editor::kWarning, minecart_track_editor_panel_, object_coverage_panel_, OnRoomSelected(), owned_minecart_track_editor_panel_, yaze::editor::EditorDependencies::project, yaze::editor::WorkspaceWindowManager::RegisterWindowContent(), RETURN_IF_ERROR, room_tag_editor_panel_, room_viewers_, rooms_, yaze::editor::EditorDependencies::session_id, yaze::editor::DungeonWorkbenchContent::SetEmbeddedToolPanels(), yaze::editor::DungeonWorkbenchContent::SetObjectCoverageContent(), yaze::editor::ToastManager::Show(), yaze::editor::EditorDependencies::toast_manager, water_fill_panel_, yaze::editor::EditorDependencies::window_manager, workbench_compare_viewer_, workbench_panel_, and workbench_viewer_.
Referenced by Load().
| void yaze::editor::DungeonEditorV2::SetWorkbenchWorkflowMode | ( | bool | enabled, |
| bool | show_toast = true ) |
Definition at line 1722 of file dungeon_editor_v2.cc.
References current_room_id_, yaze::editor::Editor::dependencies_, yaze::editor::WorkspaceWindowManager::GetActiveSessionId(), is_loaded_, IsValidRoomId(), IsWorkbenchWorkflowEnabled(), yaze::editor::kInfo, kRoomMatrixId, yaze::editor::ToastManager::Show(), ShowRoomPanel(), SyncPanelsToRoom(), yaze::editor::EditorDependencies::toast_manager, yaze::editor::EditorDependencies::window_manager, and workbench_suspended_navigation_window_ids_.
Referenced by Initialize(), OnRoomSelected(), and ProcessPendingWorkflowMode().
| void yaze::editor::DungeonEditorV2::QueueWorkbenchWorkflowMode | ( | bool | enabled, |
| bool | show_toast = true ) |
Definition at line 1784 of file dungeon_editor_v2.cc.
References yaze::editor::DungeonEditorV2::PendingWorkflowMode::enabled, yaze::editor::DungeonEditorV2::PendingWorkflowMode::pending, pending_workflow_mode_, and yaze::editor::DungeonEditorV2::PendingWorkflowMode::show_toast.
Referenced by DrawRoomTab(), Initialize(), and ToggleWorkbenchWorkflowMode().
| void yaze::editor::DungeonEditorV2::ToggleWorkbenchWorkflowMode | ( | bool | show_toast = true | ) |
Definition at line 1791 of file dungeon_editor_v2.cc.
References IsWorkbenchWorkflowEnabled(), and QueueWorkbenchWorkflowMode().
Referenced by ContributeStatus().

| bool yaze::editor::DungeonEditorV2::IsWorkbenchWorkflowEnabled | ( | ) | const |
Definition at line 1712 of file dungeon_editor_v2.cc.
References yaze::editor::Editor::dependencies_, yaze::core::FeatureFlags::get(), yaze::editor::WorkspaceWindowManager::IsWindowOpen(), and yaze::editor::EditorDependencies::window_manager.
Referenced by BeginUndoSnapshot(), BuildContextSnapshot(), CaptureRoomEntities(), ContributeStatus(), CycleRoomSelection(), DrawRoomTab(), FinalizeUndoAction(), FocusObjectCoverage(), GetViewerForRoom(), NavigateToAdjacentRoom(), OnRoomSelected(), OnRoomSelected(), RefreshRomBackedState(), RestoreRoomObjects(), SelectObject(), SetAgentMode(), SetWorkbenchWorkflowMode(), ToggleWorkbenchWorkflowMode(), Update(), and WireViewerPanelCallbacks().

| void yaze::editor::DungeonEditorV2::QueueRoomCanvasDeleteShortcut | ( | ) |
Definition at line 2021 of file dungeon_editor_v2.cc.
References room_canvas_delete_shortcut_frame_.
|
inline |
Definition at line 316 of file dungeon_editor_v2.h.
References yaze::editor::DungeonRoomSelector::current_room_id(), and room_selector_.
Referenced by ContributeStatus(), and FinalizeEntityUndoAction().

|
inline |
Definition at line 317 of file dungeon_editor_v2.h.
References current_room_id_.
|
inline |
Definition at line 318 of file dungeon_editor_v2.h.
References yaze::editor::DungeonRoomSelector::active_rooms(), and room_selector_.

|
inline |
Definition at line 321 of file dungeon_editor_v2.h.
References rooms_.
Referenced by yaze::test::DungeonEditorTestSuite::RunObjectManipulationTest(), and yaze::test::DungeonEditorTestSuite::RunRoomSaveTest().
|
inline |
Definition at line 322 of file dungeon_editor_v2.h.
References rooms_.
|
inline |
Definition at line 323 of file dungeon_editor_v2.h.
References renderer_.
|
inline |
Definition at line 324 of file dungeon_editor_v2.h.
References object_selector_panel_.
|
inline |
Definition at line 327 of file dungeon_editor_v2.h.
References object_selector_panel_.
|
inline |
Definition at line 330 of file dungeon_editor_v2.h.
References door_editor_panel_.
|
inline |
Get the list of recently visited room IDs.
Definition at line 336 of file dungeon_editor_v2.h.
References recent_rooms_.
|
private |
Definition at line 1795 of file dungeon_editor_v2.cc.
References active_rooms_, yaze::editor::Editor::dependencies_, DrawRoomTab(), yaze::editor::WorkspaceWindowManager::GetActiveCategory(), yaze::editor::WorkspaceWindowManager::IsWindowOpen(), yaze::editor::WorkspaceWindowManager::IsWindowPinned(), OnRoomSelected(), ReleaseRoomPanelSlotId(), room_cards_, room_dock_id_, room_viewers_, room_window_class_, ShowRoomPanel(), yaze::editor::WorkspaceWindowManager::UnregisterWindow(), and yaze::editor::EditorDependencies::window_manager.
Referenced by Update().
|
private |
Definition at line 1876 of file dungeon_editor_v2.cc.
References ApplyEntranceRenderContext(), yaze::editor::DungeonStatusBar::BuildState(), yaze::editor::UndoManager::CanRedo(), yaze::editor::UndoManager::CanUndo(), ConsumeRoomCanvasDeleteShortcut(), yaze::editor::Editor::dependencies_, yaze::editor::DungeonStatusBar::Draw(), dungeon_editor_system_, yaze::core::FeatureFlags::get(), yaze::emu::mesen::MesenClientRegistry::GetClient(), GetStandaloneViewerForRoom(), yaze::editor::AgentUI::GetTheme(), ICON_MD_CHECK, ICON_MD_PENDING, ICON_MD_ROCKET_LAUNCH, ICON_MD_WORKSPACES, IsWorkbenchWorkflowEnabled(), yaze::editor::kError, yaze::editor::workflow_mode_names::kStandalone, yaze::gui::UIConfig::kStatusBarHeight, yaze::editor::kSuccess, yaze::editor::DungeonRoomLoader::LoadRoom(), LOG_ERROR, QueueWorkbenchWorkflowMode(), Redo(), room_loader_, rooms_, yaze::editor::ToastManager::Show(), yaze::editor::DungeonRoomStore::size(), yaze::editor::EditorDependencies::toast_manager, Undo(), yaze::editor::Editor::undo_manager_, and yaze::editor::UndoManager::UndoStackSize().
Referenced by DrawRoomPanels().
|
private |
Definition at line 2331 of file dungeon_editor_v2.cc.
References yaze::gfx::Arena::Get(), yaze::gfx::Arena::ProcessTextureQueue(), and renderer_.

|
private |
Definition at line 618 of file dungeon_editor_v2.cc.
References yaze::zelda3::Room::ClearWaterFillDirty(), yaze::zelda3::Room::ClearWaterFillZone(), yaze::editor::Editor::dependencies_, yaze::core::FeatureFlags::Flags::dungeon, yaze::editor::DungeonRoomStore::ForEachMaterialized(), yaze::core::FeatureFlags::get(), yaze::project::YazeProject::GetAbsolutePath(), yaze::editor::kInfo, yaze::core::FeatureFlags::Flags::Dungeon::kSaveWaterFillZones, yaze::editor::kWarning, yaze::zelda3::LoadLegacyWaterGateZones(), yaze::zelda3::LoadWaterFillTable(), LOG_WARN, yaze::editor::EditorDependencies::project, rom_, rooms_, yaze::zelda3::Room::set_water_fill_sram_bit_mask(), yaze::zelda3::Room::SetWaterFillTile(), yaze::editor::ToastManager::Show(), yaze::editor::DungeonRoomStore::size(), yaze::project::YazeProject::symbols_filename, and yaze::editor::EditorDependencies::toast_manager.
Referenced by Load(), and RefreshRomBackedState().
|
private |
Definition at line 2078 of file dungeon_editor_v2.cc.
References active_rooms_, ApplyEntranceRenderContext(), automatic_entrance_preview_, yaze::zelda3::BuildDungeonRenderPaletteGroupFromGameData(), ConfigureViewerRenderContext(), yaze::editor::Editor::context(), current_entrance_id_, current_palette_, current_palette_group_, current_palette_group_id_, current_palette_id_, current_room_id_, yaze::editor::Editor::dependencies_, dungeon_editor_system_, yaze::gfx::PaletteGroupMap::dungeon_main, FocusRoom(), yaze::editor::Editor::game_data(), yaze::zelda3::GetRoomLabel(), GetViewerForRoom(), ICON_MD_GRID_ON, yaze::editor::WorkspaceWindowManager::IsWindowOpen(), IsWorkbenchWorkflowEnabled(), kMaxRecentRooms, yaze::editor::DungeonRoomLoader::LoadRoom(), LOG_WARN, yaze::editor::DungeonWorkbenchContent::NotifyRoomChanged(), object_selector_panel_, object_tile_editor_panel_, yaze::editor::WorkspaceWindowManager::OpenWindow(), yaze::editor::WindowPresentationPolicy::OptionalPopOut(), palette_editor_, yaze::zelda3::GameData::palette_groups, recent_rooms_, yaze::editor::WorkspaceWindowManager::RegisterWindow(), ResolveDungeonRenderContextForRoom(), room_graphics_panel_, room_loader_, room_selector_, rooms_, yaze::editor::DungeonRoomSelector::set_active_rooms(), yaze::editor::DungeonRoomSelector::set_current_entrance_id(), yaze::editor::DungeonRoomSelector::set_current_room_id(), yaze::editor::ObjectSelectorContent::SetCurrentPaletteGroup(), yaze::editor::RoomGraphicsContent::SetCurrentPaletteGroup(), yaze::editor::ObjectTileEditorPanel::SetCurrentPaletteGroupForRoom(), yaze::gui::PaletteEditorWidget::SetCurrentPaletteId(), yaze::editor::DungeonRoomStore::size(), SyncPanelsToRoom(), yaze::editor::EditorDependencies::window_manager, and workbench_panel_.
Referenced by add_room(), ConfigureViewerUndoHooks(), CycleRoomSelection(), DrawRoomPanels(), EnsureMinecartTrackEditorPanel(), Initialize(), Load(), NavigateToAdjacentRoom(), NavigateToPlacedObject(), OnEntranceSelected(), OnRoomSelected(), OpenGraphicsEditorForObject(), ProcessPendingSwap(), and SetGraphicsPreviewEntrance().
|
private |
Definition at line 2053 of file dungeon_editor_v2.cc.
References IsWorkbenchWorkflowEnabled(), yaze::editor::kFocusInWorkbench, yaze::editor::kOpenStandalone, yaze::editor::kPreview, OnRoomSelected(), rooms_, SetWorkbenchWorkflowMode(), ShowRoomPanel(), and yaze::editor::DungeonRoomStore::size().
|
private |
Definition at line 39 of file dungeon_editor_v2_object_coverage.cc.
References yaze::editor::DungeonRoomStore::GetIfMaterialized(), yaze::zelda3::Room::GetTileObjects(), GetViewerForRoom(), OnRoomSelected(), rooms_, and yaze::editor::DungeonRoomStore::size().
Referenced by CreateObjectCoveragePanel().
|
private |
Definition at line 14 of file dungeon_editor_v2_object_coverage.cc.
References yaze::editor::Editor::dependencies_, NavigateToPlacedObject(), yaze::editor::EditorDependencies::project, and rooms_.
Referenced by Load().

|
private |
Definition at line 25 of file dungeon_editor_v2_object_coverage.cc.
References yaze::editor::ObjectCoveragePanel::FocusObject(), IsWorkbenchWorkflowEnabled(), object_coverage_panel_, yaze::editor::DungeonWorkbenchContent::OpenObjectCoverageTool(), OpenWindow(), and workbench_panel_.
Referenced by WireViewerPanelCallbacks().

|
private |
Definition at line 2214 of file dungeon_editor_v2.cc.
References automatic_entrance_preview_, current_entrance_id_, entrances_, OnRoomSelected(), RefreshEntranceCameraOverlays(), ResolveEntranceRoomId(), room_selector_, rooms_, yaze::editor::DungeonRoomSelector::set_current_entrance_id(), and yaze::editor::DungeonRoomStore::size().
Referenced by Initialize(), and Load().
|
private |
Definition at line 2230 of file dungeon_editor_v2.cc.
References automatic_entrance_preview_, current_entrance_id_, current_room_id_, entrances_, OnRoomSelected(), and RefreshEntranceCameraOverlays().
Referenced by Initialize().

|
private |
Definition at line 2240 of file dungeon_editor_v2.cc.
References entrances_, yaze::zelda3::kNumDungeonSpawnPoints, and spawn_points_.
Referenced by OnEntranceSelected().
|
private |
Definition at line 3034 of file dungeon_editor_v2.cc.
References yaze::editor::OverlayManagerPanel::OverlayState::show_camera_quadrants, yaze::editor::OverlayManagerPanel::OverlayState::show_collision_legend, yaze::editor::OverlayManagerPanel::OverlayState::show_coordinate_overlay, yaze::editor::OverlayManagerPanel::OverlayState::show_custom_collision, yaze::editor::OverlayManagerPanel::OverlayState::show_grid, yaze::editor::OverlayManagerPanel::OverlayState::show_layer_info, yaze::editor::OverlayManagerPanel::OverlayState::show_minecart_sprites, yaze::editor::OverlayManagerPanel::OverlayState::show_minecart_tracks, yaze::editor::OverlayManagerPanel::OverlayState::show_object_bounds, yaze::editor::OverlayManagerPanel::OverlayState::show_room_debug_info, yaze::editor::OverlayManagerPanel::OverlayState::show_texture_debug, and yaze::editor::OverlayManagerPanel::OverlayState::show_track_collision.
Referenced by OnRoomSelected(), RefreshRomBackedState(), and SetWorkbenchWorkflowMode().
|
private |
Definition at line 1327 of file dungeon_editor_v2.cc.
References active_rooms_, yaze::zelda3::BuildDungeonRenderPaletteGroupFromGameData(), current_palette_, current_palette_group_, current_palette_group_id_, current_palette_id_, yaze::editor::ObjectTileEditorPanel::current_room_id(), current_room_id_, yaze::gfx::PaletteGroupMap::dungeon_main, yaze::editor::Editor::game_data(), yaze::editor::DungeonRoomStore::GetIfLoaded(), InvalidateDungeonPaletteUsers(), yaze::editor::DungeonObjectInteraction::IsObjectLoaded(), yaze::editor::ObjectTileEditorPanel::IsOpen(), yaze::gui::kDungeonMain, yaze::gui::kHud, yaze::editor::DungeonCanvasViewer::object_interaction(), object_selector_panel_, object_tile_editor_panel_, yaze::zelda3::GameData::palette_groups, yaze::gui::DungeonPaletteChange::palette_id, yaze::zelda3::Room::ResolveDungeonPaletteId(), room_graphics_panel_, room_viewers_, rooms_, yaze::editor::ObjectSelectorContent::SetCurrentPaletteGroup(), yaze::editor::RoomGraphicsContent::SetCurrentPaletteGroup(), yaze::editor::DungeonCanvasViewer::SetCurrentPaletteGroup(), yaze::editor::ObjectTileEditorPanel::SetCurrentPaletteGroupForRoom(), yaze::editor::DungeonCanvasViewer::SetCurrentPaletteId(), yaze::editor::DungeonRoomStore::size(), yaze::gui::DungeonPaletteChange::source, workbench_compare_viewer_, and workbench_viewer_.
Referenced by HandleArenaPaletteChanged(), and Load().
|
private |
Definition at line 1312 of file dungeon_editor_v2.cc.
References current_palette_id_, game_data_, yaze::gfx::PaletteManager::Get(), HandleDungeonPaletteChanged(), yaze::gui::kDungeonMain, and yaze::gui::kHud.
Referenced by RegisterPaletteListener().

|
private |
Definition at line 1301 of file dungeon_editor_v2.cc.
References yaze::gfx::Arena::Get(), HandleArenaPaletteChanged(), palette_listener_id_, and yaze::gfx::Arena::RegisterPaletteListener().
Referenced by Load().

|
private |
Definition at line 1437 of file dungeon_editor_v2.cc.
References yaze::editor::DungeonRoomStore::ForEachMaterialized(), yaze::gui::kHud, yaze::zelda3::Room::MarkGraphicsDirty(), yaze::gui::DungeonPaletteChange::palette_id, yaze::zelda3::Room::ResolveDungeonPaletteId(), rooms_, and yaze::gui::DungeonPaletteChange::source.
Referenced by HandleDungeonPaletteChanged().

|
private |
Definition at line 133 of file dungeon_editor_v2_render_context.cc.
References automatic_entrance_preview_, yaze::zelda3::Room::blockset(), BuildDungeonRenderEntranceCandidates(), current_entrance_id_, yaze::editor::Editor::dependencies_, yaze::editor::dungeon_project_labels::FindDungeonForRoom(), game_data_, GetDungeonRenderContextCensus(), yaze::editor::DungeonRoomStore::GetIfMaterialized(), yaze::Rom::is_loaded(), yaze::zelda3::LoadRoomHeaderFromRom(), yaze::zelda3::RoomDefaultEntrance::main_blockset, yaze::zelda3::GameData::main_blockset_ids, yaze::editor::EditorDependencies::project, yaze::editor::ResolveDungeonRenderContext(), rom_, yaze::zelda3::GameData::room_default_entrances, rooms_, and yaze::editor::DungeonRoomStore::size().
Referenced by BuildContextSnapshot(), ConfigureViewerRenderContext(), Initialize(), OnRoomSelected(), OpenGraphicsEditorForObject(), ResolveSelectedEntranceBlocksetForRoom(), and VisitGraphicsUsageRooms().
|
private |
Definition at line 2251 of file dungeon_editor_v2.cc.
References yaze::editor::Editor::context(), and ResolveDungeonRenderContextForRoom().
Referenced by ApplyEntranceRenderContext(), and ConfigureViewerRenderContext().

|
private |
Definition at line 19 of file dungeon_editor_v2_render_context.cc.
References entrances_, yaze::zelda3::kNumDungeonSpawnPoints, and spawn_points_.
Referenced by ResolveDungeonRenderContextForRoom().
|
private |
Definition at line 45 of file dungeon_editor_v2_render_context.cc.
References yaze::core::RomSettings::address_overrides(), yaze::zelda3::CustomObjectManager::CaptureRenderSnapshot(), yaze::editor::Editor::dependencies_, dungeon_render_context_census_, dungeon_render_context_census_attempted_, dungeon_render_context_census_error_, dungeon_render_context_census_generation_, dungeon_render_context_census_pending_, dungeon_render_context_census_shutdown_, dungeon_render_context_census_stop_, dungeon_render_context_pending_generation_, yaze::core::FeatureFlags::get(), yaze::core::RomSettings::Get(), yaze::zelda3::CustomObjectManager::Get(), yaze::zelda3::DrawRoutineRegistry::Get(), yaze::util::StopSource::get_token(), yaze::project::YazeProject::hack_manifest, yaze::Rom::is_loaded(), yaze::core::HackManifest::loaded(), LOG_WARN, yaze::editor::EditorDependencies::project, yaze::core::HackManifest::project_registry(), and rom_.
Referenced by ResolveDungeonRenderContextForRoom().
|
private |
Definition at line 122 of file dungeon_editor_v2_render_context.cc.
References yaze::editor::RoomMatrixContent::census_overlay(), dungeon_render_context_census_, dungeon_render_context_census_attempted_, dungeon_render_context_census_error_, dungeon_render_context_census_generation_, dungeon_render_context_census_stop_, yaze::editor::RoomMatrixCensusOverlay::Invalidate(), yaze::util::StopSource::request_stop(), and room_matrix_panel_.
Referenced by Load(), PrepareForSessionTeardown(), RefreshRomBackedState(), SetDependencies(), SetRom(), and SynchronizeCustomObjectAssets().

|
private |
Definition at line 2258 of file dungeon_editor_v2.cc.
References ResolveSelectedEntranceBlocksetForRoom(), rooms_, and yaze::editor::DungeonRoomStore::size().
Referenced by DrawRoomTab(), GetStandaloneViewerForRoom(), Initialize(), OnRoomSelected(), OpenGraphicsEditorForObject(), OpenObjectTileEditorForObject(), RefreshRomBackedState(), Update(), and VisitGraphicsUsageRooms().

|
private |
Definition at line 2270 of file dungeon_editor_v2.cc.
References yaze::editor::DungeonCanvasViewer::ClearEntranceCameraOverlay(), yaze::editor::Editor::context(), GetEntranceCameraState(), ResolveDungeonRenderContextForRoom(), ResolveSelectedEntranceBlocksetForRoom(), yaze::editor::DungeonCanvasViewer::SetEntranceBlocksetResolver(), yaze::editor::DungeonCanvasViewer::SetEntranceCameraOverlay(), and yaze::editor::DungeonCanvasViewer::SetEntranceRenderContext().
Referenced by OnRoomSelected(), and RefreshEntranceCameraOverlays().
|
private |
Definition at line 273 of file dungeon_editor_v2_entrance_camera.cc.
References yaze::editor::CanEditDungeonEntrance(), yaze::editor::CanEditDungeonSpawnPoint(), yaze::editor::CaptureDungeonEntranceCamera(), yaze::editor::CaptureDungeonSpawnCamera(), entrances_, yaze::zelda3::kNumDungeonSpawnPoints, and spawn_points_.
Referenced by BuildContextSnapshot(), ConfigureEntrancePropertyEditCallbacks(), ConfigureViewerRenderContext(), and RepairEntranceCamera().

|
private |
Definition at line 332 of file dungeon_editor_v2_entrance_camera.cc.
References yaze::editor::BuildRepairedDungeonEntranceCamera(), yaze::editor::DungeonEntranceCameraState::dirty, FinalizePendingUndoActions(), GetEntranceCameraState(), yaze::editor::UndoManager::Push(), RestoreEntranceCameraState(), RETURN_IF_ERROR, yaze::editor::Editor::undo_manager_, and yaze::editor::ValidateDungeonEntranceCamera().
Referenced by ConfigureEntrancePropertyEditCallbacks().
|
private |
Definition at line 291 of file dungeon_editor_v2_entrance_camera.cc.
References yaze::editor::ApplyDungeonEntranceCameraState(), yaze::editor::ApplyDungeonSpawnCameraState(), yaze::editor::CanEditDungeonEntrance(), yaze::editor::CanEditDungeonSpawnPoint(), entrances_, yaze::editor::DungeonEntranceCameraState::kind, yaze::zelda3::kNumDungeonSpawnPoints, yaze::editor::kRegularEntrance, yaze::editor::kSpawnPoint, RefreshEntranceCameraOverlays(), RefreshEntranceDirtyState(), and spawn_points_.
Referenced by RepairEntranceCamera().
|
private |
Definition at line 318 of file dungeon_editor_v2_entrance_camera.cc.
References ConfigureViewerRenderContext(), current_room_id_, room_viewers_, workbench_compare_viewer_, and workbench_viewer_.
Referenced by ConfigureEntrancePropertyEditCallbacks(), OnEntranceSelected(), RestoreEntranceCameraState(), RestoreEntranceProperties(), RestoreSpawnProperties(), and SetGraphicsPreviewEntrance().

|
private |
Definition at line 155 of file dungeon_editor_v2_entrance_camera.cc.
References GetEntranceCameraState(), yaze::editor::DungeonEntrancesPanel::property_edit_gesture(), RecordEntrancePropertyEdit(), RecordSpawnPropertyEdit(), RefreshEntranceCameraOverlays(), RepairEntranceCamera(), yaze::editor::DungeonEntrancesPanel::SetCameraTools(), and yaze::editor::DungeonEntrancesPanel::SetPropertyEditCallbacks().
Referenced by Initialize().
|
private |
Definition at line 174 of file dungeon_editor_v2_entrance_camera.cc.
References yaze::editor::CanEditDungeonEntrance(), entrance_property_save_generation_, FinalizePendingUndoActions(), yaze::editor::UndoManager::Push(), RefreshEntranceDirtyState(), RestoreEntranceProperties(), and yaze::editor::Editor::undo_manager_.
Referenced by ConfigureEntrancePropertyEditCallbacks().
|
private |
Definition at line 193 of file dungeon_editor_v2_entrance_camera.cc.
References yaze::editor::CanEditDungeonSpawnPoint(), entrance_property_save_generation_, FinalizePendingUndoActions(), yaze::editor::UndoManager::Push(), RefreshEntranceDirtyState(), RestoreSpawnProperties(), and yaze::editor::Editor::undo_manager_.
Referenced by ConfigureEntrancePropertyEditCallbacks().
|
private |
Definition at line 214 of file dungeon_editor_v2_entrance_camera.cc.
References yaze::editor::CanEditDungeonEntrance(), yaze::zelda3::RoomEntrance::entrance_id_, entrances_, RefreshEntranceCameraOverlays(), and RefreshEntranceDirtyState().
Referenced by RecordEntrancePropertyEdit().

|
private |
Definition at line 230 of file dungeon_editor_v2_entrance_camera.cc.
References yaze::editor::CanEditDungeonSpawnPoint(), RefreshEntranceCameraOverlays(), RefreshEntranceDirtyState(), and spawn_points_.
Referenced by RecordSpawnPropertyEdit().

|
private |
Definition at line 245 of file dungeon_editor_v2_entrance_camera.cc.
References entrances_, yaze::Rom::is_loaded(), yaze::zelda3::kNumDungeonSpawnPoints, yaze::zelda3::DungeonSpawnPoint::Load(), yaze::zelda3::RoomEntrance::load_status(), rom_, and spawn_points_.
Referenced by RecordEntrancePropertyEdit(), RecordSpawnPropertyEdit(), RestoreEntranceCameraState(), RestoreEntranceProperties(), and RestoreSpawnProperties().

|
private |
Definition at line 2755 of file dungeon_editor_v2.cc.
References yaze::editor::Editor::dependencies_, yaze::editor::DungeonWorkbenchContent::FocusEntranceBrowser(), FocusObjectCoverage(), yaze::editor::DungeonWorkbenchContent::FocusRoomInspector(), yaze::editor::DungeonWorkbenchContent::FocusRoomMatrix(), IsWorkbenchWorkflowEnabled(), yaze::editor::kError, kObjectSelectorId, kRoomGraphicsId, kRoomMatrixId, kRoomSelectorId, yaze::editor::kSuccess, LOG_ERROR, yaze::editor::DungeonWorkbenchContent::OpenDoorTool(), OpenGraphicsEditorForObject(), yaze::editor::DungeonWorkbenchContent::OpenItemTool(), yaze::editor::DungeonWorkbenchContent::OpenObjectSelectorTool(), OpenObjectTileEditorForObject(), yaze::editor::DungeonWorkbenchContent::OpenRoomGraphicsTool(), yaze::editor::DungeonWorkbenchContent::OpenSpriteTool(), OpenWindow(), SaveRoom(), yaze::editor::DungeonCanvasViewer::SetCheckObjectCoverageCallback(), yaze::editor::DungeonCanvasViewer::SetEditGraphicsCallback(), yaze::editor::DungeonCanvasViewer::SetEditObjectTilesCallback(), yaze::editor::DungeonCanvasViewer::SetSaveRoomCallback(), yaze::editor::DungeonCanvasViewer::SetShowDoorEditorCallback(), yaze::editor::DungeonCanvasViewer::SetShowDungeonSettingsCallback(), yaze::editor::DungeonCanvasViewer::SetShowEntranceListCallback(), yaze::editor::DungeonCanvasViewer::SetShowItemPanelCallback(), yaze::editor::DungeonCanvasViewer::SetShowObjectPanelCallback(), yaze::editor::DungeonCanvasViewer::SetShowRoomGraphicsCallback(), yaze::editor::DungeonCanvasViewer::SetShowRoomListCallback(), yaze::editor::DungeonCanvasViewer::SetShowRoomMatrixCallback(), yaze::editor::DungeonCanvasViewer::SetShowSpritePanelCallback(), yaze::editor::ToastManager::Show(), yaze::editor::EditorDependencies::toast_manager, and workbench_panel_.
|
private |
Definition at line 133 of file dungeon_editor_v2.cc.
References ApplyMinecartCollisionBatch(), ApplyMinecartCollisionStamp(), ApplyMinecartTrackEdit(), yaze::editor::EditorDependencies::custom_data, yaze::editor::Editor::dependencies_, yaze::editor::ObjectSelectorContent::DrawMinecartPalette(), minecart_track_editor_panel_, object_selector_panel_, yaze::editor::EditorDependencies::session_id, yaze::editor::MinecartTrackEditorPanel::SetCollisionBatchApplyCallback(), yaze::editor::MinecartTrackEditorPanel::SetCollisionStampCallback(), yaze::editor::MinecartTrackEditorPanel::SetProjectChangedCallback(), yaze::editor::MinecartTrackEditorPanel::SetProjectDraftChangedCallback(), yaze::editor::MinecartTrackEditorPanel::SetProjectSaveCallback(), yaze::editor::MinecartTrackEditorPanel::SetRailPaletteCallback(), and yaze::editor::MinecartTrackEditorPanel::SetTrackEditCallback().
Referenced by EnsureMinecartTrackEditorPanel(), and SetDependencies().
|
private |
Definition at line 22 of file dungeon_editor_v2_minecart.cc.
References ASSIGN_OR_RETURN, FinalizePendingUndoActions(), yaze::editor::FindCartStartSprite(), yaze::editor::DungeonRoomStore::GetIfLoaded(), yaze::zelda3::Room::GetSprites(), yaze::editor::MinecartTrack::id, yaze::zelda3::Room::MarkSpritesDirty(), minecart_track_editor_panel_, yaze::editor::MinecartLocalPosition(), PreflightSpriteMutation(), yaze::editor::UndoManager::Push(), RETURN_IF_ERROR, rom_, yaze::editor::MinecartTrack::room_id, rooms_, yaze::Rom::set_dirty(), yaze::editor::Editor::undo_manager_, and yaze::editor::ValidateCartStartDestination().
Referenced by ConfigureMinecartProjectCallbacks().
|
private |
Definition at line 283 of file dungeon_editor_v2.cc.
References yaze::zelda3::CustomObjectManager::asset_generation(), yaze::editor::DungeonRoomStore::ForEachMaterialized(), yaze::core::FeatureFlags::get(), yaze::zelda3::CustomObjectManager::Get(), yaze::zelda3::DrawRoutineRegistry::Get(), InvalidateDungeonRenderContextCensus(), yaze::core::FeatureFlags::Flags::kEnableCustomObjects, yaze::zelda3::Room::MarkLayoutDirty(), yaze::zelda3::Room::MarkObjectsDirty(), yaze::editor::ObjectSelectorContent::object_selector(), object_selector_panel_, observed_custom_object_generation_, observed_custom_objects_enabled_, yaze::zelda3::DrawRoutineRegistry::RefreshFeatureFlagMappings(), room_viewers_, rooms_, yaze::editor::DungeonObjectSelector::SynchronizeCustomObjectGeneration(), workbench_compare_viewer_, and workbench_viewer_.
Referenced by Update().
|
private |
Definition at line 3104 of file dungeon_editor_v2.cc.
References yaze::zelda3::GetRoomLabel(), ICON_MD_GRID_ON, and yaze::gui::MakePanelTitle().
Referenced by DrawRoomPanels(), OnRoomSelected(), and SetWorkbenchWorkflowMode().

|
private |
Definition at line 1289 of file dungeon_editor_v2_persistence.cc.
References LOG_ERROR.
Referenced by Initialize().
|
private |
Definition at line 2335 of file dungeon_editor_v2.cc.
References current_room_id_, yaze::editor::Editor::dependencies_, yaze::zelda3::RoomObject::id_, IsValidRoomId(), yaze::editor::kError, yaze::editor::kSuccess, LOG_DEBUG, LOG_ERROR, LOG_INFO, object_selector_panel_, rooms_, yaze::editor::ObjectSelectorContent::SetPlacementError(), yaze::editor::ToastManager::Show(), yaze::editor::EditorDependencies::toast_manager, yaze::zelda3::RoomObject::x_, and yaze::zelda3::RoomObject::y_.

|
private |
Definition at line 2388 of file dungeon_editor_v2.cc.
References ApplyEntranceRenderContext(), yaze::zelda3::RoomLayerManager::ApplyGameLayerRegisters(), yaze::zelda3::RoomLayerManager::ApplyLayerMerging(), yaze::zelda3::RoomLayerManager::ApplyRoomEffect(), yaze::editor::Editor::context(), yaze::editor::EditorDependencies::custom_data, yaze::editor::Editor::dependencies_, yaze::editor::DungeonRenderContextSourceName(), game_data_, yaze::editor::DungeonRoomStore::GetIfMaterialized(), yaze::Rom::is_loaded(), yaze::editor::kDungeon, yaze::editor::kGraphics, yaze::editor::kWarning, LOG_WARN, yaze::editor::MakeDungeonGraphicsEditContext(), OnRoomSelected(), ResolveDungeonRenderContextForRoom(), rom_, rooms_, yaze::editor::ToastManager::Show(), yaze::editor::DungeonRoomStore::size(), yaze::editor::usage_preview::SnapshotBitmap(), yaze::editor::EditorDependencies::toast_manager, and yaze::editor::UpdateGraphicsContextPalettes().
Referenced by WireViewerPanelCallbacks().
|
private |
Definition at line 2541 of file dungeon_editor_v2.cc.
References ApplyEntranceRenderContext(), yaze::zelda3::BuildDungeonRenderPaletteGroupFromGameData(), yaze::editor::ObjectTileEditorPanel::Close(), yaze::editor::Editor::dependencies_, yaze::gfx::PaletteGroupMap::dungeon_main, yaze::gfx::PaletteGroup::empty(), game_data_, yaze::editor::ObjectTileEditorPanel::GetId(), yaze::Rom::is_loaded(), yaze::zelda3::ObjectTileEditor::IsEditableStandardObject(), yaze::editor::ObjectTileEditorPanel::IsOpen(), yaze::editor::DungeonRoomLoader::LoadRoom(), object_tile_editor_panel_, yaze::editor::ObjectTileEditorPanel::OpenForObject(), yaze::editor::WorkspaceWindowManager::OpenWindow(), yaze::zelda3::GameData::palette_groups, RETURN_IF_ERROR, rom_, room_loader_, rooms_, yaze::editor::DungeonRoomStore::size(), and yaze::editor::EditorDependencies::window_manager.
Referenced by Load(), and WireViewerPanelCallbacks().
|
private |
Definition at line 2872 of file dungeon_editor_v2.cc.
References GetStandaloneViewerForRoom(), GetWorkbenchViewer(), and IsWorkbenchWorkflowEnabled().
Referenced by ApplyMinecartCollisionBatch(), BeginUndoSnapshot(), CaptureRoomEntities(), ConfigureViewerUndoHooks(), Copy(), Cut(), CycleObjectSelection(), FinalizeEntityUndoAction(), FinalizeUndoAction(), Load(), NavigateToPlacedObject(), OnRoomSelected(), Paste(), Redo(), RestoreRoomCustomCollisionBatch(), RestoreRoomEntities(), RestoreRoomObjects(), and Undo().

|
private |
Definition at line 2881 of file dungeon_editor_v2.cc.
References active_rooms_, ApplyEntranceRenderContext(), yaze::editor::Editor::dependencies_, yaze::editor::WorkspaceWindowManager::IsWindowPinned(), RefreshViewerRuntimeContext(), room_viewers_, and yaze::editor::EditorDependencies::window_manager.
Referenced by DrawRoomTab(), and GetViewerForRoom().

|
private |
Definition at line 2987 of file dungeon_editor_v2.cc.
Referenced by GetViewerForRoom(), and Initialize().
|
private |
Definition at line 3012 of file dungeon_editor_v2.cc.
Referenced by Initialize().
|
private |
Definition at line 2960 of file dungeon_editor_v2.cc.
References yaze::editor::DungeonCanvasViewer::game_data(), yaze::editor::DungeonCanvasViewer::project(), yaze::editor::DungeonCanvasViewer::rom(), yaze::editor::DungeonCanvasViewer::rooms(), yaze::editor::DungeonCanvasViewer::SetCurrentPaletteGroup(), yaze::editor::DungeonCanvasViewer::SetCurrentPaletteId(), yaze::editor::DungeonCanvasViewer::SetEditorSystem(), yaze::editor::DungeonCanvasViewer::SetGameData(), yaze::editor::DungeonCanvasViewer::SetMinecartTrackPanel(), yaze::editor::DungeonCanvasViewer::SetProject(), yaze::editor::DungeonCanvasViewer::SetRenderer(), yaze::editor::DungeonCanvasViewer::SetRom(), and yaze::editor::DungeonCanvasViewer::SetRooms().
Referenced by GetStandaloneViewerForRoom(), and RefreshRomBackedState().
|
private |
Definition at line 2953 of file dungeon_editor_v2.cc.
References yaze::editor::DungeonCanvasViewer::object_interaction(), and yaze::editor::DungeonObjectInteraction::SetObjectPlacedCallback().

|
private |
Definition at line 2039 of file dungeon_editor_v2.cc.
References yaze::editor::DungeonCanvasViewer::CanHandleRoomCanvasShortcut(), yaze::editor::DungeonCanvasViewer::DeleteSelectedObjects(), ExpireStaleRoomCanvasDeleteShortcut(), and room_canvas_delete_shortcut_frame_.
Referenced by DrawRoomTab(), and Initialize().

|
private |
Definition at line 2029 of file dungeon_editor_v2.cc.
References room_canvas_delete_shortcut_frame_.
Referenced by ConsumeRoomCanvasDeleteShortcut(), and Update().
|
private |
Definition at line 2746 of file dungeon_editor_v2.cc.
References room_viewers_.
|
private |
Definition at line 2750 of file dungeon_editor_v2.cc.
|
private |
Definition at line 1099 of file dungeon_editor_v2_persistence.cc.
References ASSIGN_OR_RETURN, yaze::core::FeatureFlags::Flags::dungeon, yaze::core::FeatureFlags::get(), yaze::core::kCopyOnWrite, yaze::zelda3::kMessagesIdDungeon, yaze::core::kObjects, yaze::zelda3::kRoomHeaderPointer, yaze::zelda3::kRoomHeaderPointerBank, yaze::core::kSprites, LOG_ERROR, LOG_WARN, RETURN_IF_ERROR, yaze::SnesToPc(), yaze::core::ToDungeonStreamAllocatorLayout(), yaze::editor::ValidateHackManifestSaveConflicts(), and yaze::zelda3::DungeonValidator::ValidateRoom().
Referenced by Save().
|
private |
Definition at line 977 of file dungeon_editor_v2_persistence.cc.
References yaze::zelda3::ApplyChestSavePlan(), ASSIGN_OR_RETURN, yaze::zelda3::BuildChestSavePlan(), yaze::core::FeatureFlags::Flags::dungeon, yaze::gfx::PaletteManager::Get(), yaze::core::FeatureFlags::get(), LOG_ERROR, RETURN_IF_ERROR, yaze::zelda3::SaveAllBlocks(), yaze::zelda3::SaveAllCollision(), yaze::zelda3::SaveAllDungeonEntrances(), yaze::zelda3::SaveAllDungeonSpawnPoints(), yaze::zelda3::SaveAllPits(), and yaze::zelda3::SaveAllTorches().
|
private |
Definition at line 564 of file dungeon_editor_v2_persistence.cc.
References BeginSaveTransaction(), yaze::ScopedRomTransaction::Commit(), CommitSaveTransaction(), yaze::Rom::is_loaded(), RETURN_IF_ERROR, RollbackSaveTransaction(), rom_, and save_transaction_snapshot_.
|
inlineprivate |
Definition at line 637 of file dungeon_editor_v2.h.
References pending_collision_undo_, pending_entity_undo_, pending_selection_undo_, pending_undo_, pending_water_fill_undo_, yaze::editor::DungeonEditorV2::PendingSelectionUndo::plan, yaze::editor::DungeonEditorV2::PendingUndo::room_id, yaze::editor::DungeonEditorV2::PendingCollisionUndo::room_id, and yaze::editor::DungeonEditorV2::PendingWaterFillUndo::room_id.
Referenced by CanUndo().
|
private |
Definition at line 649 of file dungeon_editor_v2_undo.cc.
References yaze::editor::DungeonEditorV2::PendingUndo::before_chests, yaze::editor::DungeonEditorV2::PendingUndo::before_objects, yaze::editor::DungeonEditorV2::PendingUndo::before_selection, FinalizeUndoAction(), GetViewerForRoom(), has_pending_undo_, IsWorkbenchWorkflowEnabled(), LOG_ERROR, pending_undo_, yaze::editor::DungeonEditorV2::PendingUndo::room_id, rooms_, and yaze::editor::DungeonRoomStore::size().
Referenced by ApplyChestObjectEdit(), and ConfigureViewerUndoHooks().

|
private |
Definition at line 678 of file dungeon_editor_v2_undo.cc.
References yaze::editor::DungeonEditorV2::PendingUndo::before_chests, yaze::editor::DungeonEditorV2::PendingUndo::before_objects, yaze::editor::DungeonEditorV2::PendingUndo::before_selection, GetViewerForRoom(), has_pending_undo_, yaze::editor::MinecartTrackEditorPanel::InvalidateRoomAudit(), IsWorkbenchWorkflowEnabled(), minecart_track_editor_panel_, pending_undo_, yaze::editor::UndoManager::Push(), yaze::editor::DungeonEditorV2::PendingUndo::room_id, rooms_, yaze::editor::DungeonRoomStore::size(), and yaze::editor::Editor::undo_manager_.
Referenced by ApplyChestObjectEdit(), BeginUndoSnapshot(), CommitSelectionEdit(), ConfigureViewerUndoHooks(), and FinalizePendingUndoActions().
|
private |
Definition at line 714 of file dungeon_editor_v2_undo.cc.
References yaze::editor::DungeonRoomStore::GetIfLoaded(), GetViewerForRoom(), yaze::editor::MinecartTrackEditorPanel::InvalidateRoomAudit(), IsWorkbenchWorkflowEnabled(), minecart_track_editor_panel_, rom_, rooms_, and undo_restore_triggered_ping_.
Referenced by ApplyChestObjectEdit().

|
private |
Definition at line 165 of file dungeon_editor_v2_chest_edits.cc.
References ASSIGN_OR_RETURN, yaze::zelda3::Block, yaze::zelda3::BuildChestSavePlan(), yaze::editor::CaptureDungeonSelectionEditState(), yaze::editor::Editor::dependencies_, yaze::zelda3::GetBlockSaveWriteRanges(), yaze::zelda3::Room::GetChests(), yaze::editor::DungeonRoomStore::GetIfLoaded(), yaze::editor::DungeonRoomStore::GetIfMaterialized(), yaze::zelda3::GetTorchSaveWriteRanges(), yaze::project::YazeProject::hack_manifest, yaze::Rom::is_loaded(), yaze::zelda3::kMaxTileObjects, yaze::editor::kSelectionObjects, yaze::zelda3::Room::LoadBlocks(), yaze::core::HackManifest::loaded(), yaze::zelda3::Room::MarkBlocksDirty(), yaze::zelda3::Room::MarkChestsDirty(), yaze::zelda3::Room::MarkTorchesDirty(), PreflightStreamMutation(), yaze::editor::EditorDependencies::project, RETURN_IF_ERROR, rom_, yaze::project::YazeProject::rom_metadata, rooms_, yaze::zelda3::Room::SetTileObjects(), yaze::editor::DungeonRoomStore::size(), yaze::zelda3::Torch, yaze::editor::ValidateHackManifestSaveConflicts(), and yaze::project::RomMetadata::write_policy.
Referenced by ApplyChestObjectEdit(), CommitSelectionEdit(), ConfigureViewerUndoHooks(), and EditChest().
|
private |
Definition at line 81 of file dungeon_editor_v2_selection_edits.cc.
References yaze::editor::DungeonSelectionEditPlan::after, yaze::editor::ApplyDungeonSelectionEditState(), ASSIGN_OR_RETURN, yaze::editor::CaptureDungeonSelectionEditState(), yaze::editor::Editor::dependencies_, yaze::editor::DungeonSelectionEditPlan::domains, yaze::zelda3::Room::EncodeObjects(), yaze::zelda3::Room::EncodeSprites(), yaze::editor::DungeonRoomStore::GetIfLoaded(), yaze::project::YazeProject::hack_manifest, yaze::editor::kSelectionDoors, yaze::editor::kSelectionObjects, yaze::editor::kSelectionSprites, yaze::core::HackManifest::loaded(), PlanPendingRoomStreamRanges(), yaze::editor::EditorDependencies::project, RETURN_IF_ERROR, rom_, yaze::project::YazeProject::rom_metadata, yaze::editor::DungeonSelectionEditPlan::room_id, rooms_, yaze::editor::ValidateHackManifestSaveConflicts(), and yaze::project::RomMetadata::write_policy.
Referenced by CommitSelectionEdit(), PreflightDoorMutation(), PreflightObjectMutation(), and PreflightSpriteMutation().
|
private |
Definition at line 65 of file dungeon_editor_v2_selection_edits.cc.
References yaze::editor::CaptureDungeonSelectionEditState(), yaze::editor::DungeonRoomStore::GetIfLoaded(), yaze::editor::kSelectionSprites, PreflightStreamMutation(), rom_, and rooms_.
Referenced by ApplyMinecartTrackEdit(), and ConfigureViewerUndoHooks().

|
private |
Definition at line 453 of file dungeon_editor_v2_persistence.cc.
References yaze::editor::Editor::dependencies_, yaze::editor::DungeonRoomStore::ForEachMaterialized(), yaze::editor::DungeonRoomStore::GetIfLoaded(), yaze::zelda3::Room::GetPotItems(), yaze::Rom::is_loaded(), yaze::zelda3::Room::pot_items_dirty(), yaze::editor::EditorDependencies::project, RETURN_IF_ERROR, rom_, and rooms_.
Referenced by ConfigureViewerUndoHooks().
|
private |
Definition at line 126 of file dungeon_editor_v2_selection_edits.cc.
References yaze::editor::ApplyDungeonSelectionEditState(), ASSIGN_OR_RETURN, yaze::editor::CaptureDungeonSelectionEditState(), yaze::zelda3::Room::CaptureMetadataSnapshot(), yaze::zelda3::Room::CaptureSaveDirtySnapshot(), yaze::editor::Editor::dependencies_, yaze::core::FeatureFlags::Flags::dungeon, yaze::editor::DungeonRoomStore::ForEachLoaded(), yaze::core::FeatureFlags::get(), yaze::core::HackManifest::GetDungeonStreamLayout(), yaze::editor::DungeonRoomStore::GetIfLoaded(), yaze::zelda3::Room::GetObjectSaveWriteRanges(), yaze::zelda3::Room::GetObjectStreamHeaderSaveWriteRanges(), yaze::zelda3::Room::GetSpriteSaveWriteRanges(), yaze::project::YazeProject::hack_manifest, yaze::Rom::is_loaded(), yaze::core::kCopyOnWrite, yaze::core::kObjects, yaze::core::FeatureFlags::Flags::Dungeon::kSaveObjects, yaze::editor::kSelectionDoors, yaze::editor::kSelectionObjects, yaze::editor::kSelectionSprites, yaze::core::kSprites, yaze::core::HackManifest::loaded(), yaze::zelda3::Room::object_stream_dirty(), yaze::zelda3::Room::object_stream_header_dirty(), yaze::editor::EditorDependencies::project, yaze::editor::Editor::project(), yaze::zelda3::Room::RestoreMetadataSnapshot(), yaze::zelda3::Room::RestoreSaveDirtySnapshot(), RETURN_IF_ERROR, rom_, rooms_, yaze::zelda3::Room::SaveObjects(), yaze::zelda3::Room::SaveObjectStreamHeader(), yaze::zelda3::Room::SaveSprites(), yaze::zelda3::Room::sprites_dirty(), yaze::core::ToDungeonStreamAllocatorLayout(), and yaze::editor::Editor::type().
Referenced by ApplyDoorConnection(), CollectWriteRanges(), PreflightStreamMutation(), and Save().
|
private |
Definition at line 54 of file dungeon_editor_v2_selection_edits.cc.
References yaze::editor::CaptureDungeonSelectionEditState(), yaze::editor::DungeonRoomStore::GetIfLoaded(), yaze::editor::kSelectionDoors, PreflightStreamMutation(), rom_, and rooms_.
Referenced by ConfigureViewerUndoHooks().

|
private |
Definition at line 262 of file dungeon_editor_v2_chest_edits.cc.
References BeginUndoSnapshot(), FinalizePendingUndoActions(), FinalizeUndoAction(), PreflightObjectMutation(), RestoreRoomObjects(), and RETURN_IF_ERROR.
Referenced by DeleteChest(), and EditChest().
|
private |
Definition at line 239 of file dungeon_editor_v2_selection_edits.cc.
References yaze::editor::DungeonSelectionEditPlan::after, yaze::editor::ApplyDungeonSelectionEditState(), yaze::editor::DungeonSelectionEditPlan::before, yaze::editor::CaptureDungeonSelectionEditState(), yaze::editor::DungeonSelectionEditPlan::changed(), yaze::editor::ChangedDungeonSelectionDomains(), yaze::editor::DungeonSelectionEditState::chests, yaze::editor::DungeonEditorV2::PendingSelectionUndo::dirty_before, yaze::editor::DungeonSelectionEditPlan::domains, FinalizeCollisionUndoAction(), FinalizePendingEntityUndoActions(), FinalizePendingUndoActions(), FinalizeUndoAction(), FinalizeWaterFillUndoAction(), yaze::editor::DungeonRoomStore::GetIfLoaded(), yaze::editor::kSelectionObjects, yaze::editor::DungeonSelectionEditState::objects, pending_collision_undo_, pending_selection_undo_, pending_undo_, pending_water_fill_undo_, yaze::editor::DungeonEditorV2::PendingSelectionUndo::plan, PreflightObjectMutation(), PreflightStreamMutation(), PushSelectionUndoAction(), RefreshSelectionEditViews(), RETURN_IF_ERROR, rom_, yaze::editor::DungeonEditorV2::PendingUndo::room_id, yaze::editor::DungeonEditorV2::PendingCollisionUndo::room_id, yaze::editor::DungeonEditorV2::PendingWaterFillUndo::room_id, yaze::editor::DungeonSelectionEditPlan::room_id, and rooms_.
Referenced by ConfigureViewerUndoHooks().
|
private |
Definition at line 330 of file dungeon_editor_v2_selection_edits.cc.
References yaze::editor::ChangedDungeonSelectionDomains(), yaze::editor::DungeonRoomStore::GetIfLoaded(), pending_selection_undo_, yaze::editor::DungeonEditorV2::PendingSelectionUndo::plan, PushSelectionUndoAction(), rom_, and rooms_.
Referenced by ConfigureViewerUndoHooks(), and FinalizePendingUndoActions().

|
private |
Definition at line 351 of file dungeon_editor_v2_selection_edits.cc.
References yaze::editor::ApplyDungeonSelectionEditState(), yaze::editor::DungeonRoomStore::GetIfLoaded(), RefreshSelectionEditViews(), rom_, rooms_, and undo_restore_triggered_ping_.
Referenced by ApplyDoorConnection(), and PushSelectionUndoBatch().

|
private |
Definition at line 57 of file dungeon_editor_v2_connection_edits.cc.
References game_data_, yaze::editor::DungeonRoomStore::GetIfMaterialized(), yaze::Rom::is_loaded(), IsValidRoomId(), yaze::zelda3::LoadRoomFromRom(), RETURN_IF_ERROR, rom_, and rooms_.
Referenced by EnsureRoomTransferLoaded(), and PreviewDoorConnection().

|
private |
Definition at line 196 of file dungeon_editor_v2_room_transfer.cc.
References ASSIGN_OR_RETURN, EnsureConnectionRoomLoaded(), yaze::zelda3::Room::EnsureSpritesLoaded(), yaze::editor::DungeonRoomStore::GetIfLoaded(), yaze::editor::DungeonRoomStore::GetIfMaterialized(), yaze::Rom::is_loaded(), IsValidRoomId(), yaze::zelda3::kCustomCollisionRoomPointers, yaze::zelda3::kNumberOfRooms, yaze::zelda3::LoadCustomCollisionMap(), yaze::zelda3::LoadWaterFillTable(), yaze::zelda3::ReadDungeonPotItemStream(), yaze::zelda3::ReadDungeonSpriteStream(), RETURN_IF_ERROR, rom_, rooms_, and yaze::Rom::size().
Referenced by ExportRoomDocument(), and PreviewRoomTransfer().
|
private |
Definition at line 322 of file dungeon_editor_v2_room_transfer.cc.
References yaze::editor::DungeonRoomTransferPlan::after, yaze::editor::ApplyDungeonRoomDocument(), yaze::zelda3::Room::AreBlocksLoaded(), yaze::zelda3::Room::AreTorchesLoaded(), ASSIGN_OR_RETURN, yaze::editor::CaptureDungeonRoomDocument(), yaze::zelda3::Room::CaptureSaveDirtySnapshot(), yaze::editor::Editor::dependencies_, yaze::editor::DungeonRoomStore::ForEachMaterialized(), game_data_, yaze::core::FeatureFlags::get(), yaze::project::YazeProject::hack_manifest, yaze::zelda3::Room::has_water_fill_zone(), yaze::zelda3::Room::IsLoaded(), yaze::core::HackManifest::loaded(), yaze::zelda3::LoadWaterFillTable(), yaze::editor::EditorDependencies::project, RETURN_IF_ERROR, rom_, yaze::project::YazeProject::rom_metadata, rooms_, SetRom(), yaze::zelda3::WaterFillZoneMap::sram_bit_mask, yaze::editor::DungeonRoomTransferPlan::target_room_id, yaze::editor::ValidateHackManifestSaveConflicts(), yaze::Rom::vector(), yaze::zelda3::GameData::version, yaze::editor::DungeonRoomDocument::water, yaze::zelda3::Room::water_fill_sram_bit_mask(), and yaze::project::RomMetadata::write_policy.
Referenced by ApplyRoomTransfer(), and PreviewRoomTransfer().
|
private |
Definition at line 487 of file dungeon_editor_v2_room_transfer.cc.
References yaze::editor::ApplyDungeonRoomDocument(), yaze::editor::DungeonRoomDocument::contents, yaze::editor::DungeonRoomStore::GetIfLoaded(), RefreshRoomMetadataViews(), RefreshSelectionEditViews(), rom_, rooms_, SetRom(), and undo_restore_triggered_ping_.
Referenced by ApplyRoomTransfer().
|
private |
Definition at line 373 of file dungeon_editor_v2_selection_edits.cc.
References yaze::editor::DungeonRoomStore::GetIfLoaded(), yaze::editor::MinecartTrackEditorPanel::InvalidateRoomAudit(), yaze::Rom::is_loaded(), yaze::zelda3::Room::MarkObjectsDirty(), minecart_track_editor_panel_, rom_, room_viewers_, rooms_, yaze::editor::DungeonSelectionEditState::selected_entities, yaze::editor::DungeonSelectionEditState::selected_objects, workbench_compare_viewer_, and workbench_viewer_.
Referenced by CommitSelectionEdit(), RestoreRoomTransfer(), and RestoreSelectionEditBatch().

|
private |
Definition at line 302 of file dungeon_editor_v2_selection_edits.cc.
References yaze::editor::kDelete, yaze::editor::kDuplicate, yaze::editor::DungeonSelectionEditPlan::kind, yaze::editor::kMove, yaze::editor::kPaste, PushSelectionUndoBatch(), and yaze::editor::DungeonSelectionEditPlan::room_id.
Referenced by CommitSelectionEdit(), and FinalizeSelectionUndoAction().

|
private |
Definition at line 321 of file dungeon_editor_v2_selection_edits.cc.
References yaze::editor::UndoManager::Push(), RestoreSelectionEditBatch(), and yaze::editor::Editor::undo_manager_.
Referenced by ApplyDoorConnection(), and PushSelectionUndoAction().

|
private |
Definition at line 298 of file dungeon_editor_v2_undo.cc.
References ApplyDoorConnection(), ApplyRoomTransfer(), BeginCollisionUndoSnapshot(), BeginEntityUndoSnapshot(), BeginUndoSnapshot(), BeginWaterFillUndoSnapshot(), CommitSelectionEdit(), yaze::editor::BaseEntityHandler::context(), yaze::editor::InteractionContext::current_room_id, DeleteChest(), yaze::editor::Editor::dependencies_, yaze::editor::InteractionCoordinator::door_handler(), yaze::editor::DraggingObjects, EditChest(), EditRoomMetadata(), EditRoomMetadataBatch(), yaze::editor::DungeonObjectInteraction::entity_coordinator(), ExportRoomDocument(), FinalizeCollisionUndoAction(), FinalizeEntityUndoAction(), FinalizePendingUndoActions(), FinalizeSelectionUndoAction(), FinalizeUndoAction(), FinalizeWaterFillUndoAction(), yaze::zelda3::Room::GetDoors(), yaze::editor::DungeonRoomStore::GetIfLoaded(), GetViewerForRoom(), yaze::Rom::is_loaded(), IsValidRoomId(), yaze::editor::InteractionCoordinator::item_handler(), yaze::editor::kCustomCollision, yaze::editor::kTileObjects, yaze::editor::kWarning, yaze::editor::kWaterFill, yaze::editor::DungeonObjectInteraction::last_invalidation_domain(), yaze::editor::DungeonCanvasViewer::object_interaction(), OnRoomSelected(), yaze::editor::PaintCollision, yaze::editor::PaintWaterFill, PreflightDoorMutation(), PreflightObjectMutation(), PreflightPotItemPlacement(), PreflightSpriteMutation(), PreviewDoorConnection(), PreviewRoomTransfer(), rom_, rooms_, selection_clipboard_, yaze::editor::TileObjectHandler::SetBeforeObjectCommandCallback(), yaze::editor::DungeonObjectInteraction::SetCacheInvalidationCallback(), yaze::editor::DungeonCanvasViewer::SetChestDeleteCallback(), yaze::editor::DungeonCanvasViewer::SetChestEditCallback(), yaze::editor::DungeonCanvasViewer::SetDoorConnectionCallbacks(), yaze::editor::DungeonCanvasViewer::SetDoorConnectionNavigationCallback(), yaze::editor::DoorInteractionHandler::SetDoorMutationPreflight(), yaze::editor::ItemInteractionHandler::SetItemPlacementPreflight(), yaze::editor::DungeonCanvasViewer::SetMetadataBatchEditCallback(), yaze::editor::DungeonCanvasViewer::SetMetadataEditCallback(), yaze::editor::DungeonObjectInteraction::SetMutationCallback(), yaze::editor::TileObjectHandler::SetMutationErrorCallback(), yaze::editor::TileObjectHandler::SetObjectMutationPreflight(), yaze::editor::DungeonCanvasViewer::SetRoomTransferCallbacks(), yaze::editor::DungeonObjectInteraction::SetSelectionEditCallbacks(), yaze::editor::DungeonObjectInteraction::SetSharedSelectionClipboard(), yaze::editor::SpriteInteractionHandler::SetSpriteMutationPreflight(), yaze::editor::ToastManager::Show(), yaze::Rom::size(), yaze::editor::InteractionCoordinator::sprite_handler(), yaze::editor::InteractionCoordinator::tile_handler(), and yaze::editor::EditorDependencies::toast_manager.
|
private |
Definition at line 157 of file dungeon_editor_v2_undo.cc.
References FinalizeCollisionUndoAction(), FinalizePendingEntityUndoActions(), FinalizeSelectionUndoAction(), FinalizeUndoAction(), FinalizeWaterFillUndoAction(), pending_collision_undo_, pending_undo_, pending_water_fill_undo_, yaze::editor::DungeonEditorV2::PendingUndo::room_id, yaze::editor::DungeonEditorV2::PendingCollisionUndo::room_id, yaze::editor::DungeonEditorV2::PendingWaterFillUndo::room_id, room_viewers_, workbench_compare_viewer_, and workbench_viewer_.
Referenced by ApplyChestObjectEdit(), ApplyDoorConnection(), ApplyMinecartCollisionStamp(), ApplyMinecartTrackEdit(), ApplyRoomTransfer(), BeginSaveTransaction(), CommitSelectionEdit(), ConfigureViewerUndoHooks(), EditChest(), EditRoomGraphicsSheet(), EditRoomMetadataBatch(), RecordEntrancePropertyEdit(), RecordSpawnPropertyEdit(), Redo(), RepairEntranceCamera(), Save(), and Undo().
|
private |
Definition at line 102 of file dungeon_editor_v2_room_edits.cc.
References yaze::editor::DungeonRoomStore::GetIfLoaded(), RefreshRoomMetadataViews(), yaze::zelda3::Room::RestoreMetadataSnapshot(), rom_, rooms_, and undo_restore_triggered_ping_.
Referenced by EditRoomMetadataBatch().

|
private |
Definition at line 274 of file dungeon_editor_v2_chest_edits.cc.
References yaze::editor::DungeonRoomStore::GetIfLoaded(), rom_, rooms_, yaze::Rom::size(), and undo_restore_triggered_ping_.
Referenced by EditChest().

|
private |
Definition at line 121 of file dungeon_editor_v2_room_edits.cc.
References yaze::zelda3::BuildDungeonRenderPaletteGroupFromGameData(), yaze::editor::BaseEntityHandler::context(), current_palette_, current_palette_group_, current_palette_group_id_, current_palette_id_, yaze::editor::DungeonCanvasViewer::current_room_id(), current_room_id_, yaze::gfx::PaletteGroupMap::dungeon_main, yaze::editor::DungeonObjectInteraction::entity_coordinator(), game_data_, yaze::editor::DungeonRoomStore::GetIfLoaded(), yaze::editor::DungeonCanvasViewer::InvalidateConnectedRoomGraph(), yaze::editor::RoomTagEditorPanel::InvalidateUsageCache(), yaze::editor::DungeonCanvasViewer::object_interaction(), object_selector_panel_, object_tile_editor_panel_, palette_editor_, yaze::zelda3::GameData::palette_groups, room_graphics_panel_, room_tag_editor_panel_, room_viewers_, rooms_, yaze::editor::ObjectSelectorContent::SetCurrentPaletteGroup(), yaze::editor::RoomGraphicsContent::SetCurrentPaletteGroup(), yaze::editor::DungeonCanvasViewer::SetCurrentPaletteGroup(), yaze::editor::ObjectTileEditorPanel::SetCurrentPaletteGroupForRoom(), yaze::gui::PaletteEditorWidget::SetCurrentPaletteId(), yaze::editor::DungeonCanvasViewer::SetCurrentPaletteId(), yaze::gfx::PaletteGroup::size(), yaze::editor::InteractionCoordinator::tile_handler(), yaze::editor::DungeonCanvasViewer::TriggerChangePing(), workbench_compare_viewer_, and workbench_viewer_.
Referenced by RestoreRoomMetadataBatch(), and RestoreRoomTransfer().
|
private |
Definition at line 491 of file dungeon_editor_v2_undo.cc.
References yaze::editor::DungeonEntitySnapshot::doors, yaze::editor::DungeonEntitySnapshot::entities, GetViewerForRoom(), IsWorkbenchWorkflowEnabled(), yaze::editor::DungeonEntitySnapshot::items, yaze::editor::kDoors, yaze::editor::kItems, yaze::editor::kSprites, yaze::editor::DungeonEntitySnapshot::objects, rooms_, and yaze::editor::DungeonEntitySnapshot::sprites.
Referenced by BeginEntityUndoSnapshot(), and FinalizeEntityUndoAction().

|
private |
Definition at line 524 of file dungeon_editor_v2_undo.cc.
References CaptureRoomEntities(), FinalizeEntityUndoAction(), IsValidRoomId(), and pending_entity_undo_.
Referenced by ConfigureViewerUndoHooks().

|
private |
Definition at line 537 of file dungeon_editor_v2_undo.cc.
References CaptureRoomEntities(), yaze::editor::Editor::context(), current_room_id(), GetViewerForRoom(), IsValidRoomId(), yaze::editor::kDoors, yaze::editor::kSprites, yaze::editor::DungeonCanvasViewer::object_interaction(), pending_entity_undo_, yaze::editor::UndoManager::Push(), yaze::editor::Editor::type(), and yaze::editor::Editor::undo_manager_.
Referenced by BeginEntityUndoSnapshot(), ConfigureViewerUndoHooks(), and FinalizePendingEntityUndoActions().
|
private |
Definition at line 581 of file dungeon_editor_v2_undo.cc.
References FinalizeEntityUndoAction(), yaze::editor::kDoors, yaze::editor::kItems, yaze::editor::kSprites, and pending_entity_undo_.
Referenced by CommitSelectionEdit(), and FinalizePendingUndoActions().

|
private |
Definition at line 591 of file dungeon_editor_v2_undo.cc.
References yaze::editor::DungeonEntitySnapshot::doors, yaze::editor::DungeonEntitySnapshot::entities, yaze::editor::DungeonRoomStore::GetIfMaterialized(), GetViewerForRoom(), yaze::Rom::is_loaded(), IsValidRoomId(), yaze::editor::DungeonEntitySnapshot::items, yaze::editor::kDoors, yaze::editor::kSprites, yaze::editor::DungeonEntitySnapshot::objects, rom_, rooms_, yaze::editor::DungeonEntitySnapshot::sprites, and undo_restore_triggered_ping_.

|
private |
Definition at line 753 of file dungeon_editor_v2_undo.cc.
References yaze::editor::DungeonEditorV2::PendingCollisionUndo::before, FinalizeCollisionUndoAction(), pending_collision_undo_, yaze::editor::DungeonEditorV2::PendingCollisionUndo::room_id, rooms_, and yaze::editor::DungeonRoomStore::size().
Referenced by ConfigureViewerUndoHooks().

|
private |
Definition at line 765 of file dungeon_editor_v2_undo.cc.
References yaze::editor::DungeonEditorV2::PendingCollisionUndo::before, yaze::editor::MinecartTrackEditorPanel::InvalidateRoomAudit(), minecart_track_editor_panel_, pending_collision_undo_, yaze::editor::UndoManager::Push(), yaze::editor::DungeonEditorV2::PendingCollisionUndo::room_id, rooms_, yaze::editor::DungeonRoomStore::size(), and yaze::editor::Editor::undo_manager_.
Referenced by BeginCollisionUndoSnapshot(), CommitSelectionEdit(), ConfigureViewerUndoHooks(), and FinalizePendingUndoActions().

|
private |
Definition at line 794 of file dungeon_editor_v2_undo.cc.
References yaze::editor::MinecartTrackEditorPanel::InvalidateRoomAudit(), minecart_track_editor_panel_, rooms_, and yaze::editor::DungeonRoomStore::size().
Referenced by ApplyMinecartCollisionStamp().

|
private |
Definition at line 852 of file dungeon_editor_v2_undo.cc.
References ASSIGN_OR_RETURN, FinalizePendingUndoActions(), yaze::editor::DungeonRoomStore::GetIfMaterialized(), yaze::zelda3::HasCustomCollisionWriteSupport(), yaze::editor::MinecartTrackEditorPanel::InvalidateRoomAudit(), minecart_track_editor_panel_, yaze::editor::PreviewMinecartCollisionStamp(), yaze::editor::UndoManager::Push(), RestoreRoomCustomCollision(), rom_, rooms_, yaze::editor::Editor::undo_manager_, and yaze::Rom::vector().
Referenced by ConfigureMinecartProjectCallbacks().
|
private |
Definition at line 892 of file dungeon_editor_v2_undo.cc.
References ASSIGN_OR_RETURN, yaze::zelda3::Room::custom_collision(), yaze::zelda3::Room::custom_collision_dirty(), yaze::zelda3::GenerateTrackCollision(), yaze::editor::DungeonRoomStore::GetIfMaterialized(), GetViewerForRoom(), yaze::editor::MinecartTrackEditorPanel::InvalidateRoomAudit(), IsValidRoomId(), minecart_track_editor_panel_, pending_collision_undo_, pending_entity_undo_, pending_selection_undo_, pending_undo_, pending_water_fill_undo_, yaze::editor::DungeonEditorV2::PendingSelectionUndo::plan, yaze::editor::UndoManager::Push(), RestoreRoomCustomCollisionBatch(), yaze::editor::DungeonEditorV2::PendingUndo::room_id, yaze::editor::DungeonEditorV2::PendingCollisionUndo::room_id, yaze::editor::DungeonEditorV2::PendingWaterFillUndo::room_id, rooms_, and yaze::editor::Editor::undo_manager_.
Referenced by ConfigureMinecartProjectCallbacks().
|
private |
Definition at line 997 of file dungeon_editor_v2_undo.cc.
References yaze::zelda3::Room::custom_collision(), yaze::editor::DungeonRoomStore::GetIfMaterialized(), GetViewerForRoom(), yaze::editor::MinecartTrackEditorPanel::InvalidateRoomAudit(), IsValidRoomId(), minecart_track_editor_panel_, rooms_, and undo_restore_triggered_ping_.
Referenced by ApplyMinecartCollisionBatch().
|
private |
Definition at line 1047 of file dungeon_editor_v2_undo.cc.
References yaze::editor::DungeonEditorV2::PendingWaterFillUndo::before, FinalizeWaterFillUndoAction(), pending_water_fill_undo_, yaze::editor::DungeonEditorV2::PendingWaterFillUndo::room_id, rooms_, and yaze::editor::DungeonRoomStore::size().
Referenced by ConfigureViewerUndoHooks().

|
private |
Definition at line 1059 of file dungeon_editor_v2_undo.cc.
References yaze::editor::DungeonEditorV2::PendingWaterFillUndo::before, yaze::editor::WaterFillSnapshot::offsets, pending_water_fill_undo_, yaze::editor::UndoManager::Push(), yaze::editor::DungeonEditorV2::PendingWaterFillUndo::room_id, rooms_, yaze::editor::DungeonRoomStore::size(), yaze::editor::WaterFillSnapshot::sram_bit_mask, and yaze::editor::Editor::undo_manager_.
Referenced by BeginWaterFillUndoSnapshot(), CommitSelectionEdit(), ConfigureViewerUndoHooks(), and FinalizePendingUndoActions().

|
private |
Definition at line 1086 of file dungeon_editor_v2_undo.cc.
References yaze::editor::WaterFillSnapshot::offsets, rooms_, yaze::editor::DungeonRoomStore::size(), and yaze::editor::WaterFillSnapshot::sram_bit_mask.

|
private |
Definition at line 2605 of file dungeon_editor_v2.cc.
References yaze::editor::DungeonEditorV2::PendingSwap::new_room_id, yaze::editor::DungeonEditorV2::PendingSwap::old_room_id, yaze::editor::DungeonEditorV2::PendingSwap::pending, pending_swap_, rooms_, and yaze::editor::DungeonRoomStore::size().
Referenced by Initialize(), and NavigateToAdjacentRoom().

|
private |
Definition at line 2616 of file dungeon_editor_v2.cc.
References active_rooms_, yaze::editor::Editor::dependencies_, yaze::zelda3::GetRoomLabel(), ICON_MD_GRID_ON, yaze::editor::WorkspaceWindowManager::IsWindowPinned(), yaze::editor::DungeonEditorV2::PendingSwap::new_room_id, next_room_panel_slot_id_, yaze::editor::DungeonEditorV2::PendingSwap::old_room_id, OnRoomSelected(), yaze::editor::WorkspaceWindowManager::OpenWindow(), yaze::editor::WindowPresentationPolicy::OptionalPopOut(), yaze::editor::DungeonEditorV2::PendingSwap::pending, pending_swap_, yaze::editor::WorkspaceWindowManager::RegisterWindow(), room_cards_, room_panel_slot_ids_, room_selector_, room_viewers_, yaze::editor::DungeonRoomSelector::set_active_rooms(), yaze::editor::WorkspaceWindowManager::SetWindowPinned(), yaze::editor::WorkspaceWindowManager::UnregisterWindow(), and yaze::editor::EditorDependencies::window_manager.
Referenced by Update().
|
private |
Definition at line 2708 of file dungeon_editor_v2.cc.
References yaze::editor::DungeonEditorV2::PendingWorkflowMode::enabled, yaze::editor::DungeonEditorV2::PendingWorkflowMode::pending, pending_workflow_mode_, SetWorkbenchWorkflowMode(), and yaze::editor::DungeonEditorV2::PendingWorkflowMode::show_toast.
Referenced by Update().

|
private |
Definition at line 2719 of file dungeon_editor_v2.cc.
References yaze::editor::Editor::dependencies_, yaze::editor::WorkspaceWindowManager::GetWorkspaceWindowName(), yaze::editor::DungeonEditorV2::PendingStandaloneToolWindow::pending, pending_standalone_tool_window_, yaze::editor::DungeonEditorV2::PendingStandaloneToolWindow::session_id, yaze::editor::DungeonEditorV2::PendingStandaloneToolWindow::window_id, and yaze::editor::EditorDependencies::window_manager.
Referenced by Update().

|
private |
Definition at line 1862 of file dungeon_editor_v2.cc.
References next_room_panel_slot_id_, and room_panel_slot_ids_.
|
private |
Definition at line 1872 of file dungeon_editor_v2.cc.
References room_panel_slot_ids_.
Referenced by DrawRoomPanels().
|
inlinestaticprivate |
Definition at line 767 of file dungeon_editor_v2.h.
References yaze::zelda3::kNumberOfRooms.
Referenced by ApplyMinecartCollisionBatch(), BeginEntityUndoSnapshot(), BuildContextSnapshot(), ConfigureViewerUndoHooks(), CycleObjectSelection(), EnsureConnectionRoomLoaded(), EnsureRoomTransferLoaded(), FinalizeEntityUndoAction(), HandleObjectPlaced(), NavigateToAdjacentRoom(), RefreshRomBackedState(), RestoreRoomCustomCollisionBatch(), RestoreRoomEntities(), and SetWorkbenchWorkflowMode().
|
friend |
Definition at line 339 of file dungeon_editor_v2.h.
|
friend |
Definition at line 340 of file dungeon_editor_v2.h.
|
friend |
Definition at line 341 of file dungeon_editor_v2.h.
|
friend |
Definition at line 342 of file dungeon_editor_v2.h.
|
friend |
Definition at line 343 of file dungeon_editor_v2.h.
|
friend |
Definition at line 344 of file dungeon_editor_v2.h.
|
friend |
Definition at line 345 of file dungeon_editor_v2.h.
|
friend |
Definition at line 346 of file dungeon_editor_v2.h.
|
friend |
Definition at line 347 of file dungeon_editor_v2.h.
|
friend |
Definition at line 348 of file dungeon_editor_v2.h.
|
friend |
Definition at line 349 of file dungeon_editor_v2.h.
|
friend |
Definition at line 350 of file dungeon_editor_v2.h.
|
friend |
Definition at line 351 of file dungeon_editor_v2.h.
|
friend |
Definition at line 352 of file dungeon_editor_v2.h.
|
friend |
Definition at line 353 of file dungeon_editor_v2.h.
|
friend |
Definition at line 354 of file dungeon_editor_v2.h.
|
friend |
Definition at line 355 of file dungeon_editor_v2.h.
|
friend |
Definition at line 356 of file dungeon_editor_v2.h.
|
friend |
Definition at line 357 of file dungeon_editor_v2.h.
|
friend |
Definition at line 358 of file dungeon_editor_v2.h.
|
friend |
Definition at line 360 of file dungeon_editor_v2.h.
|
friend |
Definition at line 361 of file dungeon_editor_v2.h.
|
friend |
Definition at line 363 of file dungeon_editor_v2.h.
|
friend |
Definition at line 365 of file dungeon_editor_v2.h.
|
friend |
Definition at line 367 of file dungeon_editor_v2.h.
|
friend |
Definition at line 369 of file dungeon_editor_v2.h.
|
friend |
Definition at line 371 of file dungeon_editor_v2.h.
|
friend |
Definition at line 373 of file dungeon_editor_v2.h.
|
friend |
Definition at line 375 of file dungeon_editor_v2.h.
|
friend |
Definition at line 377 of file dungeon_editor_v2.h.
|
staticconstexpr |
Definition at line 304 of file dungeon_editor_v2.h.
Referenced by Initialize(), yaze::editor::anonymous_namespace{dungeon_editor_v2.cc}::IsWorkbenchNavigationWindowId(), SetAgentMode(), and WireViewerPanelCallbacks().
|
staticconstexpr |
Definition at line 305 of file dungeon_editor_v2.h.
Referenced by Initialize().
|
staticconstexpr |
Definition at line 306 of file dungeon_editor_v2.h.
Referenced by Initialize(), yaze::editor::anonymous_namespace{dungeon_editor_v2.cc}::IsWorkbenchNavigationWindowId(), SetWorkbenchWorkflowMode(), and WireViewerPanelCallbacks().
|
staticconstexpr |
Definition at line 307 of file dungeon_editor_v2.h.
Referenced by Initialize(), SetAgentMode(), and WireViewerPanelCallbacks().
|
staticconstexpr |
Definition at line 308 of file dungeon_editor_v2.h.
Referenced by Initialize(), SelectObject(), SetAgentMode(), and WireViewerPanelCallbacks().
|
staticconstexpr |
Definition at line 309 of file dungeon_editor_v2.h.
|
staticconstexpr |
Definition at line 310 of file dungeon_editor_v2.h.
Referenced by Initialize().
|
staticconstexpr |
Definition at line 311 of file dungeon_editor_v2.h.
Referenced by Initialize().
|
staticconstexpr |
Definition at line 312 of file dungeon_editor_v2.h.
Referenced by BuildContextSnapshot(), and yaze::editor::EditorManager::ConfigureEditorDependencies().
|
private |
Definition at line 379 of file dungeon_editor_v2.h.
Referenced by Initialize(), Load(), ProcessDeferredTextures(), and renderer().
|
private |
Definition at line 479 of file dungeon_editor_v2.h.
Referenced by ApplyDoorConnection(), ApplyMinecartCollisionStamp(), ApplyMinecartTrackEdit(), ApplyRoomTransfer(), CollectWriteRanges(), CommitSelectionEdit(), ConfigureViewerUndoHooks(), DeleteChest(), EditChest(), EditRoomGraphicsSheet(), EditRoomMetadataBatch(), EnsureConnectionRoomLoaded(), EnsureRoomTransferLoaded(), FinalizeSelectionUndoAction(), GetDungeonRenderContextCensus(), GetRomStatus(), GetRoomGraphicsUsage(), Initialize(), IsRomLoaded(), Load(), OpenGraphicsEditorForObject(), OpenObjectTileEditorForObject(), PlanPendingRoomStreamRanges(), PreflightDoorMutation(), PreflightObjectMutation(), PreflightPotItemPlacement(), PreflightRoomTransfer(), PreflightSpriteMutation(), PreflightStreamMutation(), PreviewDoorConnection(), PreviewRoomTransfer(), RefreshEntranceDirtyState(), RefreshRomBackedState(), RefreshSelectionEditViews(), ReloadWaterFillZones(), ResolveDungeonRenderContextForRoom(), RestoreChest(), RestoreRoomEntities(), RestoreRoomMetadataBatch(), RestoreRoomObjects(), RestoreRoomTransfer(), RestoreSelectionEditBatch(), rom(), RunWithSaveTransaction(), Save(), and SetRom().
|
private |
Definition at line 480 of file dungeon_editor_v2.h.
Referenced by BeginSaveTransaction(), CollectWriteRanges(), EditRoomGraphicsSheet(), EnsureConnectionRoomLoaded(), GetRoomGraphicsUsage(), HandleArenaPaletteChanged(), HasPendingDungeonChanges(), Initialize(), OpenGraphicsEditorForObject(), OpenObjectTileEditorForObject(), PreflightRoomTransfer(), RefreshRomBackedState(), RefreshRoomMetadataViews(), ResolveDungeonRenderContextForRoom(), RollbackSaveTransaction(), Save(), SetGameData(), SetRom(), and ValidateSaveScope().
|
private |
Definition at line 481 of file dungeon_editor_v2.h.
Referenced by ApplyEntranceRenderContext(), ApplyMinecartCollisionBatch(), ApplyMinecartCollisionStamp(), ApplyMinecartTrackEdit(), ApplyRoomTransfer(), BeginCollisionUndoSnapshot(), BeginSaveTransaction(), BeginUndoSnapshot(), BeginWaterFillUndoSnapshot(), BuildContextSnapshot(), CaptureRoomEntities(), CollectWriteRanges(), CommitSelectionEdit(), ConfigureViewerUndoHooks(), CreateObjectCoveragePanel(), CurrentRoomHasPendingChanges(), CycleObjectSelection(), DeleteChest(), DrawRoomTab(), EditChest(), EditRoomGraphicsSheet(), EditRoomMetadataBatch(), EnsureConnectionRoomLoaded(), EnsureMinecartTrackEditorPanel(), EnsureRoomTransferLoaded(), ExportRoomDocument(), FinalizeCollisionUndoAction(), FinalizeSelectionUndoAction(), FinalizeUndoAction(), FinalizeWaterFillUndoAction(), GetRoomGraphicsUsage(), HandleDungeonPaletteChanged(), HandleObjectPlaced(), Initialize(), InvalidateDungeonPaletteUsers(), Load(), LoadedRoomCount(), NavigateToPlacedObject(), OnEntranceSelected(), OnRoomSelected(), OnRoomSelected(), OpenGraphicsEditorForObject(), OpenObjectTileEditorForObject(), PendingRoomCount(), PlanPendingRoomStreamRanges(), PreflightDoorMutation(), PreflightObjectMutation(), PreflightPotItemPlacement(), PreflightRoomTransfer(), PreflightSpriteMutation(), PreflightStreamMutation(), PreviewDoorConnection(), PreviewRoomTransfer(), RefreshRomBackedState(), RefreshRoomMetadataViews(), RefreshSelectionEditViews(), ReloadWaterFillZones(), ResolveDungeonRenderContextForRoom(), RestoreChest(), RestoreRoomCustomCollision(), RestoreRoomCustomCollisionBatch(), RestoreRoomEntities(), RestoreRoomMetadataBatch(), RestoreRoomObjects(), RestoreRoomTransfer(), RestoreRoomWaterFill(), RestoreSelectionEditBatch(), RollbackSaveTransaction(), rooms(), rooms(), Save(), SetGameData(), SetRom(), SwapRoomInPanel(), SynchronizeCustomObjectAssets(), TotalRoomCount(), ValidateSaveScope(), and VisitGraphicsUsageRooms().
|
private |
Definition at line 482 of file dungeon_editor_v2.h.
Referenced by BeginSaveTransaction(), BuildDungeonRenderEntranceCandidates(), CollectWriteRanges(), GetEntranceCameraState(), HasPendingDungeonChanges(), Initialize(), Load(), OnEntranceSelected(), RefreshEntranceDirtyState(), RefreshRomBackedState(), ResolveEntranceRoomId(), RestoreEntranceCameraState(), RestoreEntranceProperties(), RollbackSaveTransaction(), Save(), SetGraphicsPreviewEntrance(), and ValidateSaveScope().
|
private |
Definition at line 484 of file dungeon_editor_v2.h.
Referenced by BeginSaveTransaction(), BuildDungeonRenderEntranceCandidates(), CollectWriteRanges(), GetEntranceCameraState(), HasPendingDungeonChanges(), Initialize(), Load(), RefreshEntranceDirtyState(), RefreshRomBackedState(), ResolveEntranceRoomId(), RestoreEntranceCameraState(), RestoreSpawnProperties(), RollbackSaveTransaction(), Save(), and ValidateSaveScope().
|
mutableprivate |
Definition at line 485 of file dungeon_editor_v2.h.
Referenced by GetDungeonRenderContextCensus(), and InvalidateDungeonRenderContextCensus().
|
mutableprivate |
Definition at line 487 of file dungeon_editor_v2.h.
Referenced by GetDungeonRenderContextCensus().
|
mutableprivate |
Definition at line 488 of file dungeon_editor_v2.h.
Referenced by GetDungeonRenderContextCensus(), and InvalidateDungeonRenderContextCensus().
|
private |
Definition at line 490 of file dungeon_editor_v2.h.
Referenced by GetDungeonRenderContextCensus(), and PrepareForSessionTeardown().
|
mutableprivate |
Definition at line 491 of file dungeon_editor_v2.h.
Referenced by GetDungeonRenderContextCensus(), and InvalidateDungeonRenderContextCensus().
|
mutableprivate |
Definition at line 492 of file dungeon_editor_v2.h.
Referenced by GetDungeonRenderContextCensus(), and InvalidateDungeonRenderContextCensus().
|
mutableprivate |
Definition at line 493 of file dungeon_editor_v2.h.
Referenced by GetDungeonRenderContextCensus().
|
mutableprivate |
Definition at line 494 of file dungeon_editor_v2.h.
Referenced by BuildContextSnapshot(), GetDungeonRenderContextCensus(), and InvalidateDungeonRenderContextCensus().
|
private |
Definition at line 504 of file dungeon_editor_v2.h.
Referenced by BeginSaveTransaction(), CommitSaveTransaction(), RefreshRomBackedState(), RollbackSaveTransaction(), and RunWithSaveTransaction().
|
private |
Definition at line 505 of file dungeon_editor_v2.h.
Referenced by CommitSaveTransaction(), RecordEntrancePropertyEdit(), and RecordSpawnPropertyEdit().
|
private |
Definition at line 507 of file dungeon_editor_v2.h.
Referenced by ConsumeRoomCanvasDeleteShortcut(), ExpireStaleRoomCanvasDeleteShortcut(), and QueueRoomCanvasDeleteShortcut().
|
private |
Definition at line 511 of file dungeon_editor_v2.h.
Referenced by BuildContextSnapshot(), Initialize(), Load(), OnEntranceSelected(), OnRoomSelected(), RefreshRomBackedState(), ResolveDungeonRenderContextForRoom(), SetGraphicsPreviewEntrance(), and SetRom().
|
private |
Definition at line 512 of file dungeon_editor_v2.h.
Referenced by Initialize(), OnEntranceSelected(), OnRoomSelected(), ResolveDungeonRenderContextForRoom(), SetGraphicsPreviewEntrance(), and SetRom().
|
private |
Definition at line 515 of file dungeon_editor_v2.h.
Referenced by CycleRoomSelection(), DrawRoomPanels(), GetStandaloneViewerForRoom(), HandleDungeonPaletteChanged(), Initialize(), Load(), OnRoomSelected(), ProcessPendingSwap(), and Update().
|
private |
Definition at line 516 of file dungeon_editor_v2.h.
Referenced by BuildContextSnapshot(), Copy(), CurrentRoomHasPendingChanges(), Cut(), CycleObjectSelection(), CycleRoomSelection(), HandleDungeonPaletteChanged(), HandleObjectPlaced(), Initialize(), Load(), mutable_current_room_id(), NavigateToAdjacentRoom(), OnRoomSelected(), Paste(), Redo(), RefreshEntranceCameraOverlays(), RefreshRomBackedState(), RefreshRoomMetadataViews(), SetGraphicsPreviewEntrance(), SetWorkbenchWorkflowMode(), Undo(), Update(), and VisitGraphicsUsageRooms().
|
staticconstexprprivate |
Definition at line 519 of file dungeon_editor_v2.h.
Referenced by OnRoomSelected().
|
private |
Definition at line 520 of file dungeon_editor_v2.h.
Referenced by CycleRoomSelection(), GetRecentRooms(), Initialize(), and OnRoomSelected().
|
private |
Definition at line 521 of file dungeon_editor_v2.h.
|
private |
Definition at line 524 of file dungeon_editor_v2.h.
Referenced by EnsureMinecartTrackEditorPanel(), FocusObjectCoverage(), Initialize(), Load(), OnRoomSelected(), RefreshRomBackedState(), SelectObject(), SetAgentMode(), Update(), and WireViewerPanelCallbacks().
|
private |
Definition at line 525 of file dungeon_editor_v2.h.
Referenced by CanHandleDungeonNavigationShortcut(), Initialize(), InvalidateDungeonRenderContextCensus(), and PrepareForSessionTeardown().
|
private |
Definition at line 526 of file dungeon_editor_v2.h.
Referenced by CanHandleDungeonNavigationShortcut(), and Initialize().
|
private |
Definition at line 529 of file dungeon_editor_v2.h.
Referenced by HandleDungeonPaletteChanged(), Load(), OnRoomSelected(), RefreshRomBackedState(), and RefreshRoomMetadataViews().
|
private |
Definition at line 530 of file dungeon_editor_v2.h.
Referenced by HandleDungeonPaletteChanged(), Load(), OnRoomSelected(), RefreshRomBackedState(), and RefreshRoomMetadataViews().
|
private |
Definition at line 531 of file dungeon_editor_v2.h.
Referenced by HandleArenaPaletteChanged(), HandleDungeonPaletteChanged(), OnRoomSelected(), RefreshRomBackedState(), and RefreshRoomMetadataViews().
|
private |
Definition at line 532 of file dungeon_editor_v2.h.
Referenced by HandleDungeonPaletteChanged(), Load(), OnRoomSelected(), RefreshRomBackedState(), and RefreshRoomMetadataViews().
|
private |
Definition at line 533 of file dungeon_editor_v2.h.
Referenced by RegisterPaletteListener(), and ~DungeonEditorV2().
|
private |
Definition at line 536 of file dungeon_editor_v2.h.
Referenced by DrawRoomTab(), Load(), OnRoomSelected(), OpenObjectTileEditorForObject(), RefreshRomBackedState(), SetGameData(), and SetRom().
|
private |
Definition at line 537 of file dungeon_editor_v2.h.
Referenced by active_rooms(), current_room_id(), Initialize(), Load(), OnEntranceSelected(), OnRoomSelected(), ProcessPendingSwap(), RefreshRomBackedState(), and SetRom().
|
staticconstexprprivate |
Definition at line 538 of file dungeon_editor_v2.h.
|
private |
Definition at line 540 of file dungeon_editor_v2.h.
Referenced by ConfigureViewerUndoHooks(), RefreshRomBackedState(), and SetRom().
|
private |
Definition at line 541 of file dungeon_editor_v2.h.
Referenced by ApplyDoorConnection(), CanHandleDungeonNavigationShortcut(), DrawRoomPanels(), EnsureMinecartTrackEditorPanel(), FinalizePendingUndoActions(), GetStandaloneViewerForRoom(), HandleDungeonPaletteChanged(), PreviewRoomTransfer(), ProcessPendingSwap(), RefreshEntranceCameraOverlays(), RefreshRomBackedState(), RefreshRoomMetadataViews(), RefreshSelectionEditViews(), SetGameData(), SetRom(), SynchronizeCustomObjectAssets(), and TouchViewerLru().
|
private |
Definition at line 543 of file dungeon_editor_v2.h.
Referenced by ApplyDoorConnection(), CanHandleDungeonNavigationShortcut(), EnsureMinecartTrackEditorPanel(), FinalizePendingUndoActions(), HandleDungeonPaletteChanged(), PreviewRoomTransfer(), RefreshEntranceCameraOverlays(), RefreshRomBackedState(), RefreshRoomMetadataViews(), RefreshSelectionEditViews(), SetGameData(), SetRom(), and SynchronizeCustomObjectAssets().
|
private |
Definition at line 544 of file dungeon_editor_v2.h.
Referenced by ApplyDoorConnection(), CanHandleDungeonNavigationShortcut(), EnsureMinecartTrackEditorPanel(), FinalizePendingUndoActions(), HandleDungeonPaletteChanged(), PreviewRoomTransfer(), RefreshEntranceCameraOverlays(), RefreshRomBackedState(), RefreshRoomMetadataViews(), RefreshSelectionEditViews(), SetGameData(), SetRom(), and SynchronizeCustomObjectAssets().
|
private |
Definition at line 546 of file dungeon_editor_v2.h.
Referenced by Load(), OnRoomSelected(), RefreshRomBackedState(), and RefreshRoomMetadataViews().
|
private |
Definition at line 552 of file dungeon_editor_v2.h.
Referenced by ConfigureMinecartProjectCallbacks(), HandleDungeonPaletteChanged(), HandleObjectPlaced(), Load(), object_editor_panel(), object_selector_panel(), OnRoomSelected(), PrepareForSessionTeardown(), RefreshRomBackedState(), RefreshRoomMetadataViews(), SelectObject(), SetAgentMode(), SetGameData(), and SynchronizeCustomObjectAssets().
|
private |
Definition at line 553 of file dungeon_editor_v2.h.
Referenced by door_editor_panel(), Load(), and PrepareForSessionTeardown().
|
private |
Definition at line 554 of file dungeon_editor_v2.h.
Referenced by HandleDungeonPaletteChanged(), Load(), OnRoomSelected(), PrepareForSessionTeardown(), RefreshRomBackedState(), and RefreshRoomMetadataViews().
|
private |
Definition at line 555 of file dungeon_editor_v2.h.
Referenced by GetRoomGraphicsUsage(), and SetRoomGraphicsOverworldProvider().
|
private |
Definition at line 556 of file dungeon_editor_v2.h.
Referenced by Load().
|
private |
Definition at line 557 of file dungeon_editor_v2.h.
Referenced by Load(), and PrepareForSessionTeardown().
|
private |
Definition at line 558 of file dungeon_editor_v2.h.
Referenced by Load(), and PrepareForSessionTeardown().
|
private |
Definition at line 559 of file dungeon_editor_v2.h.
Referenced by ApplyMinecartCollisionBatch(), ApplyMinecartCollisionStamp(), ApplyMinecartTrackEdit(), ConfigureMinecartProjectCallbacks(), EnsureMinecartTrackEditorPanel(), FinalizeCollisionUndoAction(), FinalizeUndoAction(), HasPendingProjectDraftChanges(), HasUnpublishedMinecartTrackChanges(), Load(), PrepareForSessionTeardown(), PrepareProjectSave(), RefreshRomBackedState(), RefreshSelectionEditViews(), RestoreRoomCustomCollision(), RestoreRoomCustomCollisionBatch(), RestoreRoomObjects(), Save(), and SetDependencies().
|
private |
Definition at line 560 of file dungeon_editor_v2.h.
Referenced by EnsureMinecartTrackEditorPanel(), Load(), RefreshRomBackedState(), and RefreshRoomMetadataViews().
|
private |
Definition at line 561 of file dungeon_editor_v2.h.
Referenced by EnsureMinecartTrackEditorPanel(), FocusObjectCoverage(), Load(), and RefreshRomBackedState().
|
private |
Definition at line 562 of file dungeon_editor_v2.h.
Referenced by EnsureMinecartTrackEditorPanel(), Load(), and PrepareForSessionTeardown().
|
private |
Definition at line 563 of file dungeon_editor_v2.h.
Referenced by EnsureMinecartTrackEditorPanel(), Load(), and PrepareForSessionTeardown().
|
private |
Definition at line 564 of file dungeon_editor_v2.h.
Referenced by HandleDungeonPaletteChanged(), HasPendingDungeonChanges(), Load(), OnRoomSelected(), OpenObjectTileEditorForObject(), PrepareForSessionTeardown(), RefreshRomBackedState(), RefreshRoomMetadataViews(), and Save().
|
private |
Definition at line 565 of file dungeon_editor_v2.h.
Referenced by Load().
|
private |
Definition at line 568 of file dungeon_editor_v2.h.
Referenced by Load().
|
private |
Definition at line 569 of file dungeon_editor_v2.h.
Referenced by Load().
|
private |
Definition at line 570 of file dungeon_editor_v2.h.
Referenced by Load().
|
private |
Definition at line 571 of file dungeon_editor_v2.h.
Referenced by Load().
|
private |
Definition at line 572 of file dungeon_editor_v2.h.
Referenced by Load().
|
private |
Definition at line 573 of file dungeon_editor_v2.h.
Referenced by Load().
|
private |
Definition at line 574 of file dungeon_editor_v2.h.
Referenced by EnsureMinecartTrackEditorPanel().
|
private |
Definition at line 575 of file dungeon_editor_v2.h.
Referenced by DrawRoomTab(), DungeonEditorV2(), Initialize(), Load(), OnRoomSelected(), RefreshRomBackedState(), and SetGameData().
|
private |
Definition at line 576 of file dungeon_editor_v2.h.
|
private |
Definition at line 578 of file dungeon_editor_v2.h.
Referenced by Load(), RefreshRomBackedState(), SetWorkbenchWorkflowMode(), and Update().
|
private |
Definition at line 579 of file dungeon_editor_v2.h.
Referenced by SynchronizeCustomObjectAssets().
|
private |
Definition at line 580 of file dungeon_editor_v2.h.
Referenced by SynchronizeCustomObjectAssets().
|
private |
Definition at line 583 of file dungeon_editor_v2.h.
Referenced by DrawRoomPanels(), Initialize(), and Update().
|
private |
Definition at line 586 of file dungeon_editor_v2.h.
Referenced by DrawRoomPanels().
|
private |
Definition at line 589 of file dungeon_editor_v2.h.
Referenced by DrawRoomPanels(), FocusRoom(), and ProcessPendingSwap().
|
private |
Definition at line 594 of file dungeon_editor_v2.h.
Referenced by GetOrCreateRoomPanelSlotId(), and ProcessPendingSwap().
|
private |
Definition at line 595 of file dungeon_editor_v2.h.
Referenced by GetOrCreateRoomPanelSlotId(), ProcessPendingSwap(), and ReleaseRoomPanelSlotId().
|
private |
Definition at line 606 of file dungeon_editor_v2.h.
Referenced by ApplyMinecartCollisionBatch(), BeginUndoSnapshot(), CommitSelectionEdit(), FinalizePendingUndoActions(), FinalizeUndoAction(), HasPendingUndoSnapshot(), and RefreshRomBackedState().
|
private |
Definition at line 607 of file dungeon_editor_v2.h.
Referenced by BeginUndoSnapshot(), FinalizeUndoAction(), and RefreshRomBackedState().
|
private |
Definition at line 608 of file dungeon_editor_v2.h.
Referenced by Redo(), RefreshRomBackedState(), RestoreChest(), RestoreRoomCustomCollisionBatch(), RestoreRoomEntities(), RestoreRoomMetadataBatch(), RestoreRoomObjects(), RestoreRoomTransfer(), RestoreSelectionEditBatch(), and Undo().
|
private |
Definition at line 614 of file dungeon_editor_v2.h.
Referenced by ApplyMinecartCollisionBatch(), CommitSelectionEdit(), FinalizeSelectionUndoAction(), HasPendingUndoSnapshot(), and RefreshRomBackedState().
|
private |
Definition at line 622 of file dungeon_editor_v2.h.
Referenced by ApplyMinecartCollisionBatch(), BeginEntityUndoSnapshot(), FinalizeEntityUndoAction(), FinalizePendingEntityUndoActions(), HasPendingUndoSnapshot(), and RefreshRomBackedState().
|
private |
Definition at line 628 of file dungeon_editor_v2.h.
Referenced by ApplyMinecartCollisionBatch(), BeginCollisionUndoSnapshot(), CommitSelectionEdit(), FinalizeCollisionUndoAction(), FinalizePendingUndoActions(), HasPendingUndoSnapshot(), and RefreshRomBackedState().
|
private |
Definition at line 634 of file dungeon_editor_v2.h.
Referenced by ApplyMinecartCollisionBatch(), BeginWaterFillUndoSnapshot(), CommitSelectionEdit(), FinalizePendingUndoActions(), FinalizeWaterFillUndoAction(), HasPendingUndoSnapshot(), and RefreshRomBackedState().
|
private |
Definition at line 657 of file dungeon_editor_v2.h.
Referenced by ProcessPendingSwap(), RefreshRomBackedState(), and SwapRoomInPanel().
|
private |
Definition at line 664 of file dungeon_editor_v2.h.
Referenced by ProcessPendingWorkflowMode(), QueueWorkbenchWorkflowMode(), and RefreshRomBackedState().
|
private |
Definition at line 675 of file dungeon_editor_v2.h.
Referenced by Initialize(), ProcessPendingStandaloneToolWindow(), and RefreshRomBackedState().
|
private |
Definition at line 680 of file dungeon_editor_v2.h.
Referenced by SetWorkbenchWorkflowMode().