#include <dungeon_canvas_viewer.h>
Classes | |
| struct | CachedSpritePreview |
| struct | ChangePingRect |
| struct | ConnectedRoomCompositeEntry |
| struct | ConnectedRoomGraphData |
| struct | EntityVisibility |
| struct | ObjectOutlineToggles |
| struct | ObjectRenderCache |
| struct | RoomLayerState |
Public Types | |
| using | MetadataEditCallback |
| using | MetadataBatchEditCallback |
| using | ChestEditCallback |
| using | ChestDeleteCallback = std::function<absl::Status(int, size_t)> |
| using | DoorConnectionPreviewCallback |
| using | DoorConnectionApplyCallback |
| using | RoomDocumentExportCallback |
| using | RoomTransferPreviewCallback |
| using | RoomTransferApplyCallback |
Private Types | |
| using | SpritePreviewKey = std::tuple<uint64_t, uint8_t, int, bool> |
Definition at line 230 of file dungeon_canvas_viewer.h.
Definition at line 301 of file dungeon_canvas_viewer.h.
Definition at line 303 of file dungeon_canvas_viewer.h.
Definition at line 305 of file dungeon_canvas_viewer.h.
| using yaze::editor::DungeonCanvasViewer::ChestDeleteCallback = std::function<absl::Status(int, size_t)> |
Definition at line 307 of file dungeon_canvas_viewer.h.
Definition at line 308 of file dungeon_canvas_viewer.h.
Definition at line 311 of file dungeon_canvas_viewer.h.
Definition at line 350 of file dungeon_canvas_viewer.h.
Definition at line 352 of file dungeon_canvas_viewer.h.
Definition at line 355 of file dungeon_canvas_viewer.h.
|
private |
Definition at line 1174 of file dungeon_canvas_viewer.h.
|
inlineexplicit |
Definition at line 232 of file dungeon_canvas_viewer.h.
References yaze::zelda3::BG1_Objects, yaze::zelda3::BG2_Objects, yaze::zelda3::Room::GetDoors(), yaze::zelda3::GetEffectiveObjectLayerSemantics(), GetLayerBlendMode(), IsLayerVisible(), yaze::zelda3::kBg1, yaze::zelda3::kBg2, yaze::zelda3::kBothBg1Bg2, NavigateToDoorConnectionTarget(), NavigateToRoom(), object_interaction_, yaze::zelda3::Off, rom(), rooms_, ScrollToTile(), yaze::editor::DungeonObjectInteraction::SelectEntity(), yaze::editor::DungeonObjectInteraction::SetDoorPairNavigationCallback(), yaze::editor::DungeonObjectInteraction::SetObjectSelectionVisibilityPredicate(), yaze::editor::DungeonObjectInteraction::SetRom(), TriggerCanvasPingRect(), TriggerChangePing(), and yaze::editor::DungeonRoomStore::TryEnsureRoom().
|
default |
| void yaze::editor::DungeonCanvasViewer::DrawDungeonCanvas | ( | int | room_id | ) |
Definition at line 370 of file dungeon_canvas_viewer.cc.
References yaze::gui::BeginCanvas(), BuildRoomCanvasFrameOptions(), yaze::editor::MinecartCanvasTool::Cancel(), yaze::editor::InteractionModeManager::CancelCurrentMode(), yaze::editor::DungeonObjectInteraction::CancelPlacement(), canvas_, yaze::editor::MinecartTrackEditorPanel::canvas_editing(), yaze::editor::InteractionCoordinator::ClearAllEntitySelections(), yaze::editor::DungeonObjectInteraction::ClearSelection(), ConsumePendingCanvasScroll(), crumble_floor_view_, current_room_id_, DrawChangePingOverlay(), DrawCompactLayerToggles(), yaze::editor::CrumbleFloorView::DrawControls(), DrawCoordinateOverlayHud(), yaze::editor::DrawDungeonRoomTransferPopup(), DrawHeaderHiddenMetadataHud(), DrawPersistentDebugWindows(), DrawRoomCanvasContent(), DrawRoomCanvasOverlays(), yaze::gui::EndCanvas(), yaze::editor::DungeonObjectInteraction::entity_coordinator(), yaze::editor::DungeonObjectInteraction::HandleMouseRelease(), HandleRoomCanvasNavigation(), header_visible_, minecart_canvas_tool_, minecart_track_panel_, yaze::editor::DungeonObjectInteraction::mode_manager(), object_interaction_, object_interaction_enabled_, PopulateCanvasContextMenu(), PrepareActiveRoomForCanvasFrame(), PrepareRoomCompositeBitmap(), yaze::gui::CanvasTouchHandler::ProcessForCanvas(), project_, PruneConnectedRoomCompositeOutputs(), RecordVisitedRoom(), yaze::editor::CrumbleFloorView::rehearsing(), rom_, rooms_, yaze::editor::MinecartTrackEditorPanel::set_canvas_editing(), yaze::editor::MinecartTrackEditorPanel::set_collision_stamping(), yaze::editor::DungeonObjectInteraction::SetCurrentRoom(), show_crumble_floor_, yaze::editor::CrumbleFloorView::Stop(), yaze::editor::CrumbleFloorView::Sync(), SyncCanvasCaptureRegion(), SyncCanvasConfigFromViewerState(), SyncViewerStateFromCanvasConfig(), touch_handler_, yaze::gui::CanvasTouchHandler::Update(), UpdateRoomCanvasShortcutFocus(), UpdateRoomCanvasViewport(), and ValidateRoomCanvasRequest().
Referenced by Draw(), yaze::editor::DungeonWorkbenchContent::DrawCanvasPane(), and yaze::editor::DungeonWorkbenchContent::DrawSplitView().
| std::optional< int > yaze::editor::DungeonCanvasViewer::DrawConnectedRoomMatrix | ( | int | center_room_id | ) |
Definition at line 840 of file dungeon_canvas_connected_matrix.cc.
References yaze::gui::BeginCanvas(), yaze::gui::BeginNoPadding(), BuildConnectedRoomGraph(), CancelMinecartGesture(), yaze::gui::CanvasFrameOptions::canvas_size, yaze::editor::CollectDungeonConnectedRoomLinkDiagnostics(), yaze::gui::ComputeZoomToFit(), connected_canvas_, connected_canvas_fit_requested_, connected_canvas_initialized_, connected_canvas_reset_requested_, connected_controls_custom_position_, connected_controls_custom_position_value_, connected_controls_inline_, connected_graph_cache_, connected_graph_cache_start_room_id_, connected_side_panel_visible_last_frame_, crumble_floor_view_, current_room_id_, yaze::editor::Door, yaze::gui::CanvasFrameOptions::draw_context_menu, yaze::gui::CanvasFrameOptions::draw_grid, yaze::gui::CanvasFrameOptions::draw_overlay, yaze::gui::DrawCanvasHUD(), yaze::gui::EndCanvas(), yaze::gui::EndNoPadding(), EnsureRoomLoadedForConnectedView(), yaze::editor::FormatDungeonConnectedLinkDescription(), yaze::editor::FormatDungeonStaircaseIssueDescription(), yaze::gfx::Arena::Get(), yaze::gui::Canvas::GetConfig(), yaze::gui::GetOutlineVec4(), yaze::editor::dungeon_project_labels::GetRoomLabel(), yaze::editor::AgentUI::GetTheme(), yaze::gui::Canvas::global_scale(), yaze::Rom::is_loaded(), yaze::zelda3::kNumberOfRooms, yaze::gui::kPreviewOnly, last_connected_matrix_room_id_, yaze::editor::DungeonCanvasViewer::ConnectedRoomGraphData::links, yaze::editor::DungeonCanvasViewer::ConnectedRoomGraphData::max_col, yaze::editor::DungeonCanvasViewer::ConnectedRoomGraphData::max_row, yaze::editor::DungeonCanvasViewer::ConnectedRoomGraphData::min_col, yaze::editor::DungeonCanvasViewer::ConnectedRoomGraphData::min_row, NavigateToRoom(), PrepareConnectedRoomCompositeBitmap(), yaze::gfx::Arena::ProcessTextureQueue(), project_, PruneConnectedRoomCompositeOutputs(), yaze::gui::CanvasFrameOptions::render_popups, renderer_, yaze::gui::CanvasConfig::role, rom_, yaze::editor::DungeonCanvasViewer::ConnectedRoomGraphData::room_count, yaze::editor::DungeonCanvasViewer::ConnectedRoomGraphData::room_floor_labels, yaze::editor::DungeonCanvasViewer::ConnectedRoomGraphData::room_mask, yaze::editor::DungeonCanvasViewer::ConnectedRoomGraphData::room_positions, RoomHasNonExitDoorInDirection(), rooms_, yaze::gui::Canvas::set_global_scale(), show_connected_current_room_preview_, show_connected_overview_, yaze::editor::DungeonRoomStore::size(), yaze::editor::CrumbleFloorView::Stop(), and yaze::gfx::Bitmap::texture().
Referenced by yaze::editor::DungeonWorkbenchContent::DrawCanvasPane().
| void yaze::editor::DungeonCanvasViewer::DrawProposalPreview | ( | const DungeonProposalOverlay & | overlay, |
| const std::vector< char > & | layer_visible, | ||
| bool | show_overlay, | ||
| float | scale ) |
Definition at line 144 of file dungeon_canvas_proposal_preview.cc.
References EnsureRoomLoadedForConnectedView(), yaze::gfx::Arena::Get(), GetProposalPreviewContentSize(), yaze::Rom::is_loaded(), yaze::editor::kProposalTilePixels, yaze::editor::DungeonProposalOverlay::layers, PrepareConnectedRoomCompositeBitmap(), yaze::gfx::Arena::ProcessTextureQueue(), yaze::editor::ProposalRoomOriginX(), yaze::editor::ProposalShapeHitTest(), renderer_, rom_, yaze::editor::DungeonProposalOverlay::rooms, and rooms_.
Referenced by yaze::editor::DungeonWorkbenchContent::DrawProposalPreviewWindow().
| ImVec2 yaze::editor::DungeonCanvasViewer::GetProposalPreviewContentSize | ( | const DungeonProposalOverlay & | overlay, |
| float | scale ) const |
Definition at line 132 of file dungeon_canvas_proposal_preview.cc.
References yaze::editor::ProposalRoomOriginX(), and yaze::editor::DungeonProposalOverlay::rooms.
Referenced by DrawProposalPreview().

| void yaze::editor::DungeonCanvasViewer::DrawConnectedToolbarControls | ( | int | center_room_id | ) |
Definition at line 715 of file dungeon_canvas_connected_matrix.cc.
References BuildConnectedRoomGraph(), connected_action_status_is_error_, connected_action_status_message_, connected_canvas_fit_requested_, connected_canvas_reset_requested_, connected_graph_cache_, connected_graph_cache_start_room_id_, ConnectedCanvasScale(), yaze::gui::ConvertColorToImVec4(), yaze::editor::DungeonCanvasViewer::ConnectedRoomGraphData::dungeon_scope_active, yaze::editor::DungeonCanvasViewer::ConnectedRoomGraphData::floor_order, yaze::editor::FormatDungeonConnectedLinkDescription(), yaze::editor::FormatDungeonStaircaseIssueDescription(), yaze::gui::ThemeManager::Get(), yaze::editor::AgentUI::GetTheme(), yaze::Rom::is_loaded(), yaze::zelda3::kNumberOfRooms, yaze::editor::DungeonCanvasViewer::ConnectedRoomGraphData::out_of_scope_links, rom_, yaze::editor::DungeonCanvasViewer::ConnectedRoomGraphData::room_count, rooms_, show_connected_current_room_preview_, show_connected_overview_, yaze::editor::DungeonCanvasViewer::ConnectedRoomGraphData::staircase_issues, yaze::editor::AgentUITheme::status_success, and yaze::editor::DungeonCanvasViewer::ConnectedRoomGraphData::unlinked_room_count.
| void yaze::editor::DungeonCanvasViewer::Draw | ( | int | room_id | ) |
Definition at line 305 of file dungeon_canvas_viewer.cc.
References DrawDungeonCanvas().

|
inline |
Definition at line 299 of file dungeon_canvas_viewer.h.
References yaze::editor::MinecartCanvasTool::Cancel(), and minecart_canvas_tool_.
Referenced by DrawConnectedRoomMatrix().

| void yaze::editor::DungeonCanvasViewer::TriggerChangePing | ( | ) |
Definition at line 183 of file dungeon_canvas_viewer.cc.
References change_ping_rects_, and change_ping_start_time_.
Referenced by DrawRecentRoomBreadcrumbs(), DungeonCanvasViewer(), and yaze::editor::DungeonEditorV2::RefreshRoomMetadataViews().
|
inline |
Definition at line 313 of file dungeon_canvas_viewer.h.
References metadata_edit_callback_.
Referenced by yaze::editor::DungeonEditorV2::ConfigureViewerUndoHooks().
|
inline |
Definition at line 316 of file dungeon_canvas_viewer.h.
References metadata_batch_edit_callback_.
Referenced by yaze::editor::DungeonEditorV2::ConfigureViewerUndoHooks().
|
inline |
Definition at line 319 of file dungeon_canvas_viewer.h.
References chest_edit_callback_.
Referenced by yaze::editor::DungeonEditorV2::ConfigureViewerUndoHooks().
|
inline |
Definition at line 322 of file dungeon_canvas_viewer.h.
References chest_delete_callback_.
Referenced by yaze::editor::DungeonEditorV2::ConfigureViewerUndoHooks().
|
inline |
Definition at line 325 of file dungeon_canvas_viewer.h.
References door_connection_apply_callback_, and door_connection_preview_callback_.
Referenced by yaze::editor::DungeonEditorV2::ConfigureViewerUndoHooks().
| absl::StatusOr< DungeonConnectionPlan > yaze::editor::DungeonCanvasViewer::PreviewDoorConnection | ( | const DungeonConnectionRequest & | request | ) |
Definition at line 67 of file dungeon_canvas_viewer.cc.
References context(), yaze::editor::BaseEntityHandler::context(), current_room_id_, door_connection_preview_callback_, yaze::editor::DungeonObjectInteraction::entity_coordinator(), object_interaction_, yaze::editor::DungeonConnectionRequest::source_room_id, and yaze::editor::InteractionCoordinator::tile_handler().
Referenced by yaze::editor::DrawDungeonConnectionEditor().

| absl::Status yaze::editor::DungeonCanvasViewer::ApplyDoorConnection | ( | const DungeonConnectionPlan & | plan | ) |
Definition at line 80 of file dungeon_canvas_viewer.cc.
References context(), yaze::editor::BaseEntityHandler::context(), current_room_id_, door_connection_apply_callback_, yaze::editor::DungeonObjectInteraction::entity_coordinator(), header_read_only_, object_interaction_, yaze::editor::DungeonConnectionPlan::request, yaze::editor::DungeonConnectionRequest::source_room_id, and yaze::editor::InteractionCoordinator::tile_handler().
Referenced by yaze::editor::DrawDungeonConnectionEditor().

|
inline |
Definition at line 333 of file dungeon_canvas_viewer.h.
References door_connection_navigation_callback_.
Referenced by yaze::editor::DungeonEditorV2::ConfigureViewerUndoHooks().
|
inline |
Definition at line 337 of file dungeon_canvas_viewer.h.
References door_connection_navigation_callback_.
Referenced by yaze::editor::DrawDungeonConnectionEditor().
|
inline |
Definition at line 340 of file dungeon_canvas_viewer.h.
References door_connection_navigation_callback_.
Referenced by DungeonCanvasViewer(), and yaze::editor::anonymous_namespace{dungeon_connection_editor.cc}::OpenTarget().
|
inline |
Definition at line 347 of file dungeon_canvas_viewer.h.
References connection_editor_state_.
Referenced by yaze::editor::DrawDungeonConnectionEditor().
|
inline |
Definition at line 357 of file dungeon_canvas_viewer.h.
References room_document_export_callback_, room_transfer_apply_callback_, and room_transfer_preview_callback_.
Referenced by yaze::editor::DungeonEditorV2::ConfigureViewerUndoHooks().
| absl::StatusOr< std::string > yaze::editor::DungeonCanvasViewer::ExportRoomDocument | ( | int | room_id | ) |
Definition at line 29 of file dungeon_canvas_viewer.cc.
References room_document_export_callback_, rooms_, and yaze::editor::DungeonRoomStore::size().
Referenced by yaze::editor::DrawDungeonRoomTransferEditor().

| absl::StatusOr< DungeonRoomTransferPlan > yaze::editor::DungeonCanvasViewer::PreviewRoomTransfer | ( | int | source_room_id, |
| const std::string & | json, | ||
| const DungeonRoomTransferOptions & | options ) |
Definition at line 39 of file dungeon_canvas_viewer.cc.
References context(), yaze::editor::BaseEntityHandler::context(), current_room_id_, yaze::editor::DungeonObjectInteraction::entity_coordinator(), header_read_only_, object_interaction_, room_transfer_preview_callback_, and yaze::editor::InteractionCoordinator::tile_handler().
Referenced by yaze::editor::anonymous_namespace{dungeon_room_transfer_editor.cc}::PreviewReplacement().

| absl::Status yaze::editor::DungeonCanvasViewer::ApplyRoomTransfer | ( | const DungeonRoomTransferPlan & | plan | ) |
Definition at line 53 of file dungeon_canvas_viewer.cc.
References context(), yaze::editor::BaseEntityHandler::context(), current_room_id_, yaze::editor::DungeonObjectInteraction::entity_coordinator(), header_read_only_, object_interaction_, room_transfer_apply_callback_, yaze::editor::DungeonRoomTransferPlan::target_room_id, and yaze::editor::InteractionCoordinator::tile_handler().
Referenced by yaze::editor::DrawDungeonRoomTransferEditor().

|
inline |
Definition at line 369 of file dungeon_canvas_viewer.h.
References room_transfer_state_.
Referenced by yaze::editor::DrawDungeonRoomTransferEditor(), yaze::editor::DrawDungeonRoomTransferPopup(), and yaze::editor::DungeonWorkbenchContent::DrawInspectorShelfRoom().
| absl::Status yaze::editor::DungeonCanvasViewer::EditRoomMetadata | ( | int | room_id, |
| const RoomMetadataEdit & | edit ) |
Definition at line 93 of file dungeon_canvas_viewer.cc.
References yaze::editor::DungeonRoomStore::GetIfLoaded(), header_read_only_, metadata_edit_callback_, and rooms_.
Referenced by yaze::editor::DrawDungeonDestinationEditor(), and yaze::editor::DrawDungeonRoomPropertyFields().

| absl::Status yaze::editor::DungeonCanvasViewer::EditRoomMetadataBatch | ( | const std::vector< RoomMetadataRequest > & | requests | ) |
Definition at line 102 of file dungeon_canvas_viewer.cc.
References yaze::editor::DungeonRoomStore::GetIfLoaded(), header_read_only_, metadata_batch_edit_callback_, and rooms_.

| absl::Status yaze::editor::DungeonCanvasViewer::EditChest | ( | int | room_id, |
| size_t | index, | ||
| uint8_t | item_id, | ||
| bool | big_chest ) |
Definition at line 115 of file dungeon_canvas_viewer.cc.
References chest_edit_callback_, yaze::editor::DungeonRoomStore::GetIfLoaded(), header_read_only_, and rooms_.
Referenced by yaze::editor::anonymous_namespace{dungeon_chest_editor.cc}::ApplyEdit().

| absl::Status yaze::editor::DungeonCanvasViewer::DeleteChest | ( | int | room_id, |
| size_t | index ) |
Definition at line 124 of file dungeon_canvas_viewer.cc.
References chest_delete_callback_, yaze::editor::DungeonRoomStore::GetIfLoaded(), header_read_only_, and rooms_.
Referenced by yaze::editor::anonymous_namespace{dungeon_chest_editor.cc}::DrawChestActions().

|
inline |
Definition at line 378 of file dungeon_canvas_viewer.h.
References chest_editor_state_.
Referenced by yaze::editor::DrawDungeonChestEditor().
|
inline |
Definition at line 379 of file dungeon_canvas_viewer.h.
References connected_graph_cache_, and connected_graph_cache_start_room_id_.
Referenced by yaze::editor::DungeonEditorV2::RefreshRoomMetadataViews().
| void yaze::editor::DungeonCanvasViewer::TriggerCanvasPingRect | ( | int | pixel_x, |
| int | pixel_y, | ||
| int | pixel_w, | ||
| int | pixel_h ) |
Definition at line 188 of file dungeon_canvas_viewer.cc.
References change_ping_rects_, and change_ping_start_time_.
Referenced by yaze::editor::anonymous_namespace{dungeon_chest_editor.cc}::DrawChestActions(), DungeonCanvasViewer(), and yaze::editor::anonymous_namespace{dungeon_connection_editor.cc}::OpenTarget().
| void yaze::editor::DungeonCanvasViewer::TriggerObjectChangePing | ( | const std::vector< zelda3::RoomObject > & | previous_objects, |
| const std::vector< zelda3::RoomObject > & | next_objects ) |
Definition at line 201 of file dungeon_canvas_viewer.cc.
References change_ping_rects_, change_ping_start_time_, yaze::zelda3::DimensionService::Get(), and yaze::zelda3::DimensionService::GetSelectionBoundsPixels().

| ImVec2 yaze::editor::DungeonCanvasViewer::GetConnectedContentSize | ( | int | center_room_id | ) |
Definition at line 697 of file dungeon_canvas_connected_matrix.cc.
References BuildConnectedRoomGraph(), connected_graph_cache_, connected_graph_cache_start_room_id_, yaze::zelda3::kNumberOfRooms, and rooms_.
Referenced by yaze::editor::DungeonWorkbenchContent::DrawCanvasPane().

| float yaze::editor::DungeonCanvasViewer::ConnectedCanvasScale | ( | ) | const |
Definition at line 710 of file dungeon_canvas_connected_matrix.cc.
References connected_canvas_, and yaze::gui::Canvas::global_scale().
Referenced by yaze::editor::DungeonWorkbenchContent::DrawCanvasPane(), and DrawConnectedToolbarControls().

|
inline |
Definition at line 397 of file dungeon_canvas_viewer.h.
References connected_controls_inline_.
Referenced by yaze::editor::DungeonWorkbenchToolbar::Draw().
|
inline |
Definition at line 401 of file dungeon_canvas_viewer.h.
References connected_graph_cache_, connected_graph_cache_start_room_id_, crumble_floor_view_, yaze::editor::EditorContext::game_data, game_data_, object_interaction_, yaze::editor::CrumbleFloorView::Reset(), ResetRoomCompositeOutputs(), yaze::editor::EditorContext::rom, rom_, and yaze::editor::DungeonObjectInteraction::SetRom().

|
inline |
Definition at line 412 of file dungeon_canvas_viewer.h.
References game_data_, and rom_.
Referenced by ApplyDoorConnection(), ApplyRoomTransfer(), PreviewDoorConnection(), and PreviewRoomTransfer().
|
inline |
Definition at line 413 of file dungeon_canvas_viewer.h.
References connected_graph_cache_, connected_graph_cache_start_room_id_, crumble_floor_view_, object_interaction_, yaze::editor::CrumbleFloorView::Reset(), ResetRoomCompositeOutputs(), rom(), rom_, and yaze::editor::DungeonObjectInteraction::SetRom().
Referenced by RefreshRomBackedState(), and yaze::editor::DungeonEditorV2::RefreshViewerRuntimeContext().

|
inline |
Definition at line 423 of file dungeon_canvas_viewer.h.
References rom_.
Referenced by yaze::editor::CustomCollisionPanel::Draw(), yaze::editor::WaterFillPanel::Draw(), yaze::editor::DrawDungeonConnectionEditor(), yaze::editor::DrawDungeonDestinationEditor(), yaze::editor::DrawDungeonRoomTransferEditor(), DungeonCanvasViewer(), RefreshRomBackedState(), yaze::editor::DungeonEditorV2::RefreshViewerRuntimeContext(), and SetRom().
|
inline |
Definition at line 424 of file dungeon_canvas_viewer.h.
References game_data(), game_data_, and ResetRoomCompositeOutputs().
Referenced by RefreshRomBackedState(), and yaze::editor::DungeonEditorV2::RefreshViewerRuntimeContext().

|
inline |
Definition at line 430 of file dungeon_canvas_viewer.h.
References game_data_.
Referenced by RefreshRomBackedState(), yaze::editor::DungeonEditorV2::RefreshViewerRuntimeContext(), and SetGameData().
|
inline |
Definition at line 431 of file dungeon_canvas_viewer.h.
References renderer_.
Referenced by yaze::editor::DungeonEditorV2::RefreshViewerRuntimeContext().
|
inline |
Definition at line 434 of file dungeon_canvas_viewer.h.
References connected_graph_cache_, connected_graph_cache_start_room_id_, ResetRoomCompositeOutputs(), rooms(), and rooms_.
Referenced by RefreshRomBackedState(), and yaze::editor::DungeonEditorV2::RefreshViewerRuntimeContext().

| void yaze::editor::DungeonCanvasViewer::RefreshRomBackedState | ( | Rom * | rom, |
| zelda3::GameData * | game_data, | ||
| DungeonRoomStore * | rooms, | ||
| int | room_id ) |
Definition at line 309 of file dungeon_canvas_viewer.cc.
References yaze::editor::MinecartCanvasTool::Cancel(), yaze::editor::InteractionModeManager::CancelCurrentMode(), yaze::editor::DungeonObjectInteraction::CancelPlacement(), change_ping_rects_, change_ping_start_time_, yaze::editor::InteractionCoordinator::ClearAllEntitySelections(), ClearPreviewObject(), yaze::editor::DungeonObjectInteraction::ClearSelection(), collision_overlay_cache_, connection_editor_state_, current_room_id_, yaze::editor::DungeonObjectInteraction::entity_coordinator(), game_data(), InvalidateExternalSpriteResources(), last_connected_matrix_room_id_, last_palette_hash_, minecart_canvas_tool_, yaze::editor::DungeonObjectInteraction::mode_manager(), object_interaction_, object_render_cache_, prev_blockset_, prev_layout_, prev_palette_, prev_spriteset_, ResetRoomCompositeOutputs(), rom(), room_layer_managers_, room_transfer_state_, rooms(), yaze::editor::DungeonObjectInteraction::SetCurrentRoom(), SetGameData(), SetRom(), and SetRooms().
Referenced by yaze::editor::DungeonEditorV2::RefreshRomBackedState().
|
inline |
Definition at line 447 of file dungeon_canvas_viewer.h.
References rooms_.
Referenced by yaze::editor::DungeonStatusBar::BuildState(), yaze::editor::CustomCollisionPanel::Draw(), yaze::editor::WaterFillPanel::Draw(), yaze::editor::DungeonWorkbenchContent::DrawCanvasPane(), yaze::editor::anonymous_namespace{dungeon_entity_inspector.cc}::DrawDoor(), yaze::editor::DrawDungeonChestEditor(), yaze::editor::DrawDungeonConnectionEditor(), yaze::editor::DrawDungeonDestinationEditor(), yaze::editor::DrawDungeonEntityInspector(), yaze::editor::DrawDungeonRoomPropertyFields(), yaze::editor::DrawDungeonRoomTransferEditor(), yaze::editor::DungeonWorkbenchContent::DrawInspectorShelfRoom(), yaze::editor::DungeonWorkbenchContent::DrawInspectorShelfSelection(), yaze::editor::anonymous_namespace{dungeon_entity_inspector.cc}::DrawItem(), yaze::editor::anonymous_namespace{dungeon_workbench_toolbar.cc}::DrawRecentRoomsContents(), yaze::editor::anonymous_namespace{dungeon_entity_inspector.cc}::DrawSprite(), yaze::editor::DungeonWorkbenchContent::GetEmbeddedDungeonMap(), yaze::editor::DoorEditorContent::HasMatchingViewer(), yaze::editor::ItemEditorPanel::HasMatchingViewer(), RefreshRomBackedState(), yaze::editor::DungeonEditorV2::RefreshViewerRuntimeContext(), set_active_rooms(), and SetRooms().
|
inline |
Definition at line 448 of file dungeon_canvas_viewer.h.
References rooms_.
Referenced by yaze::editor::CustomCollisionPanel::Draw(), and yaze::editor::WaterFillPanel::Draw().
|
inline |
Definition at line 452 of file dungeon_canvas_viewer.h.
References current_room_id_.
Referenced by yaze::editor::DungeonStatusBar::BuildState(), yaze::editor::CustomCollisionPanel::Draw(), yaze::editor::WaterFillPanel::Draw(), yaze::editor::anonymous_namespace{dungeon_chest_editor.cc}::DrawChestActions(), yaze::editor::anonymous_namespace{dungeon_chest_editor.cc}::DrawChestPlacement(), yaze::editor::SpriteEditorPanel::DrawContent(), yaze::editor::anonymous_namespace{dungeon_entity_inspector.cc}::DrawDoor(), yaze::editor::DrawDungeonChestEditor(), yaze::editor::DrawDungeonConnectionEditor(), yaze::editor::DrawDungeonDestinationEditor(), yaze::editor::DrawDungeonEntityInspector(), yaze::editor::DrawDungeonRoomTransferEditor(), yaze::editor::DrawDungeonRoomTransferPopup(), yaze::editor::DungeonWorkbenchContent::DrawInspectorShelf(), yaze::editor::DungeonWorkbenchContent::DrawInspectorShelfRoom(), yaze::editor::DungeonWorkbenchContent::DrawInspectorShelfSelection(), yaze::editor::anonymous_namespace{dungeon_entity_inspector.cc}::DrawItem(), yaze::editor::SpriteEditorPanel::DrawPlacementControls(), yaze::editor::DungeonWorkbenchContent::DrawSelectedObjectActions(), yaze::editor::anonymous_namespace{dungeon_entity_inspector.cc}::DrawSprite(), yaze::editor::SpriteEditorPanel::DrawSpriteSelector(), yaze::editor::DungeonWorkbenchContent::DrawWorkbenchTool(), yaze::editor::DoorEditorContent::HasMatchingViewer(), yaze::editor::ItemEditorPanel::HasMatchingViewer(), yaze::editor::anonymous_namespace{dungeon_connection_editor.cc}::OpenTarget(), and yaze::editor::DungeonEditorV2::RefreshRoomMetadataViews().
|
inline |
Definition at line 455 of file dungeon_canvas_viewer.h.
References compact_header_mode_.
|
inline |
Definition at line 456 of file dungeon_canvas_viewer.h.
References compact_header_mode_.
|
inline |
Definition at line 457 of file dungeon_canvas_viewer.h.
References show_room_details_.
|
inline |
Definition at line 460 of file dungeon_canvas_viewer.h.
References active_rooms_, and rooms().

|
inline |
Definition at line 461 of file dungeon_canvas_viewer.h.
References current_active_room_tab_.
|
inline |
Definition at line 464 of file dungeon_canvas_viewer.h.
References current_palette_group_id_.
|
inline |
Definition at line 467 of file dungeon_canvas_viewer.h.
References current_palette_id_.
Referenced by yaze::editor::DungeonEditorV2::HandleDungeonPaletteChanged(), yaze::editor::DungeonEditorV2::RefreshRoomMetadataViews(), and yaze::editor::DungeonEditorV2::RefreshViewerRuntimeContext().
|
inline |
Definition at line 468 of file dungeon_canvas_viewer.h.
References current_palette_group_, yaze::gfx::PaletteGroup::name(), object_interaction_, yaze::gfx::PaletteGroup::palette_ref(), yaze::editor::DungeonObjectInteraction::SetCurrentPaletteGroup(), and yaze::gfx::PaletteGroup::size().
Referenced by yaze::editor::DungeonEditorV2::HandleDungeonPaletteChanged(), yaze::editor::DungeonEditorV2::RefreshRoomMetadataViews(), and yaze::editor::DungeonEditorV2::RefreshViewerRuntimeContext().

|
inline |
Definition at line 484 of file dungeon_canvas_viewer.h.
References current_entrance_blockset_, and current_entrance_id_.
Referenced by yaze::editor::DungeonEditorV2::ConfigureViewerRenderContext().
|
inline |
Definition at line 488 of file dungeon_canvas_viewer.h.
References current_entrance_blockset_, and current_entrance_id_.
|
inline |
Definition at line 492 of file dungeon_canvas_viewer.h.
References current_entrance_id_.
|
inline |
Definition at line 493 of file dungeon_canvas_viewer.h.
References current_entrance_blockset_.
|
inline |
Definition at line 498 of file dungeon_canvas_viewer.h.
References entrance_blockset_resolver_.
Referenced by yaze::editor::DungeonEditorV2::ConfigureViewerRenderContext().
|
inline |
Definition at line 501 of file dungeon_canvas_viewer.h.
References camera_overlay_entrance_slot_, and entrance_camera_overlay_.
Referenced by yaze::editor::DungeonEditorV2::ConfigureViewerRenderContext().
|
inline |
Definition at line 506 of file dungeon_canvas_viewer.h.
References camera_overlay_entrance_slot_, and entrance_camera_overlay_.
Referenced by yaze::editor::DungeonEditorV2::ConfigureViewerRenderContext().
|
inline |
Definition at line 510 of file dungeon_canvas_viewer.h.
References entrance_camera_overlay_.
|
inline |
Definition at line 514 of file dungeon_canvas_viewer.h.
References room_navigation_callback_.
|
inline |
Definition at line 518 of file dungeon_canvas_viewer.h.
References room_swap_callback_.
|
inline |
Definition at line 522 of file dungeon_canvas_viewer.h.
References room_navigation_callback_, and room_swap_callback_.
Referenced by yaze::editor::WaterFillPanel::Draw(), yaze::editor::DrawDungeonConnectionEditor(), yaze::editor::DrawDungeonDestinationEditor(), and DrawRecentRoomBreadcrumbs().
|
inline |
Definition at line 531 of file dungeon_canvas_viewer.h.
References current_room_id_, yaze::zelda3::kNumberOfRooms, room_navigation_callback_, and room_swap_callback_.
Referenced by yaze::editor::WaterFillPanel::Draw(), DrawConnectedRoomMatrix(), yaze::editor::DrawDungeonDestinationEditor(), DrawRecentRoomBreadcrumbs(), DungeonCanvasViewer(), and yaze::editor::anonymous_namespace{dungeon_connection_editor.cc}::OpenTarget().
|
inline |
Definition at line 541 of file dungeon_canvas_viewer.h.
References show_object_panel_callback_.
Referenced by yaze::editor::DungeonEditorV2::WireViewerPanelCallbacks().
|
inline |
Definition at line 544 of file dungeon_canvas_viewer.h.
References show_sprite_panel_callback_.
Referenced by yaze::editor::DungeonEditorV2::WireViewerPanelCallbacks().
|
inline |
Definition at line 547 of file dungeon_canvas_viewer.h.
References show_item_panel_callback_.
Referenced by yaze::editor::DungeonEditorV2::WireViewerPanelCallbacks().
|
inline |
Definition at line 550 of file dungeon_canvas_viewer.h.
References show_room_list_callback_.
Referenced by yaze::editor::DungeonEditorV2::WireViewerPanelCallbacks().
|
inline |
Definition at line 553 of file dungeon_canvas_viewer.h.
References show_room_matrix_callback_.
Referenced by yaze::editor::DungeonEditorV2::WireViewerPanelCallbacks().
|
inline |
Definition at line 556 of file dungeon_canvas_viewer.h.
References show_entrance_list_callback_.
Referenced by yaze::editor::DungeonEditorV2::WireViewerPanelCallbacks().
|
inline |
Definition at line 560 of file dungeon_canvas_viewer.h.
References show_custom_collision_overlay_.
Referenced by yaze::editor::CustomCollisionPanel::Draw(), and yaze::editor::SetDungeonOverlayControlEnabled().
|
inline |
Definition at line 563 of file dungeon_canvas_viewer.h.
References show_custom_collision_overlay_.
Referenced by yaze::editor::CustomCollisionPanel::Draw(), and yaze::editor::GetDungeonOverlayControlEnabled().
|
inline |
Definition at line 567 of file dungeon_canvas_viewer.h.
References show_water_fill_overlay_.
Referenced by yaze::editor::WaterFillPanel::Draw(), and yaze::editor::SetDungeonOverlayControlEnabled().
|
inline |
Definition at line 570 of file dungeon_canvas_viewer.h.
References show_water_fill_overlay_.
Referenced by yaze::editor::WaterFillPanel::Draw(), and yaze::editor::GetDungeonOverlayControlEnabled().
|
inline |
Definition at line 573 of file dungeon_canvas_viewer.h.
References show_track_collision_overlay_.
Referenced by yaze::editor::GetDungeonOverlayControlEnabled().
|
inline |
Definition at line 576 of file dungeon_canvas_viewer.h.
References show_track_collision_overlay_.
Referenced by yaze::editor::SetDungeonOverlayControlEnabled().
|
inline |
Definition at line 579 of file dungeon_canvas_viewer.h.
References show_camera_quadrant_overlay_.
Referenced by yaze::editor::GetDungeonOverlayControlEnabled().
|
inline |
Definition at line 582 of file dungeon_canvas_viewer.h.
References show_camera_quadrant_overlay_.
Referenced by yaze::editor::SetDungeonOverlayControlEnabled().
|
inline |
Definition at line 585 of file dungeon_canvas_viewer.h.
References show_minecart_sprite_overlay_.
Referenced by yaze::editor::GetDungeonOverlayControlEnabled().
|
inline |
Definition at line 588 of file dungeon_canvas_viewer.h.
References show_minecart_sprite_overlay_.
Referenced by yaze::editor::SetDungeonOverlayControlEnabled().
|
inline |
Definition at line 591 of file dungeon_canvas_viewer.h.
References show_track_gap_overlay_.
Referenced by yaze::editor::GetDungeonOverlayControlEnabled().
|
inline |
Definition at line 592 of file dungeon_canvas_viewer.h.
References show_track_gap_overlay_.
Referenced by yaze::editor::SetDungeonOverlayControlEnabled().
|
inline |
Definition at line 593 of file dungeon_canvas_viewer.h.
References show_track_route_overlay_.
Referenced by yaze::editor::GetDungeonOverlayControlEnabled().
|
inline |
Definition at line 594 of file dungeon_canvas_viewer.h.
References show_track_route_overlay_.
Referenced by yaze::editor::SetDungeonOverlayControlEnabled().
|
inline |
Definition at line 597 of file dungeon_canvas_viewer.h.
References show_custom_objects_overlay_.
Referenced by yaze::editor::GetDungeonOverlayControlEnabled().
|
inline |
Definition at line 600 of file dungeon_canvas_viewer.h.
References show_custom_objects_overlay_.
Referenced by yaze::editor::SetDungeonOverlayControlEnabled().
|
inline |
Definition at line 604 of file dungeon_canvas_viewer.h.
References show_grid_.
Referenced by yaze::editor::GetDungeonOverlayControlEnabled().
|
inline |
Definition at line 605 of file dungeon_canvas_viewer.h.
References show_grid_.
Referenced by yaze::editor::SetDungeonOverlayControlEnabled().
|
inline |
Definition at line 606 of file dungeon_canvas_viewer.h.
References custom_grid_size_.
|
inline |
Definition at line 607 of file dungeon_canvas_viewer.h.
References custom_grid_size_.
Referenced by SyncViewerStateFromCanvasConfig().
|
inline |
Definition at line 610 of file dungeon_canvas_viewer.h.
References show_object_bounds_.
Referenced by yaze::editor::GetDungeonOverlayControlEnabled().
|
inline |
Definition at line 611 of file dungeon_canvas_viewer.h.
References show_object_bounds_.
Referenced by yaze::editor::SetDungeonOverlayControlEnabled().
|
inline |
Definition at line 612 of file dungeon_canvas_viewer.h.
References show_coordinate_overlay_.
Referenced by yaze::editor::GetDungeonOverlayControlEnabled().
|
inline |
Definition at line 613 of file dungeon_canvas_viewer.h.
References show_coordinate_overlay_.
Referenced by yaze::editor::SetDungeonOverlayControlEnabled().
|
inline |
Definition at line 616 of file dungeon_canvas_viewer.h.
References show_room_debug_info_.
|
inline |
Definition at line 617 of file dungeon_canvas_viewer.h.
References show_room_debug_info_.
|
inline |
Definition at line 618 of file dungeon_canvas_viewer.h.
References show_texture_debug_.
|
inline |
Definition at line 619 of file dungeon_canvas_viewer.h.
References show_texture_debug_.
|
inline |
Definition at line 620 of file dungeon_canvas_viewer.h.
References show_layer_info_.
|
inline |
Definition at line 621 of file dungeon_canvas_viewer.h.
References show_layer_info_.
|
inline |
Definition at line 622 of file dungeon_canvas_viewer.h.
References show_crumble_floor_.
Referenced by yaze::editor::GetDungeonOverlayControlEnabled().
|
inline |
Definition at line 623 of file dungeon_canvas_viewer.h.
References crumble_floor_view_, show_crumble_floor_, and yaze::editor::CrumbleFloorView::Stop().
Referenced by yaze::editor::SetDungeonOverlayControlEnabled().

|
inline |
Definition at line 628 of file dungeon_canvas_viewer.h.
References show_minecart_tracks_.
|
inline |
Definition at line 629 of file dungeon_canvas_viewer.h.
References show_minecart_tracks_.
|
inline |
Definition at line 630 of file dungeon_canvas_viewer.h.
References show_track_collision_legend_.
|
inline |
Definition at line 633 of file dungeon_canvas_viewer.h.
References show_track_collision_legend_.
|
inline |
Definition at line 638 of file dungeon_canvas_viewer.h.
References show_grid_.
|
inline |
Definition at line 639 of file dungeon_canvas_viewer.h.
References show_object_bounds_.
|
inline |
Definition at line 640 of file dungeon_canvas_viewer.h.
References show_coordinate_overlay_.
|
inline |
Definition at line 641 of file dungeon_canvas_viewer.h.
References show_room_debug_info_.
|
inline |
Definition at line 642 of file dungeon_canvas_viewer.h.
References show_texture_debug_.
|
inline |
Definition at line 643 of file dungeon_canvas_viewer.h.
References show_layer_info_.
|
inline |
Definition at line 644 of file dungeon_canvas_viewer.h.
References show_minecart_tracks_.
|
inline |
Definition at line 645 of file dungeon_canvas_viewer.h.
References show_custom_collision_overlay_.
|
inline |
Definition at line 648 of file dungeon_canvas_viewer.h.
References show_track_collision_overlay_.
|
inline |
Definition at line 651 of file dungeon_canvas_viewer.h.
References show_camera_quadrant_overlay_.
|
inline |
Definition at line 654 of file dungeon_canvas_viewer.h.
References show_minecart_sprite_overlay_.
|
inline |
Definition at line 657 of file dungeon_canvas_viewer.h.
References show_track_collision_legend_.
|
inline |
Definition at line 660 of file dungeon_canvas_viewer.h.
References show_room_graphics_callback_.
Referenced by yaze::editor::DungeonEditorV2::WireViewerPanelCallbacks().
|
inline |
Definition at line 663 of file dungeon_canvas_viewer.h.
References show_door_editor_callback_.
Referenced by yaze::editor::DungeonEditorV2::WireViewerPanelCallbacks().
|
inline |
Definition at line 666 of file dungeon_canvas_viewer.h.
References show_dungeon_settings_callback_.
Referenced by yaze::editor::DungeonEditorV2::WireViewerPanelCallbacks().
|
inline |
Definition at line 669 of file dungeon_canvas_viewer.h.
References save_room_callback_.
Referenced by yaze::editor::DungeonEditorV2::WireViewerPanelCallbacks().
|
inline |
Definition at line 672 of file dungeon_canvas_viewer.h.
References edit_graphics_callback_.
Referenced by yaze::editor::DungeonEditorV2::WireViewerPanelCallbacks().
|
inline |
Definition at line 676 of file dungeon_canvas_viewer.h.
References edit_object_tiles_callback_.
Referenced by yaze::editor::DungeonEditorV2::WireViewerPanelCallbacks().
|
inline |
Definition at line 681 of file dungeon_canvas_viewer.h.
References check_object_coverage_callback_.
Referenced by yaze::editor::DungeonEditorV2::WireViewerPanelCallbacks().
|
inline |
Definition at line 685 of file dungeon_canvas_viewer.h.
References minecart_track_panel_.
Referenced by yaze::editor::DungeonEditorV2::RefreshViewerRuntimeContext().
|
inline |
Definition at line 688 of file dungeon_canvas_viewer.h.
References is_pinned_.
|
inline |
Definition at line 689 of file dungeon_canvas_viewer.h.
References pin_callback_.
| void yaze::editor::DungeonCanvasViewer::SetProject | ( | const project::YazeProject * | project | ) |
Definition at line 147 of file dungeon_canvas_viewer.cc.
References ApplyTrackCollisionConfig(), crumble_floor_view_, InvalidateExternalSpriteResources(), project(), project_, and yaze::editor::CrumbleFloorView::Reset().
Referenced by yaze::editor::DungeonEditorV2::RefreshViewerRuntimeContext().

| void yaze::editor::DungeonCanvasViewer::InvalidateExternalSpriteResources | ( | ) |
Definition at line 156 of file dungeon_canvas_viewer.cc.
References yaze::zelda3::SpritePreviewResourceCache::SetContext(), sprite_preview_cache_, and sprite_preview_resources_.
Referenced by RefreshRomBackedState(), and SetProject().

|
inline |
Definition at line 695 of file dungeon_canvas_viewer.h.
References project_.
Referenced by yaze::editor::anonymous_namespace{dungeon_workbench_toolbar.cc}::DrawCompareContents(), yaze::editor::DrawDungeonChestEditor(), yaze::editor::DrawDungeonDestinationEditor(), yaze::editor::DrawDungeonRoomPropertyFields(), yaze::editor::DungeonWorkbenchContent::DrawInspectorShelfRoom(), yaze::editor::anonymous_namespace{dungeon_chest_editor.cc}::DrawItemChoice(), yaze::editor::anonymous_namespace{dungeon_workbench_toolbar.cc}::DrawRecentRoomsContents(), yaze::editor::DungeonWorkbenchContent::DrawSplitView(), yaze::editor::anonymous_namespace{dungeon_entity_inspector.cc}::DrawSprite(), yaze::editor::DungeonWorkbenchContent::GetEmbeddedDungeonMap(), yaze::editor::DungeonEditorV2::RefreshViewerRuntimeContext(), SetProject(), and yaze::editor::SpriteEditorPanel::SpriteName().
|
inline |
Definition at line 698 of file dungeon_canvas_viewer.h.
References canvas_.
Referenced by yaze::editor::DungeonStatusBar::BuildState(), and yaze::editor::DungeonWorkbenchContent::DrawSplitView().
|
inline |
Definition at line 699 of file dungeon_canvas_viewer.h.
References canvas_.
|
inline |
Definition at line 702 of file dungeon_canvas_viewer.h.
References object_interaction_.
Referenced by yaze::editor::DoorEditorContent::CancelPlacement(), yaze::editor::ObjectSelectorContent::CancelPlacement(), yaze::editor::DungeonEditorV2::ConfigureEditableViewer(), yaze::editor::DungeonEditorV2::ConfigureViewerUndoHooks(), yaze::editor::DungeonWorkbenchContent::DrawCanvasPane(), yaze::editor::anonymous_namespace{dungeon_chest_editor.cc}::DrawChestActions(), yaze::editor::anonymous_namespace{dungeon_chest_editor.cc}::DrawChestPlacement(), yaze::editor::ObjectSelectorContent::DrawContent(), yaze::editor::DoorEditorContent::DrawContent(), yaze::editor::SpriteEditorPanel::DrawContent(), yaze::editor::anonymous_namespace{dungeon_entity_inspector.cc}::DrawDoor(), yaze::editor::DrawDungeonChestEditor(), yaze::editor::DrawDungeonDestinationEditor(), yaze::editor::DrawDungeonEntityInspector(), yaze::editor::DungeonWorkbenchContent::DrawInspectorShelf(), yaze::editor::DungeonWorkbenchContent::DrawInspectorShelfRoom(), yaze::editor::DungeonWorkbenchContent::DrawInspectorShelfSelection(), yaze::editor::anonymous_namespace{dungeon_entity_inspector.cc}::DrawItem(), yaze::editor::ItemEditorPanel::DrawItemSelector(), yaze::editor::DungeonWorkbenchContent::DrawObjectPlacementInspector(), yaze::editor::ItemEditorPanel::DrawPlacementControls(), yaze::editor::SpriteEditorPanel::DrawPlacementControls(), yaze::editor::ItemEditorPanel::DrawRoomItems(), yaze::editor::SpriteEditorPanel::DrawRoomSprites(), yaze::editor::DungeonWorkbenchContent::DrawSelectedObjectActions(), yaze::editor::anonymous_namespace{dungeon_entity_inspector.cc}::DrawSprite(), yaze::editor::SpriteEditorPanel::DrawSpriteSelector(), yaze::editor::DungeonWorkbenchContent::DrawWorkbenchTool(), yaze::editor::DungeonEditorV2::FinalizeEntityUndoAction(), yaze::editor::DungeonEditorV2::HandleDungeonPaletteChanged(), yaze::editor::DoorEditorContent::HasMatchingViewer(), yaze::editor::ItemEditorPanel::HasMatchingViewer(), yaze::editor::anonymous_namespace{dungeon_connection_editor.cc}::OpenTarget(), and yaze::editor::DungeonEditorV2::RefreshRoomMetadataViews().
|
inline |
Definition at line 704 of file dungeon_canvas_viewer.h.
References object_interaction_, and yaze::editor::DungeonObjectInteraction::SetEditorSystem().
Referenced by yaze::editor::DungeonEditorV2::RefreshViewerRuntimeContext().

|
inline |
Definition at line 709 of file dungeon_canvas_viewer.h.
References object_interaction_enabled_.
Referenced by yaze::editor::anonymous_namespace{dungeon_chest_editor.cc}::DrawChestPlacement(), and yaze::editor::ObjectSelectorContent::ObjectSelectorContent().
|
inline |
Definition at line 712 of file dungeon_canvas_viewer.h.
References object_interaction_enabled_.
Referenced by yaze::editor::DoorEditorContent::CanEditRoom(), yaze::editor::ItemEditorPanel::CanEditRoom(), yaze::editor::anonymous_namespace{dungeon_entity_inspector.cc}::DrawDoor(), yaze::editor::DrawDungeonConnectionEditor(), yaze::editor::DrawDungeonDestinationEditor(), yaze::editor::DrawDungeonEntityInspector(), yaze::editor::DrawDungeonRoomPropertyFields(), yaze::editor::DrawDungeonRoomTransferEditor(), yaze::editor::DungeonWorkbenchContent::DrawInspectorShelfRoom(), and yaze::editor::SpriteEditorPanel::DrawSpriteSelector().
|
inline |
Definition at line 718 of file dungeon_canvas_viewer.h.
References header_read_only_.
|
inline |
Definition at line 719 of file dungeon_canvas_viewer.h.
References header_read_only_.
Referenced by yaze::editor::DoorEditorContent::CanEditRoom(), yaze::editor::ItemEditorPanel::CanEditRoom(), yaze::editor::anonymous_namespace{dungeon_chest_editor.cc}::DrawChestActions(), yaze::editor::anonymous_namespace{dungeon_chest_editor.cc}::DrawChestPlacement(), yaze::editor::anonymous_namespace{dungeon_entity_inspector.cc}::DrawDoor(), yaze::editor::DrawDungeonChestEditor(), yaze::editor::DrawDungeonConnectionEditor(), yaze::editor::DrawDungeonDestinationEditor(), yaze::editor::DrawDungeonEntityInspector(), yaze::editor::DrawDungeonRoomPropertyFields(), yaze::editor::DrawDungeonRoomTransferEditor(), yaze::editor::DungeonWorkbenchContent::DrawInspectorShelfRoom(), and yaze::editor::SpriteEditorPanel::DrawSpriteSelector().
|
inline |
Definition at line 723 of file dungeon_canvas_viewer.h.
References header_visible_.
|
inline |
Definition at line 724 of file dungeon_canvas_viewer.h.
References header_visible_.
|
inline |
Definition at line 725 of file dungeon_canvas_viewer.h.
References show_header_hidden_metadata_hud_.
|
inline |
Definition at line 728 of file dungeon_canvas_viewer.h.
References show_header_hidden_metadata_hud_.
|
inline |
Definition at line 733 of file dungeon_canvas_viewer.h.
References object_render_mode_.
|
inline |
Definition at line 736 of file dungeon_canvas_viewer.h.
References object_render_mode_.
|
inline |
Definition at line 739 of file dungeon_canvas_viewer.h.
References GetRoomLayerManager(), and yaze::zelda3::RoomLayerManager::SetLayerVisible().

|
inline |
Definition at line 742 of file dungeon_canvas_viewer.h.
References room_layer_managers_.
Referenced by DungeonCanvasViewer().
|
inline |
Definition at line 750 of file dungeon_canvas_viewer.h.
References yaze::zelda3::BG1_Layout, yaze::zelda3::BG1_Objects, and GetRoomLayerManager().
Referenced by yaze::editor::DrawDungeonLayerControls().

|
inline |
Definition at line 755 of file dungeon_canvas_viewer.h.
References yaze::zelda3::BG2_Layout, yaze::zelda3::BG2_Objects, and GetRoomLayerManager().
Referenced by yaze::editor::DrawDungeonLayerControls().

|
inline |
Definition at line 760 of file dungeon_canvas_viewer.h.
References yaze::zelda3::BG1_Layout, yaze::zelda3::BG1_Objects, and room_layer_managers_.
Referenced by BuildDrawIssueReport(), and yaze::editor::DrawDungeonLayerControls().
|
inline |
Definition at line 767 of file dungeon_canvas_viewer.h.
References yaze::zelda3::BG2_Layout, yaze::zelda3::BG2_Objects, and room_layer_managers_.
Referenced by BuildDrawIssueReport(), and yaze::editor::DrawDungeonLayerControls().
|
inline |
Definition at line 776 of file dungeon_canvas_viewer.h.
References GetRoomLayerManager(), and yaze::zelda3::RoomLayerManager::SetLayerBlendMode().

|
inline |
Definition at line 780 of file dungeon_canvas_viewer.h.
References yaze::zelda3::Normal, and room_layer_managers_.
Referenced by DungeonCanvasViewer(), and GetBG2LayerType().
|
inline |
Definition at line 789 of file dungeon_canvas_viewer.h.
References GetRoomLayerManager(), and yaze::zelda3::RoomLayerManager::SetObjectTranslucency().

| zelda3::RoomLayerManager & yaze::editor::DungeonCanvasViewer::GetRoomLayerManager | ( | int | room_id | ) |
Definition at line 161 of file dungeon_canvas_viewer.cc.
References yaze::editor::DungeonRoomStore::GetIfMaterialized(), room_layer_managers_, and rooms_.
Referenced by BuildLayerVisibilityContextMenu(), DrawLayerControls(), DrawLayerInfoWindow(), DrawRoomDebugWindow(), PrepareRoomCompositeWithOutput(), SetBG1Visible(), SetBG2LayerType(), SetBG2Visible(), SetLayerBlendMode(), SetLayerVisible(), and SetObjectTranslucent().

|
inline |
Definition at line 797 of file dungeon_canvas_viewer.h.
References room_layer_managers_.
|
inline |
Definition at line 805 of file dungeon_canvas_viewer.h.
References yaze::zelda3::Addition, yaze::zelda3::BG2_Layout, yaze::zelda3::BG2_Objects, yaze::zelda3::Dark, GetRoomLayerManager(), yaze::zelda3::Normal, yaze::zelda3::Off, and yaze::zelda3::Translucent.

|
inline |
Definition at line 831 of file dungeon_canvas_viewer.h.
References yaze::zelda3::Addition, yaze::zelda3::BG2_Layout, yaze::zelda3::Dark, GetLayerBlendMode(), yaze::zelda3::Normal, yaze::zelda3::Off, and yaze::zelda3::Translucent.

|
inline |
Definition at line 849 of file dungeon_canvas_viewer.h.
References current_palette_group_, object_interaction_, yaze::editor::DungeonObjectInteraction::SetCurrentPaletteGroup(), and yaze::editor::DungeonObjectInteraction::SetPreviewObject().
Referenced by yaze::editor::anonymous_namespace{dungeon_chest_editor.cc}::DrawChestPlacement(), and yaze::editor::ObjectSelectorContent::ObjectSelectorContent().

|
inline |
Definition at line 854 of file dungeon_canvas_viewer.h.
References object_interaction_, and yaze::editor::DungeonObjectInteraction::SetPreviewObject().
Referenced by yaze::editor::ObjectSelectorContent::CancelPlacement(), and RefreshRomBackedState().

|
inline |
Definition at line 861 of file dungeon_canvas_viewer.h.
References pending_scroll_target_.
Referenced by yaze::editor::anonymous_namespace{dungeon_chest_editor.cc}::DrawChestActions(), yaze::editor::DungeonWorkbenchContent::DrawInspectorShelfRoom(), DungeonCanvasViewer(), and yaze::editor::anonymous_namespace{dungeon_connection_editor.cc}::OpenTarget().
|
inline |
Definition at line 864 of file dungeon_canvas_viewer.h.
References pending_scroll_target_.
|
inline |
Definition at line 867 of file dungeon_canvas_viewer.h.
References pending_scroll_target_.
|
inline |
Definition at line 872 of file dungeon_canvas_viewer.h.
References yaze::editor::DungeonObjectInteraction::HandleDeleteSelected(), and object_interaction_.
Referenced by yaze::editor::DungeonEditorV2::ConsumeRoomCanvasDeleteShortcut().

|
inline |
Definition at line 875 of file dungeon_canvas_viewer.h.
References HasRoomCanvasShortcutFocusForFrame().
Referenced by yaze::editor::DungeonEditorV2::ConsumeRoomCanvasDeleteShortcut().

|
inline |
Definition at line 879 of file dungeon_canvas_viewer.h.
References object_interaction_enabled_, room_canvas_last_draw_frame_, and room_canvas_shortcut_focus_.
|
inline |
Definition at line 886 of file dungeon_canvas_viewer.h.
References entity_visibility_, and yaze::editor::DungeonCanvasViewer::EntityVisibility::show_sprites.
Referenced by yaze::editor::DrawDungeonLayerControls().
|
inline |
Definition at line 889 of file dungeon_canvas_viewer.h.
References entity_visibility_, and yaze::editor::DungeonCanvasViewer::EntityVisibility::show_sprites.
Referenced by yaze::editor::DrawDungeonLayerControls().
|
inline |
Definition at line 890 of file dungeon_canvas_viewer.h.
References entity_visibility_, and yaze::editor::DungeonCanvasViewer::EntityVisibility::show_pot_items.
Referenced by yaze::editor::DrawDungeonOverlayControls().
|
inline |
Definition at line 893 of file dungeon_canvas_viewer.h.
References entity_visibility_, and yaze::editor::DungeonCanvasViewer::EntityVisibility::show_pot_items.
Referenced by yaze::editor::DrawDungeonOverlayControls().
|
inline |
Definition at line 894 of file dungeon_canvas_viewer.h.
References entity_visibility_, and yaze::editor::DungeonCanvasViewer::EntityVisibility::show_chests.
Referenced by BuildOverlayContextMenu(), and yaze::editor::SetDungeonOverlayControlEnabled().
|
inline |
Definition at line 897 of file dungeon_canvas_viewer.h.
References entity_visibility_, and yaze::editor::DungeonCanvasViewer::EntityVisibility::show_chests.
Referenced by BuildOverlayContextMenu(), and yaze::editor::GetDungeonOverlayControlEnabled().
|
private |
Definition at line 277 of file dungeon_canvas_room_chrome.cc.
References yaze::gui::DrawText(), and yaze::zelda3::GetObjectName().

|
private |
Definition at line 346 of file dungeon_canvas_room_chrome.cc.
References compact_header_mode_, yaze::editor::DrawDungeonDestinationEditor(), DrawLayerControls(), DrawRoomNavigation(), DrawRoomPropertyTable(), header_read_only_, ICON_MD_SELECT_ALL, and show_room_details_.
Referenced by RefreshActiveRoomCanvasState().

|
private |
Definition at line 389 of file dungeon_canvas_room_chrome.cc.
References yaze::zelda3::East, yaze::editor::dungeon_project_labels::GetRoomLabel(), yaze::zelda3::kNumberOfRooms, yaze::editor::NeighborRoomId(), yaze::zelda3::North, project_, room_navigation_callback_, room_swap_callback_, yaze::zelda3::South, and yaze::zelda3::West.
Referenced by DrawRoomHeader().

|
private |
Definition at line 458 of file dungeon_canvas_room_chrome.cc.
References yaze::gui::ConvertColorToImVec4(), yaze::editor::DrawDungeonChestEditor(), yaze::editor::DrawDungeonRoomPropertyFields(), DrawRecentRoomBreadcrumbs(), yaze::zelda3::Room::effect(), yaze::zelda3::Room::floor1(), yaze::gui::ThemeManager::Get(), yaze::zelda3::Room::HasUnsavedChanges(), ICON_MD_EDIT, ICON_MD_EXPAND_LESS, ICON_MD_EXPAND_MORE, ICON_MD_PUSH_PIN, ICON_MD_TUNE, is_pinned_, yaze::editor::kCompact, pin_callback_, yaze::gui::ScaledSize(), show_room_details_, yaze::zelda3::Room::tag1(), yaze::zelda3::Room::tag2(), and yaze::gui::ThemedIconButton().
Referenced by DrawRoomHeader().
|
private |
Definition at line 504 of file dungeon_canvas_room_chrome.cc.
References CanNavigateRooms(), yaze::editor::dungeon_project_labels::GetRoomLabel(), ICON_MD_HISTORY, NavigateToRoom(), project_, recently_visited_rooms_, and TriggerChangePing().
Referenced by DrawRoomPropertyTable().

|
private |
Definition at line 551 of file dungeon_canvas_room_chrome.cc.
References GetRoomLayerManager(), yaze::editor::ObjectSelection::kLayer1, yaze::editor::ObjectSelection::kLayer2, yaze::editor::ObjectSelection::kLayer3, yaze::editor::ObjectSelection::kLayerAll, object_interaction_, and yaze::editor::DungeonObjectInteraction::SetLayersMerged().
Referenced by DrawRoomHeader().

|
private |
Definition at line 540 of file dungeon_canvas_room_chrome.cc.
References yaze::editor::DrawDungeonLayerControls(), and yaze::editor::DrawDungeonOverlayControls().
Referenced by DrawDungeonCanvas().

|
private |
Definition at line 21 of file dungeon_canvas_context_menu.cc.
References AddInteractionContextMenuItems(), AddLoadedRoomContextMenuItems(), canvas_, and yaze::gui::Canvas::ClearContextMenuItems().
Referenced by DrawDungeonCanvas().

|
private |
Definition at line 27 of file dungeon_canvas_context_menu.cc.
References yaze::gui::Canvas::AddContextMenuItem(), BuildInsertContextMenu(), BuildSelectionContextMenuItems(), canvas_, and object_interaction_enabled_.
Referenced by PopulateCanvasContextMenu().

|
private |
Definition at line 40 of file dungeon_canvas_context_menu.cc.
References yaze::gui::Canvas::AddContextMenuItem(), BuildCopyExportContextMenu(), BuildDebugContextMenu(), BuildLayerVisibilityContextMenu(), BuildOpenContextMenu(), BuildOverlayContextMenu(), BuildReportContextMenu(), BuildRoomContextMenu(), canvas_, yaze::gui::Canvas::global_scale(), yaze::gui::CanvasMenuItem::icon, ICON_MD_FIT_SCREEN, ICON_MD_MORE_HORIZ, ICON_MD_VISIBILITY, ICON_MD_ZOOM_IN, ICON_MD_ZOOM_OUT, yaze::Rom::is_loaded(), yaze::gui::CanvasMenuItem::label, PrepareRoomCompositeBitmap(), rom_, room_viewport_auto_fit_, room_viewport_last_scale_, rooms_, yaze::gui::Canvas::SetZoomToFit(), yaze::gui::CanvasMenuItem::subitems, yaze::gui::Canvas::ZoomIn(), and yaze::gui::Canvas::ZoomOut().
Referenced by PopulateCanvasContextMenu().
|
private |
Definition at line 82 of file dungeon_canvas_context_menu.cc.
References yaze::gui::CanvasMenuItem::enabled_condition, yaze::gui::CanvasMenuItem::icon, ICON_MD_ADD_CIRCLE, ICON_MD_DOOR_FRONT, ICON_MD_INVENTORY, ICON_MD_PERSON, ICON_MD_WIDGETS, yaze::editor::DungeonObjectInteraction::IsDoorPlacementActive(), yaze::gui::CanvasMenuItem::label, yaze::zelda3::NormalDoor, object_interaction_, yaze::editor::DungeonObjectInteraction::SetDoorPlacementMode(), show_item_panel_callback_, show_object_panel_callback_, show_sprite_panel_callback_, and yaze::gui::CanvasMenuItem::subitems.
Referenced by AddInteractionContextMenuItems().

|
private |
Definition at line 168 of file dungeon_canvas_context_menu.cc.
References BuildSelectionContextMenuItems(), and GetObjectUnderContextCursor().
Referenced by AddInteractionContextMenuItems(), and BuildSelectionContextMenuItems().

|
private |
Definition at line 174 of file dungeon_canvas_context_menu.cc.
References check_object_coverage_callback_, yaze::gui::CanvasMenuItem::Destructive(), edit_graphics_callback_, edit_object_tiles_callback_, yaze::gui::CanvasMenuItem::enabled_condition, yaze::gui::FormatCtrlShiftShortcut(), yaze::gui::FormatCtrlShortcut(), yaze::editor::DungeonObjectInteraction::GetSelectedObjectIndices(), yaze::gui::CanvasMenuItem::icon, ICON_MD_ARROW_DOWNWARD, ICON_MD_ARROW_UPWARD, ICON_MD_CANCEL, ICON_MD_COLORIZE, ICON_MD_CONTENT_COPY, ICON_MD_CONTENT_CUT, ICON_MD_CONTENT_PASTE, ICON_MD_DELETE, ICON_MD_FACT_CHECK, ICON_MD_FILE_COPY, ICON_MD_FLIP_TO_BACK, ICON_MD_FLIP_TO_FRONT, ICON_MD_GRID_ON, ICON_MD_IMAGE, ICON_MD_LAYERS, yaze::zelda3::ObjectTileEditor::IsEditableStandardObject(), yaze::zelda3::kNumberOfRooms, yaze::gui::CanvasMenuItem::label, object_interaction_, rooms_, yaze::gui::CanvasMenuItem::separator_after, yaze::gui::CanvasMenuItem::shortcut, show_room_graphics_callback_, yaze::gui::CanvasMenuItem::subitems, and yaze::zelda3::UsesRoomObjectStream().
|
private |
Definition at line 133 of file dungeon_canvas_context_menu.cc.
References canvas_, yaze::gui::Canvas::context_menu_open_screen_position(), yaze::editor::DungeonObjectInteraction::entity_coordinator(), yaze::editor::TileObjectHandler::GetEntityAtPosition(), yaze::gui::Canvas::global_scale(), yaze::editor::dungeon_coords::IsWithinBounds(), yaze::zelda3::kNumberOfRooms, object_interaction_, rooms_, yaze::editor::DungeonCanvasTransform::ScreenToRoomPixelCoordinates(), yaze::gui::Canvas::scrolling(), yaze::editor::InteractionCoordinator::tile_handler(), and yaze::gui::Canvas::zero_point().
Referenced by BuildSelectionContextMenuItems().
|
private |
Definition at line 384 of file dungeon_canvas_context_menu.cc.
References yaze::gui::CanvasMenuItem::Destructive(), yaze::editor::DungeonObjectInteraction::HandleDeleteAllObjects(), yaze::gui::CanvasMenuItem::icon, ICON_MD_CONTENT_COPY, ICON_MD_DELETE_FOREVER, ICON_MD_HOME, ICON_MD_REFRESH, ICON_MD_SAVE, yaze::zelda3::kNumberOfRooms, yaze::gui::CanvasMenuItem::label, object_interaction_, yaze::editor::DungeonRoomTransferEditorState::popup_room_id, yaze::editor::DungeonRoomTransferEditorState::request_popup, room_transfer_state_, rooms_, save_room_callback_, and yaze::gui::CanvasMenuItem::subitems.
Referenced by AddLoadedRoomContextMenuItems().

|
private |
Definition at line 413 of file dungeon_canvas_context_menu.cc.
References BuildDrawIssueReport(), BuildSelectionIssueReport(), yaze::editor::GeneralRoomRenderMismatch, yaze::editor::GetDefaultSelectionIssueCategory(), yaze::editor::DungeonObjectInteraction::GetSelectionCount(), yaze::editor::DungeonObjectInteraction::HasEntitySelection(), yaze::gui::CanvasMenuItem::icon, ICON_MD_BUG_REPORT, ICON_MD_FACT_CHECK, ICON_MD_PALETTE, yaze::zelda3::kNumberOfRooms, yaze::gui::CanvasMenuItem::label, object_interaction_, OpenIssueReportPopup(), yaze::editor::PaletteMismatch, rooms_, yaze::gui::CanvasMenuItem::subitems, and yaze::editor::ToIssueCategoryIndex().
Referenced by AddLoadedRoomContextMenuItems().
|
private |
Definition at line 463 of file dungeon_canvas_context_menu.cc.
References yaze::gui::CanvasMenuItem::icon, ICON_MD_DOOR_FRONT, ICON_MD_GRID_VIEW, ICON_MD_IMAGE, ICON_MD_LOGIN, ICON_MD_OPEN_IN_NEW, yaze::gui::CanvasMenuItem::label, show_door_editor_callback_, show_entrance_list_callback_, show_room_graphics_callback_, show_room_matrix_callback_, and yaze::gui::CanvasMenuItem::subitems.
Referenced by AddLoadedRoomContextMenuItems().
|
private |
Definition at line 491 of file dungeon_canvas_context_menu.cc.
References BuildRoomMetadataSummary(), yaze::zelda3::ExportRoomLayoutTemplate(), yaze::zelda3::GetRoomLabel(), yaze::gui::CanvasMenuItem::icon, ICON_MD_ASSIGNMENT, ICON_MD_CONTENT_COPY, ICON_MD_FILE_DOWNLOAD, yaze::zelda3::kNumberOfRooms, yaze::gui::CanvasMenuItem::label, rooms_, and yaze::gui::CanvasMenuItem::subitems.
Referenced by AddLoadedRoomContextMenuItems().

|
private |
Definition at line 528 of file dungeon_canvas_context_menu.cc.
References yaze::zelda3::BG1_Layout, yaze::zelda3::BG1_Objects, yaze::zelda3::BG2_Layout, yaze::zelda3::BG2_Objects, yaze::gui::CanvasMenuItem::checked_condition, yaze::gui::CanvasMenuItem::enabled_condition, entity_visibility_, yaze::zelda3::RoomLayerManager::GameHidesLowerTilemap(), GetRoomLayerManager(), yaze::gui::CanvasMenuItem::icon, ICON_MD_INVENTORY, ICON_MD_PERSON, ICON_MD_VISIBILITY, ICON_MD_VISIBILITY_OFF, yaze::zelda3::RoomLayerManager::IsLayerVisible(), yaze::gui::CanvasMenuItem::label, yaze::editor::DungeonCanvasViewer::EntityVisibility::show_pot_items, yaze::editor::DungeonCanvasViewer::EntityVisibility::show_sprites, yaze::zelda3::RoomLayerManager::ShowHiddenLayers(), and yaze::gui::CanvasMenuItem::subitems.
Referenced by AddLoadedRoomContextMenuItems().

|
private |
Definition at line 612 of file dungeon_canvas_context_menu.cc.
References AreChestContentsVisible(), yaze::gui::CanvasMenuItem::checked_condition, yaze::gui::CanvasMenuItem::enabled_condition, yaze::gui::CanvasMenuItem::icon, ICON_MD_CROP_SQUARE, ICON_MD_GRID_ON, ICON_MD_GRID_VIEW, ICON_MD_INFO, ICON_MD_LAYERS, ICON_MD_MY_LOCATION, ICON_MD_TRAIN, yaze::gui::CanvasMenuItem::label, minecart_track_panel_, SetChestContentsVisible(), show_camera_quadrant_overlay_, show_coordinate_overlay_, show_custom_collision_overlay_, show_minecart_sprite_overlay_, show_minecart_tracks_, show_object_bounds_, show_track_collision_legend_, show_track_collision_overlay_, and yaze::gui::CanvasMenuItem::subitems.
Referenced by AddLoadedRoomContextMenuItems().

|
private |
Definition at line 702 of file dungeon_canvas_context_menu.cc.
References current_entrance_blockset_, yaze::gui::CanvasMenuItem::enabled_condition, yaze::gui::CanvasMenuItem::icon, ICON_MD_BUG_REPORT, ICON_MD_CROP_SQUARE, ICON_MD_IMAGE, ICON_MD_INFO, ICON_MD_LAYERS, ICON_MD_PRINT, ICON_MD_REFRESH, yaze::zelda3::kNumberOfRooms, yaze::gui::CanvasMenuItem::label, LOG_DEBUG, object_outline_toggles_, rooms_, yaze::editor::DungeonCanvasViewer::ObjectOutlineToggles::show_layer0_objects, yaze::editor::DungeonCanvasViewer::ObjectOutlineToggles::show_layer1_objects, yaze::editor::DungeonCanvasViewer::ObjectOutlineToggles::show_layer2_objects, show_layer_info_, show_room_debug_info_, show_texture_debug_, yaze::editor::DungeonCanvasViewer::ObjectOutlineToggles::show_type1_objects, yaze::editor::DungeonCanvasViewer::ObjectOutlineToggles::show_type2_objects, yaze::editor::DungeonCanvasViewer::ObjectOutlineToggles::show_type3_objects, and yaze::gui::CanvasMenuItem::subitems.
Referenced by AddLoadedRoomContextMenuItems().
|
private |
Definition at line 580 of file dungeon_canvas_issue_report.cc.
References yaze::zelda3::Room::blockset(), yaze::editor::CollectDungeonConnectedRoomLinkDiagnostics(), current_entrance_id_, yaze::zelda3::Room::effect(), yaze::zelda3::Room::floor1(), yaze::zelda3::Room::floor2(), yaze::editor::FormatDungeonConnectedLinkDescription(), yaze::editor::FormatDungeonStaircaseIssueDescription(), yaze::zelda3::GetRoomLabel(), yaze::zelda3::Room::layout_id(), yaze::zelda3::Room::palette(), project_, yaze::zelda3::Room::render_entrance_blockset(), yaze::zelda3::Room::ResolveDungeonPaletteId(), rom_, yaze::zelda3::Room::spriteset(), yaze::zelda3::Room::tag1(), and yaze::zelda3::Room::tag2().
Referenced by BuildCopyExportContextMenu(), BuildDrawIssueReport(), and BuildSelectionIssueReport().
|
private |
Definition at line 632 of file dungeon_canvas_issue_report.cc.
References BuildRoomMetadataSummary(), current_palette_group_, yaze::gfx::DecodeDungeonFloorTilePattern(), entity_visibility_, yaze::zelda3::Room::floor1(), yaze::zelda3::Room::floor2(), yaze::zelda3::DimensionService::Get(), yaze::zelda3::PaletteDebugger::Get(), yaze::zelda3::Room::GetDoors(), yaze::zelda3::PaletteDebugger::GetEvents(), yaze::editor::DungeonRoomStore::GetIfMaterialized(), yaze::editor::InteractionModeManager::GetModeName(), yaze::zelda3::Room::GetPotItems(), yaze::editor::DungeonObjectInteraction::GetSelectedEntity(), yaze::editor::DungeonObjectInteraction::GetSelectedObjectIndices(), yaze::zelda3::DimensionService::GetSelectionBoundsPixels(), yaze::zelda3::Room::GetSprites(), yaze::zelda3::Room::GetTileObjects(), yaze::editor::DungeonObjectInteraction::HasEntitySelection(), yaze::Rom::is_loaded(), IsBG1Visible(), IsBG2Visible(), yaze::zelda3::kNumberOfRooms, yaze::zelda3::kRoomObjectTileAddress, yaze::zelda3::kRoomObjectTileAddressFloor, yaze::editor::DungeonObjectInteraction::mode_manager(), object_interaction_, PrepareRoomCompositeBitmap(), yaze::zelda3::Room::ResolveDungeonPaletteId(), yaze::zelda3::ResolveSpriteName(), rom_, rooms_, show_camera_quadrant_overlay_, show_custom_collision_overlay_, show_grid_, show_object_bounds_, yaze::editor::DungeonCanvasViewer::EntityVisibility::show_pot_items, yaze::editor::DungeonCanvasViewer::EntityVisibility::show_sprites, and yaze::Rom::vector().
Referenced by BuildReportContextMenu().
|
private |
Definition at line 818 of file dungeon_canvas_issue_report.cc.
References BuildRoomMetadataSummary(), current_palette_group_, yaze::zelda3::DimensionService::Get(), yaze::zelda3::Room::GetDoors(), yaze::editor::InteractionModeManager::GetModeName(), yaze::zelda3::Room::GetPotItems(), yaze::editor::DungeonObjectInteraction::GetSelectedEntity(), yaze::editor::DungeonObjectInteraction::GetSelectedObjectIndices(), yaze::zelda3::DimensionService::GetSelectionBoundsPixels(), yaze::zelda3::Room::GetSprites(), yaze::zelda3::Room::GetTileObjects(), yaze::editor::DungeonObjectInteraction::HasEntitySelection(), yaze::editor::DungeonObjectInteraction::mode_manager(), object_interaction_, yaze::zelda3::Room::ResolveDungeonPaletteId(), yaze::zelda3::ResolveSpriteName(), and rom_.
Referenced by BuildReportContextMenu().
|
private |
Definition at line 1036 of file dungeon_canvas_issue_report.cc.
References BuildIssueReportClipboardText(), canvas_, CaptureIssueReportScreenshot(), yaze::gui::Canvas::ClosePersistentPopup(), DrawIssueReportStatusMessage(), DrawIssueReportStorageSummary(), EnsureIssueReportPersisted(), yaze::editor::GetIssueCategoryLabel(), ICON_MD_ASSIGNMENT, issue_report_category_index_, issue_report_notes_, issue_report_popup_diagnostics_, issue_report_popup_id_, issue_report_popup_kind_, issue_report_popup_screenshot_path_, issue_report_popup_title_, issue_report_summary_, yaze::editor::kDungeonIssueCategoryLabels, MarkIssueReportDirty(), yaze::gui::Canvas::OpenPersistentPopup(), PrepareIssueReportPopup(), yaze::gui::PrimaryButton(), and SetIssueReportPopupStatus().
Referenced by BuildReportContextMenu().
|
private |
Definition at line 1014 of file dungeon_canvas_issue_report.cc.
References issue_report_category_index_, issue_report_notes_, issue_report_popup_diagnostics_, issue_report_popup_kind_, issue_report_popup_last_log_path_, issue_report_popup_persisted_, issue_report_popup_room_id_, issue_report_popup_screenshot_path_, issue_report_popup_title_, issue_report_summary_, yaze::editor::kDungeonIssueCategoryLabels, RefreshIssueReportOutputTargets(), and SetIssueReportPopupStatus().
Referenced by OpenIssueReportPopup().

|
private |
Definition at line 1194 of file dungeon_canvas_issue_report.cc.
References yaze::editor::GetIssueCategoryLabel(), issue_report_category_index_, issue_report_notes_, issue_report_popup_diagnostics_, issue_report_popup_kind_, issue_report_popup_screenshot_path_, and issue_report_summary_.
Referenced by OpenIssueReportPopup().

|
private |
Definition at line 1216 of file dungeon_canvas_issue_report.cc.
References yaze::editor::BuildDungeonIssueScreenshotPath(), canvas_capture_height_, canvas_capture_width_, canvas_capture_x_, canvas_capture_y_, yaze::editor::GetIssueCategoryLabel(), has_canvas_capture_region_, issue_report_category_index_, issue_report_popup_room_id_, issue_report_popup_screenshot_path_, and yaze::util::PlatformPaths::NormalizePathForDisplay().
Referenced by OpenIssueReportPopup().

|
private |
Definition at line 1255 of file dungeon_canvas_issue_report.cc.
References yaze::editor::AppendDungeonIssueLogEntry(), yaze::editor::DungeonIssueLogEntry::category_label, yaze::editor::DungeonIssueLogEntry::diagnostics, yaze::editor::GetIssueCategoryLabel(), yaze::editor::DungeonIssueLogEntry::heading, issue_report_category_index_, issue_report_notes_, issue_report_popup_diagnostics_, issue_report_popup_kind_, issue_report_popup_last_log_path_, issue_report_popup_room_id_, issue_report_popup_screenshot_path_, issue_report_summary_, yaze::util::PlatformPaths::NormalizePathForDisplay(), yaze::editor::DungeonIssueLogEntry::observed_issue, yaze::editor::DungeonIssueLogEntry::room_id, yaze::editor::DungeonIssueLogEntry::scope, yaze::editor::DungeonIssueLogEntry::screenshot_path, and yaze::editor::DungeonIssueLogEntry::timestamp_display.
Referenced by EnsureIssueReportPersisted().

|
private |
Definition at line 1277 of file dungeon_canvas_issue_report.cc.
References AppendIssueReportToLog(), issue_report_popup_last_log_path_, issue_report_popup_persisted_, and RETURN_IF_ERROR.
Referenced by OpenIssueReportPopup().

|
private |
Definition at line 947 of file dungeon_canvas_issue_report.cc.
References issue_report_popup_persisted_.
Referenced by OpenIssueReportPopup().
|
private |
Definition at line 925 of file dungeon_canvas_issue_report.cc.
References issue_report_popup_log_target_path_, issue_report_popup_screenshot_dir_, yaze::util::PlatformPaths::NormalizePathForDisplay(), yaze::editor::ResolveDungeonIssueReportPaths(), and SetIssueReportPopupStatus().
Referenced by PrepareIssueReportPopup().

|
private |
Definition at line 941 of file dungeon_canvas_issue_report.cc.
References issue_report_popup_status_is_error_, and issue_report_popup_status_message_.
Referenced by OpenIssueReportPopup(), PrepareIssueReportPopup(), and RefreshIssueReportOutputTargets().
|
private |
Definition at line 951 of file dungeon_canvas_issue_report.cc.
References issue_report_popup_last_log_path_, issue_report_popup_log_target_path_, issue_report_popup_screenshot_dir_, and issue_report_popup_screenshot_path_.
Referenced by OpenIssueReportPopup().
|
private |
Definition at line 981 of file dungeon_canvas_issue_report.cc.
References yaze::gui::GetErrorColor(), yaze::gui::GetSuccessColor(), issue_report_popup_status_is_error_, and issue_report_popup_status_message_.
Referenced by OpenIssueReportPopup().

|
private |
Definition at line 122 of file dungeon_canvas_overlays.cc.
References yaze::project::YazeProject::assets_folder, yaze::editor::DungeonCanvasViewer::CachedSpritePreview::bounds, yaze::zelda3::BuildDungeonSpriteRenderPalette(), yaze::gui::DrawOutline(), yaze::gui::DrawRect(), yaze::gui::DrawText(), yaze::editor::DungeonObjectInteraction::entity_coordinator(), entity_visibility_, yaze::project::YazeProject::filepath, game_data_, yaze::zelda3::Room::get_gfx_buffer(), yaze::project::YazeProject::GetAbsolutePath(), yaze::zelda3::SpritePreviewResourceCache::GetGraphics(), yaze::zelda3::SpriteOamRegistry::GetPreviewOverride(), yaze::editor::InteractionCoordinator::GetSelectedEntities(), yaze::zelda3::GetSpriteLabel(), yaze::zelda3::Room::GetSprites(), yaze::editor::AgentUI::GetTheme(), yaze::zelda3::Room::graphics_revision(), yaze::project::YazeProject::hack_manifest, yaze::core::HackManifest::hack_name(), yaze::gui::LayoutHelpers::IsTouchDevice(), yaze::core::HackManifest::loaded(), object_interaction_, yaze::zelda3::Sprite::preview_bounds(), yaze::zelda3::Sprite::preview_graphics(), project_, yaze::zelda3::Sprite::RenderPreviewGraphics(), yaze::zelda3::SpritePreviewResourceCache::SetContext(), yaze::editor::DungeonCanvasViewer::EntityVisibility::show_sprites, sprite_preview_cache_, and sprite_preview_resources_.
Referenced by RenderEntityOverlay().
|
private |
Definition at line 224 of file dungeon_canvas_overlays.cc.
References yaze::gui::DrawRect(), yaze::gui::DrawText(), yaze::editor::DungeonObjectInteraction::entity_coordinator(), entity_visibility_, yaze::zelda3::Room::GetPotItems(), yaze::editor::InteractionCoordinator::GetSelectedEntities(), yaze::editor::AgentUI::GetTheme(), yaze::gui::LayoutHelpers::IsTouchDevice(), object_interaction_, yaze::editor::DungeonRenderingHelpers::RoomToCanvasCoordinates(), and yaze::editor::DungeonCanvasViewer::EntityVisibility::show_pot_items.
Referenced by RenderEntityOverlay().
|
private |
Definition at line 295 of file dungeon_canvas_overlays.cc.
References yaze::zelda3::Room::AreChestsLoaded(), yaze::gui::CanvasRuntime::canvas_p0, yaze::gui::CanvasRuntime::canvas_sz, yaze::zelda3::ChestIndexForObject(), yaze::gui::CanvasRuntime::draw_list, entity_visibility_, yaze::zelda3::Room::GetChests(), yaze::zelda3::GetItemReceiptLabel(), yaze::editor::AgentUI::GetTheme(), yaze::zelda3::Room::GetTileObjects(), project_, yaze::project::YazeProject::resource_labels, yaze::editor::DungeonCanvasTransform::RoomPixelsToScreen(), yaze::gui::CanvasRuntime::scale, yaze::gui::CanvasRuntime::scrolling, yaze::editor::DungeonCanvasViewer::EntityVisibility::show_chests, and yaze::zelda3::ValidateChestObjectMapping().
Referenced by RenderEntityOverlay().
|
private |
Definition at line 359 of file dungeon_canvas_overlays.cc.
References RenderChestContents(), RenderPotItems(), and RenderSprites().
Referenced by DrawRoomCanvasContent().

|
private |
Definition at line 366 of file dungeon_canvas_overlays.cc.
References yaze::gui::CanvasRuntime::canvas_p0, yaze::editor::DungeonObjectInteraction::entity_coordinator(), yaze::editor::TileObjectHandler::GetEntityAtPosition(), yaze::gui::CanvasTouchHandler::GetGesturePosition(), yaze::zelda3::GetObjectName(), yaze::zelda3::Room::GetPotItems(), yaze::editor::DungeonObjectInteraction::GetSelectedEntity(), yaze::editor::DungeonObjectInteraction::GetSelectedObjectIndices(), yaze::editor::DungeonObjectInteraction::GetSelectionCount(), yaze::zelda3::GetSpriteLabel(), yaze::zelda3::Room::GetSprites(), yaze::zelda3::Room::GetTileObjects(), yaze::editor::DungeonObjectInteraction::HandleCopySelected(), yaze::editor::DungeonObjectInteraction::HandleDeleteSelected(), yaze::editor::DungeonObjectInteraction::HasEntitySelection(), yaze::gui::CanvasRuntime::hovered, yaze::gui::LayoutHelpers::IsTouchDevice(), yaze::editor::dungeon_coords::IsWithinBounds(), object_interaction_, yaze::gui::CanvasRuntime::scale, yaze::editor::DungeonCanvasTransform::ScreenToRoomPixelCoordinates(), yaze::editor::DungeonCanvasTransform::ScreenToRoomPixels(), yaze::gui::CanvasRuntime::scrolling, yaze::editor::DungeonObjectInteraction::SelectEntity(), yaze::editor::DungeonObjectInteraction::SendSelectedToBack(), yaze::editor::DungeonObjectInteraction::SendSelectedToFront(), yaze::editor::DungeonObjectInteraction::SetSelectedObjects(), yaze::editor::InteractionCoordinator::tile_handler(), touch_handler_, and yaze::gui::CanvasTouchHandler::WasLongPressed().
Referenced by DrawRoomCanvasContent().
|
private |
Definition at line 486 of file dungeon_canvas_overlays.cc.
References yaze::gui::DrawRect(), yaze::gui::DrawText(), yaze::zelda3::DimensionService::Get(), yaze::zelda3::GetObjectName(), yaze::zelda3::DimensionService::GetSelectionBoundsPixels(), yaze::editor::AgentUI::GetTheme(), yaze::zelda3::Room::GetTileObjects(), object_outline_toggles_, yaze::editor::DungeonCanvasViewer::ObjectOutlineToggles::show_layer0_objects, yaze::editor::DungeonCanvasViewer::ObjectOutlineToggles::show_layer1_objects, yaze::editor::DungeonCanvasViewer::ObjectOutlineToggles::show_layer2_objects, yaze::editor::DungeonCanvasViewer::ObjectOutlineToggles::show_type1_objects, yaze::editor::DungeonCanvasViewer::ObjectOutlineToggles::show_type2_objects, and yaze::editor::DungeonCanvasViewer::ObjectOutlineToggles::show_type3_objects.
Referenced by DrawRoomCanvasOverlays().
|
private |
Definition at line 237 of file dungeon_canvas_viewer.cc.
References collision_overlay_cache_, yaze::project::YazeProject::dungeon_overlay, yaze::project::DungeonOverlaySettings::minecart_sprite_ids, minecart_sprite_ids_, project_, yaze::editor::DungeonRenderingHelpers::TrackCollisionConfig::stop_tiles, switch_tile_order_, yaze::editor::DungeonRenderingHelpers::TrackCollisionConfig::switch_tiles, track_collision_config_, track_direction_map_enabled_, yaze::project::DungeonOverlaySettings::track_stop_tiles, yaze::project::DungeonOverlaySettings::track_switch_tiles, track_tile_order_, yaze::editor::DungeonRenderingHelpers::TrackCollisionConfig::track_tiles, and yaze::project::DungeonOverlaySettings::track_tiles.
Referenced by SetProject().
|
private |
Definition at line 547 of file dungeon_canvas_overlays.cc.
References collision_overlay_cache_, yaze::editor::DungeonRenderingHelpers::CollisionOverlayCache::entries, yaze::editor::DungeonRoomStore::GetIfLoaded(), yaze::editor::DungeonRenderingHelpers::CollisionOverlayCache::has_data, yaze::Rom::is_loaded(), yaze::editor::DungeonRenderingHelpers::TrackCollisionConfig::IsEmpty(), yaze::zelda3::LoadCustomCollisionMap(), rom_, rooms_, yaze::editor::DungeonRenderingHelpers::TrackCollisionConfig::stop_tiles, yaze::editor::DungeonRenderingHelpers::TrackCollisionConfig::switch_tiles, track_collision_config_, and yaze::editor::DungeonRenderingHelpers::TrackCollisionConfig::track_tiles.
Referenced by DrawRoomCanvasOverlays().

|
private |
Definition at line 677 of file dungeon_canvas_overlays.cc.
References yaze::gui::DrawRect(), yaze::zelda3::DimensionService::Get(), yaze::zelda3::DimensionService::GetPixelDimensions(), yaze::zelda3::Room::GetTileObjects(), and yaze::editor::DungeonRenderingHelpers::RoomToCanvasCoordinates().
Referenced by DrawRoomCanvasContent().
|
private |
Definition at line 28 of file dungeon_canvas_debug.cc.
References DrawLayerInfoWindow(), DrawRoomDebugWindow(), DrawTextureDebugWindow(), yaze::Rom::is_loaded(), rom_, rooms_, show_layer_info_, show_room_debug_info_, and show_texture_debug_.
Referenced by DrawDungeonCanvas().

|
private |
Definition at line 45 of file dungeon_canvas_debug.cc.
References yaze::zelda3::Room::bg1_buffer(), yaze::zelda3::BG1_Layout, yaze::zelda3::BG1_Objects, yaze::zelda3::Room::bg2_buffer(), yaze::zelda3::BG2_Layout, yaze::zelda3::BG2_Objects, yaze::zelda3::Room::blockset(), canvas_, current_entrance_blockset_, yaze::zelda3::Room::GetDungeonState(), GetRoomLayerManager(), yaze::zelda3::Room::GetSprites(), yaze::zelda3::Room::GetTileObjects(), yaze::zelda3::Room::layout_id(), layout_override_, object_outline_toggles_, yaze::zelda3::Room::palette(), yaze::zelda3::Room::ReloadGraphics(), yaze::editor::DungeonCanvasViewer::ObjectOutlineToggles::show_layer0_objects, yaze::editor::DungeonCanvasViewer::ObjectOutlineToggles::show_layer1_objects, yaze::editor::DungeonCanvasViewer::ObjectOutlineToggles::show_layer2_objects, show_object_bounds_, show_room_debug_info_, yaze::editor::DungeonCanvasViewer::ObjectOutlineToggles::show_type1_objects, yaze::editor::DungeonCanvasViewer::ObjectOutlineToggles::show_type2_objects, yaze::editor::DungeonCanvasViewer::ObjectOutlineToggles::show_type3_objects, yaze::zelda3::Room::spriteset(), and yaze::gui::Canvas::zero_point().
Referenced by DrawPersistentDebugWindows().
|
private |
Definition at line 197 of file dungeon_canvas_debug.cc.
References yaze::zelda3::Room::bg1_buffer(), yaze::zelda3::Room::bg2_buffer(), canvas_, yaze::gfx::Arena::CREATE, yaze::gfx::Arena::Get(), yaze::gfx::Arena::ProcessTextureQueue(), yaze::gfx::Arena::QueueTextureCommand(), renderer_, show_texture_debug_, yaze::gfx::Arena::UPDATE, and yaze::gui::Canvas::zero_point().
Referenced by DrawPersistentDebugWindows().
|
private |
Definition at line 253 of file dungeon_canvas_debug.cc.
References canvas_, yaze::zelda3::RoomLayerManager::GetBlendModeName(), yaze::zelda3::RoomLayerManager::GetLayerName(), GetRoomLayerManager(), yaze::gui::Canvas::global_scale(), yaze::gui::Canvas::height(), show_layer_info_, yaze::gui::Canvas::width(), and yaze::gui::Canvas::zero_point().
Referenced by DrawPersistentDebugWindows().
|
private |
Definition at line 289 of file dungeon_canvas_debug.cc.
References camera_overlay_entrance_slot_, yaze::editor::MinecartTrackEditorPanel::canvas_editing(), yaze::gui::CanvasRuntime::canvas_p0, yaze::editor::DungeonRenderingHelpers::DrawCameraQuadrantOverlay(), yaze::editor::DungeonRenderingHelpers::DrawCustomCollisionOverlay(), yaze::editor::DungeonRenderingHelpers::DrawMinecartSpriteOverlay(), DrawObjectPositionOutlines(), yaze::editor::DungeonRenderingHelpers::DrawTrackCollisionOverlay(), yaze::editor::DungeonRenderingHelpers::DrawTrackGapOverlay(), yaze::editor::DungeonRenderingHelpers::DrawTrackRouteOverlay(), yaze::editor::DungeonRenderingHelpers::DrawWaterFillOverlay(), entrance_camera_overlay_, GetCollisionOverlayCache(), yaze::gui::GetInfoColor(), yaze::editor::MinecartTrackEditorPanel::GetPickingTrackIndex(), yaze::editor::AgentUI::GetTheme(), yaze::zelda3::Room::GetTileObjects(), yaze::editor::MinecartTrackEditorPanel::GetTracks(), yaze::zelda3::Room::id(), yaze::editor::MinecartTrackEditorPanel::IsPickingCoordinates(), minecart_sprite_ids_, minecart_track_panel_, yaze::editor::MinecartLocalPosition(), yaze::editor::DungeonCanvasTransform::room_origin_screen(), yaze::zelda3::CustomObjectManager::RuntimeSubtypeCountForObject(), yaze::editor::DungeonCanvasTransform::scale(), yaze::gui::CanvasRuntime::scale, yaze::gui::CanvasRuntime::scrolling, show_camera_quadrant_overlay_, show_custom_collision_overlay_, show_custom_objects_overlay_, show_minecart_sprite_overlay_, show_minecart_tracks_, show_object_bounds_, show_track_collision_legend_, show_track_collision_overlay_, show_track_gap_overlay_, show_track_route_overlay_, show_water_fill_overlay_, switch_tile_order_, track_collision_config_, track_direction_map_enabled_, track_tile_order_, and yaze::editor::ValidateDungeonEntranceCamera().
Referenced by DrawDungeonCanvas().
|
private |
Definition at line 484 of file dungeon_canvas_debug.cc.
References canvas_, yaze::gui::DrawCanvasHUD(), yaze::gui::Canvas::global_scale(), yaze::gui::Canvas::IsMouseHovering(), yaze::editor::dungeon_coords::kSpriteTileSize, yaze::editor::dungeon_coords::kTileSize, yaze::editor::DungeonCanvasTransform::ScreenToRoomTiles(), yaze::gui::Canvas::scrolling(), show_coordinate_overlay_, yaze::editor::dungeon_coords::TileToCameraCoords(), and yaze::gui::Canvas::zero_point().
Referenced by DrawDungeonCanvas().
|
private |
Definition at line 19 of file dungeon_canvas_room_frame.cc.
References yaze::Rom::is_loaded(), yaze::zelda3::kNumberOfRooms, and rom_.
Referenced by DrawDungeonCanvas().

|
private |
Definition at line 33 of file dungeon_canvas_room_frame.cc.
References yaze::gui::CanvasFrameOptions::canvas_size, custom_grid_size_, yaze::gui::CanvasFrameOptions::draw_context_menu, yaze::gui::CanvasFrameOptions::draw_grid, yaze::gui::CanvasFrameOptions::draw_overlay, yaze::gui::CanvasFrameOptions::grid_step, yaze::gui::CanvasFrameOptions::render_popups, show_grid_, and yaze::gui::CanvasFrameOptions::viewport_size.
Referenced by DrawDungeonCanvas().
|
private |
Definition at line 48 of file dungeon_canvas_room_frame.cc.
References canvas_, yaze::gui::Canvas::global_scale(), pending_scroll_target_, room_viewport_auto_fit_, room_viewport_last_scale_, yaze::gui::Canvas::set_global_scale(), and yaze::gui::Canvas::set_scrolling().
Referenced by DrawDungeonCanvas(), and HandleRoomCanvasNavigation().

|
private |
Definition at line 87 of file dungeon_canvas_room_frame.cc.
References canvas_, yaze::editor::MinecartTrackEditorPanel::canvas_editing(), yaze::gui::CanvasRuntime::canvas_sz, yaze::editor::MinecartTrackEditorPanel::collision_stamping(), crumble_floor_view_, yaze::editor::DungeonObjectInteraction::entity_coordinator(), yaze::editor::DungeonObjectInteraction::GetSelectedObjectIndices(), yaze::gui::Canvas::global_scale(), yaze::editor::DungeonObjectInteraction::HandleScrollWheelResize(), yaze::gui::CanvasRuntime::hovered, yaze::editor::InteractionCoordinator::IsPlacementActive(), minecart_track_panel_, object_interaction_, object_interaction_enabled_, yaze::editor::CrumbleFloorView::rehearsing(), yaze::gui::CanvasRuntime::scale, yaze::gui::Canvas::scrolling(), yaze::gui::CanvasRuntime::scrolling, and UpdateRoomCanvasViewport().
Referenced by DrawDungeonCanvas().
|
private |
Definition at line 113 of file dungeon_canvas_room_frame.cc.
References yaze::gui::Canvas::ApplyConfigSnapshot(), canvas_, custom_grid_size_, yaze::gui::CanvasConfig::enable_grid, yaze::gui::Canvas::GetConfig(), yaze::gui::kEditableScratchpad, yaze::gui::Canvas::SetShowBuiltinContextMenu(), and show_grid_.
Referenced by DrawDungeonCanvas().

|
private |
Definition at line 127 of file dungeon_canvas_room_frame.cc.
References canvas_, yaze::gui::CanvasConfig::enable_grid, yaze::gui::Canvas::GetConfig(), set_custom_grid_size(), and show_grid_.
Referenced by DrawDungeonCanvas().

|
private |
Definition at line 133 of file dungeon_canvas_room_frame.cc.
References yaze::zelda3::Room::blockset(), current_entrance_blockset_, DrawRoomHeader(), header_visible_, yaze::zelda3::Room::layout_id(), yaze::zelda3::Room::palette(), prev_blockset_, prev_layout_, prev_palette_, prev_spriteset_, yaze::zelda3::Room::ReloadGraphics(), yaze::zelda3::Room::rom(), and yaze::zelda3::Room::spriteset().
Referenced by PrepareActiveRoomForCanvasFrame().
|
private |
Definition at line 152 of file dungeon_canvas_room_frame.cc.
References RefreshActiveRoomCanvasState(), rooms_, and yaze::editor::DungeonRoomStore::TryEnsureRoom().
Referenced by DrawDungeonCanvas().

|
private |
Definition at line 54 of file dungeon_canvas_room_render.cc.
References canvas_capture_height_, canvas_capture_width_, canvas_capture_x_, canvas_capture_y_, yaze::gui::CanvasRuntime::canvas_p0, yaze::gui::CanvasRuntime::canvas_sz, and has_canvas_capture_region_.
Referenced by DrawDungeonCanvas().
|
private |
Definition at line 68 of file dungeon_canvas_room_render.cc.
References canvas_, yaze::gui::CanvasRuntime::canvas_sz, yaze::gui::ClampScroll(), yaze::gui::Canvas::global_scale(), pending_scroll_target_, and yaze::gui::Canvas::set_scrolling().
Referenced by DrawDungeonCanvas().

|
private |
Definition at line 97 of file dungeon_canvas_room_render.cc.
References canvas_, yaze::gui::Canvas::canvas_size(), yaze::gui::DrawCanvasHUD(), yaze::editor::DungeonRoomStore::GetIfLoaded(), yaze::editor::dungeon_project_labels::GetRoomLabel(), header_visible_, object_interaction_enabled_, project_, rooms_, show_header_hidden_metadata_hud_, and yaze::gui::Canvas::zero_point().
Referenced by DrawDungeonCanvas().
|
private |
Definition at line 137 of file dungeon_canvas_room_render.cc.
References yaze::zelda3::Room::AreObjectsLoaded(), yaze::zelda3::Room::ArePotItemsLoaded(), yaze::zelda3::Room::AreSpritesLoaded(), current_entrance_blockset_, yaze::gfx::Arena::Get(), yaze::Rom::is_loaded(), yaze::zelda3::Room::LoadObjects(), yaze::zelda3::Room::LoadPotItems(), yaze::zelda3::Room::LoadSprites(), object_interaction_, yaze::zelda3::Room::PrepareForRender(), yaze::gfx::Arena::ProcessTextureQueue(), renderer_, rom_, rooms_, and yaze::editor::DungeonObjectInteraction::SetCurrentRoom().
Referenced by DrawRoomCanvasContent().
|
private |
Definition at line 282 of file dungeon_canvas_room_render.cc.
References yaze::gui::BeginRoomObjectDragSource(), yaze::gui::BeginSpriteDragSource(), yaze::editor::DungeonObjectInteraction::CheckForObjectSelection(), DrawCrumbleCanvas(), yaze::editor::DungeonObjectInteraction::DrawEntitySelectionHighlights(), yaze::editor::DungeonObjectInteraction::DrawGhostPreview(), DrawMaskHighlights(), DrawMinecartCanvas(), DrawRoomBackgroundLayers(), yaze::editor::DungeonObjectInteraction::DrawSelectionHighlights(), yaze::editor::DungeonObjectInteraction::GetSelectedEntity(), yaze::editor::DungeonObjectInteraction::GetSelectedObjectIndices(), yaze::zelda3::Room::GetSprites(), yaze::zelda3::Room::GetTileObjects(), yaze::editor::DungeonObjectInteraction::HandleCanvasMouseInput(), HandleRoomCanvasDropTargets(), HandleTouchLongPressContextMenu(), yaze::editor::DungeonObjectInteraction::HasEntitySelection(), yaze::editor::DungeonObjectInteraction::IsMaskModeActive(), object_interaction_, object_interaction_enabled_, PrepareRoomStateForCanvas(), and RenderEntityOverlay().
Referenced by DrawDungeonCanvas().
|
private |
Definition at line 164 of file dungeon_canvas_room_render.cc.
References yaze::gui::AcceptRoomObjectDrop(), yaze::gui::AcceptSpriteDrop(), canvas_, yaze::editor::BaseEntityHandler::context(), yaze::editor::DungeonObjectInteraction::entity_coordinator(), yaze::zelda3::Room::GetSprites(), yaze::zelda3::Room::GetTileObjects(), yaze::gui::Canvas::global_scale(), yaze::editor::dungeon_coords::IsWithinBounds(), yaze::editor::kSprites, yaze::editor::dungeon_coords::kSpriteTileSize, yaze::editor::dungeon_coords::kTileSize, yaze::zelda3::Room::MarkSpritesDirty(), yaze::gui::RoomObjectDragPayload::object_id, object_interaction_, yaze::editor::TileObjectHandler::PlaceObjectAt(), yaze::editor::DungeonCanvasTransform::ScreenToRoomPixelCoordinates(), yaze::editor::DungeonCanvasTransform::ScreenToRoomTiles(), yaze::gui::Canvas::scrolling(), yaze::editor::DungeonObjectInteraction::SetSelectedObjects(), yaze::gui::RoomObjectDragPayload::size, yaze::editor::InteractionCoordinator::sprite_handler(), yaze::gui::SpriteDragPayload::sprite_id, yaze::editor::InteractionCoordinator::tile_handler(), and yaze::gui::Canvas::zero_point().
Referenced by DrawRoomCanvasContent().
|
private |
Definition at line 485 of file dungeon_canvas_viewer.cc.
References yaze::gui::CanvasRuntime::canvas_p0, yaze::gui::CanvasRuntime::canvas_sz, change_ping_rects_, change_ping_start_time_, yaze::gui::CanvasRuntime::draw_list, yaze::editor::DungeonObjectInteraction::entity_coordinator(), yaze::zelda3::DimensionService::Get(), yaze::zelda3::Room::GetDoors(), yaze::zelda3::Room::GetPotItems(), yaze::editor::InteractionCoordinator::GetSelectedEntities(), yaze::editor::DungeonObjectInteraction::GetSelectedEntity(), yaze::editor::DungeonObjectInteraction::GetSelectedObjectIndices(), yaze::zelda3::DimensionService::GetSelectionBoundsPixels(), yaze::zelda3::Room::GetSprites(), yaze::editor::AgentUI::GetTheme(), yaze::zelda3::Room::GetTileObjects(), yaze::editor::DungeonObjectInteraction::HasEntitySelection(), object_interaction_, yaze::gui::CanvasRuntime::scale, yaze::gui::CanvasRuntime::scrolling, and yaze::editor::DungeonCanvasViewer::ChangePingRect::x.
Referenced by DrawDungeonCanvas().
|
private |
Definition at line 132 of file dungeon_canvas_viewer.cc.
References yaze::zelda3::kNumberOfRooms, and recently_visited_rooms_.
Referenced by DrawDungeonCanvas().
|
private |
Definition at line 626 of file dungeon_canvas_overlays.cc.
References yaze::gfx::EnsureCompositeBitmapTextureQueued(), GetRoomLayerManager(), yaze::Rom::is_loaded(), yaze::zelda3::kNumberOfRooms, yaze::editor::RoomCompositeOutput::Prepare(), rom_, rooms_, and yaze::editor::DungeonRoomStore::TryEnsureRoom().
Referenced by PrepareConnectedRoomCompositeBitmap(), and PrepareRoomCompositeBitmap().
|
private |
Definition at line 351 of file dungeon_canvas_viewer.cc.
References connected_composite_outputs_, and connected_composite_prune_frame_.
Referenced by DrawConnectedRoomMatrix(), and DrawDungeonCanvas().
|
private |
Definition at line 345 of file dungeon_canvas_viewer.cc.
References connected_composite_outputs_, connected_composite_prune_frame_, primary_composite_output_, and yaze::editor::RoomCompositeOutput::Retire().
Referenced by RefreshRomBackedState(), SetContext(), SetGameData(), SetRom(), and SetRooms().

|
private |
Definition at line 469 of file dungeon_canvas_viewer.cc.
References room_canvas_last_draw_frame_, and room_canvas_shortcut_focus_.
Referenced by DrawDungeonCanvas().
|
private |
Definition at line 478 of file dungeon_canvas_viewer.cc.
References crumble_floor_view_, object_interaction_enabled_, yaze::editor::CrumbleFloorView::rehearsing(), room_canvas_last_draw_frame_, and room_canvas_shortcut_focus_.
Referenced by CanHandleRoomCanvasShortcut().

|
private |
Definition at line 295 of file dungeon_canvas_room_chrome.cc.
References yaze::zelda3::BuildDungeonRenderPaletteGroupFromGameData(), current_entrance_blockset_, current_palette_group_, current_palette_group_id_, yaze::gfx::PaletteGroupMap::dungeon_main, game_data_, yaze::Rom::is_loaded(), yaze::zelda3::kNumberOfRooms, LOG_DEBUG, LOG_ERROR, yaze::zelda3::GameData::palette_groups, rom_, rooms_, and yaze::editor::DungeonRoomStore::TryEnsureRoom().

|
private |
Definition at line 595 of file dungeon_canvas_overlays.cc.
References yaze::zelda3::PaletteDebugger::Get(), yaze::editor::DungeonRoomStore::GetIfMaterialized(), PrepareRoomCompositeWithOutput(), primary_composite_output_, yaze::zelda3::Room::rendered_dungeon_palette(), yaze::zelda3::Room::rendered_palette(), rooms_, and yaze::zelda3::PaletteDebugger::SetCurrentPresentation().
Referenced by AddLoadedRoomContextMenuItems(), BuildDrawIssueReport(), DrawDungeonCanvas(), and DrawRoomBackgroundLayers().
|
private |
Definition at line 606 of file dungeon_canvas_overlays.cc.
References connected_composite_outputs_, current_entrance_blockset_, EnsureRoomLoadedForConnectedView(), entrance_blockset_resolver_, and PrepareRoomCompositeWithOutput().
Referenced by DrawConnectedRoomMatrix(), and DrawProposalPreview().

|
private |
Definition at line 376 of file dungeon_canvas_connected_view.cc.
References game_data_, yaze::Rom::is_loaded(), yaze::zelda3::Room::IsLoaded(), yaze::zelda3::kNumberOfRooms, yaze::zelda3::LoadRoomFromRom(), rom_, rooms_, yaze::zelda3::Room::SetGameData(), yaze::zelda3::Room::SetRom(), and yaze::editor::DungeonRoomStore::TryEnsureRoom().
Referenced by BuildConnectedRoomGraph(), DrawConnectedRoomMatrix(), DrawProposalPreview(), PrepareConnectedRoomCompositeBitmap(), and RoomHasNonExitDoorInDirection().
|
private |
Definition at line 397 of file dungeon_canvas_connected_view.cc.
References EnsureRoomLoadedForConnectedView(), yaze::zelda3::Room::GetDoors(), and yaze::zelda3::IsRoomConnectionDoorType().
Referenced by BuildConnectedRoomGraph(), and DrawConnectedRoomMatrix().

|
private |
Definition at line 413 of file dungeon_canvas_connected_view.cc.
References yaze::editor::CollectDungeonConnectedRoomLinkDiagnostics(), yaze::editor::Door, yaze::editor::DungeonCanvasViewer::ConnectedRoomGraphData::dungeon_scope_active, EnsureRoomLoadedForConnectedView(), yaze::editor::dungeon_project_labels::FindDungeonForRoom(), yaze::editor::DungeonCanvasViewer::ConnectedRoomGraphData::floor_order, yaze::zelda3::kNumberOfRooms, yaze::editor::DungeonCanvasViewer::ConnectedRoomGraphData::links, yaze::editor::DungeonCanvasViewer::ConnectedRoomGraphData::max_col, yaze::editor::DungeonCanvasViewer::ConnectedRoomGraphData::max_row, yaze::editor::DungeonCanvasViewer::ConnectedRoomGraphData::min_col, yaze::editor::DungeonCanvasViewer::ConnectedRoomGraphData::min_row, yaze::editor::DungeonCanvasViewer::ConnectedRoomGraphData::out_of_scope_links, project_, yaze::editor::DungeonCanvasViewer::ConnectedRoomGraphData::room_count, yaze::editor::DungeonCanvasViewer::ConnectedRoomGraphData::room_floor_labels, yaze::editor::DungeonCanvasViewer::ConnectedRoomGraphData::room_mask, yaze::editor::DungeonCanvasViewer::ConnectedRoomGraphData::room_positions, RoomHasNonExitDoorInDirection(), yaze::editor::DungeonCanvasViewer::ConnectedRoomGraphData::staircase_issues, and yaze::editor::DungeonCanvasViewer::ConnectedRoomGraphData::unlinked_room_count.
Referenced by DrawConnectedRoomMatrix(), DrawConnectedToolbarControls(), and GetConnectedContentSize().

|
private |
Definition at line 613 of file dungeon_canvas_connected_view.cc.
References connected_action_status_is_error_, and connected_action_status_message_.
|
private |
Definition at line 653 of file dungeon_canvas_overlays.cc.
References canvas_, yaze::gui::Canvas::DrawBitmap(), yaze::gfx::Arena::Get(), yaze::gui::Canvas::global_scale(), yaze::zelda3::kNumberOfRooms, PrepareRoomCompositeBitmap(), yaze::gfx::Arena::ProcessTextureQueue(), renderer_, rooms_, and yaze::gfx::Bitmap::texture().
Referenced by DrawRoomCanvasContent().
|
private |
Definition at line 270 of file dungeon_canvas_room_render.cc.
References yaze::editor::MinecartTrackEditorPanel::canvas_editing(), yaze::editor::MinecartTrackEditorPanel::collision_stamping(), crumble_floor_view_, yaze::editor::CrumbleFloorView::DrawCanvas(), yaze::editor::InteractionModeManager::IsSelectMode(), minecart_track_panel_, yaze::editor::DungeonObjectInteraction::mode_manager(), object_interaction_, object_interaction_enabled_, room_canvas_shortcut_focus_, show_crumble_floor_, and yaze::editor::CrumbleFloorView::Stop().
Referenced by DrawRoomCanvasContent().
|
private |
Definition at line 214 of file dungeon_canvas_room_render.cc.
References yaze::editor::MinecartCanvasTool::Cancel(), yaze::editor::InteractionModeManager::CancelCurrentMode(), yaze::editor::DungeonObjectInteraction::CancelPlacement(), yaze::editor::InteractionCoordinator::ClearAllEntitySelections(), yaze::editor::DungeonObjectInteraction::ClearSelection(), yaze::zelda3::Room::custom_collision(), yaze::editor::MinecartCollisionTool::Draw(), yaze::editor::MinecartCanvasTool::Draw(), yaze::editor::DungeonObjectInteraction::entity_coordinator(), yaze::editor::DungeonObjectInteraction::HandleMouseRelease(), yaze::editor::InteractionModeManager::IsSelectMode(), minecart_canvas_tool_, minecart_collision_tool_, minecart_owned_input_, minecart_track_panel_, yaze::editor::DungeonObjectInteraction::mode_manager(), object_interaction_, object_interaction_enabled_, room_canvas_shortcut_focus_, yaze::editor::MinecartTrackEditorPanel::set_canvas_editing(), show_custom_collision_overlay_, and yaze::editor::MinecartCanvasBinding::tracks.
Referenced by DrawRoomCanvasContent().
|
friend |
Definition at line 934 of file dungeon_canvas_viewer.h.
|
friend |
Definition at line 935 of file dungeon_canvas_viewer.h.
|
friend |
Definition at line 936 of file dungeon_canvas_viewer.h.
|
friend |
Definition at line 937 of file dungeon_canvas_viewer.h.
|
friend |
Definition at line 938 of file dungeon_canvas_viewer.h.
|
friend |
Definition at line 940 of file dungeon_canvas_viewer.h.
|
friend |
Definition at line 942 of file dungeon_canvas_viewer.h.
|
friend |
Definition at line 944 of file dungeon_canvas_viewer.h.
|
friend |
Definition at line 946 of file dungeon_canvas_viewer.h.
|
friend |
Definition at line 1161 of file dungeon_canvas_viewer.h.
|
private |
Definition at line 1069 of file dungeon_canvas_viewer.h.
Referenced by AddLoadedRoomContextMenuItems(), BuildDrawIssueReport(), BuildRoomMetadataSummary(), BuildSelectionIssueReport(), context(), DrawConnectedRoomMatrix(), DrawConnectedToolbarControls(), DrawDungeonCanvas(), DrawPersistentDebugWindows(), DrawProposalPreview(), EnsureRoomLoadedForConnectedView(), GetCollisionOverlayCache(), LoadAndRenderRoomGraphics(), PrepareRoomCompositeWithOutput(), PrepareRoomStateForCanvas(), rom(), SetContext(), SetRom(), and ValidateRoomCanvasRequest().
|
private |
Definition at line 1070 of file dungeon_canvas_viewer.h.
Referenced by context(), EnsureRoomLoadedForConnectedView(), game_data(), LoadAndRenderRoomGraphics(), RenderSprites(), SetContext(), and SetGameData().
|
private |
Definition at line 1071 of file dungeon_canvas_viewer.h.
Referenced by AddInteractionContextMenuItems(), AddLoadedRoomContextMenuItems(), canvas(), canvas(), ConsumePendingCanvasScroll(), DrawCoordinateOverlayHud(), DrawDungeonCanvas(), DrawHeaderHiddenMetadataHud(), DrawLayerInfoWindow(), DrawRoomBackgroundLayers(), DrawRoomDebugWindow(), DrawTextureDebugWindow(), GetObjectUnderContextCursor(), HandleRoomCanvasDropTargets(), HandleRoomCanvasNavigation(), OpenIssueReportPopup(), PopulateCanvasContextMenu(), SyncCanvasConfigFromViewerState(), SyncViewerStateFromCanvasConfig(), and UpdateRoomCanvasViewport().
|
private |
Definition at line 1072 of file dungeon_canvas_viewer.h.
Referenced by AddLoadedRoomContextMenuItems(), and UpdateRoomCanvasViewport().
|
private |
Definition at line 1073 of file dungeon_canvas_viewer.h.
Referenced by AddLoadedRoomContextMenuItems(), and UpdateRoomCanvasViewport().
|
private |
Definition at line 1074 of file dungeon_canvas_viewer.h.
Referenced by ConnectedCanvasScale(), and DrawConnectedRoomMatrix().
|
private |
Definition at line 1077 of file dungeon_canvas_viewer.h.
Referenced by ApplyDoorConnection(), ApplyRoomTransfer(), BuildDrawIssueReport(), BuildInsertContextMenu(), BuildReportContextMenu(), BuildRoomContextMenu(), BuildSelectionContextMenuItems(), BuildSelectionIssueReport(), ClearPreviewObject(), DeleteSelectedObjects(), DrawChangePingOverlay(), DrawCrumbleCanvas(), DrawDungeonCanvas(), DrawLayerControls(), DrawMinecartCanvas(), DrawRoomCanvasContent(), DungeonCanvasViewer(), GetObjectUnderContextCursor(), HandleRoomCanvasDropTargets(), HandleRoomCanvasNavigation(), HandleTouchLongPressContextMenu(), object_interaction(), PrepareRoomStateForCanvas(), PreviewDoorConnection(), PreviewRoomTransfer(), RefreshRomBackedState(), RenderPotItems(), RenderSprites(), SetContext(), SetCurrentPaletteGroup(), SetEditorSystem(), SetPreviewObject(), and SetRom().
|
private |
Definition at line 1080 of file dungeon_canvas_viewer.h.
Referenced by DrawDungeonCanvas(), and HandleTouchLongPressContextMenu().
|
private |
Definition at line 1083 of file dungeon_canvas_viewer.h.
Referenced by ConsumePendingCanvasScroll(), GetPendingScrollTarget(), HasPendingScrollTarget(), ScrollToTile(), and UpdateRoomCanvasViewport().
|
private |
Definition at line 1086 of file dungeon_canvas_viewer.h.
Referenced by AddLoadedRoomContextMenuItems(), BuildCopyExportContextMenu(), BuildDebugContextMenu(), BuildDrawIssueReport(), BuildReportContextMenu(), BuildRoomContextMenu(), BuildSelectionContextMenuItems(), DeleteChest(), DrawConnectedRoomMatrix(), DrawConnectedToolbarControls(), DrawDungeonCanvas(), DrawHeaderHiddenMetadataHud(), DrawPersistentDebugWindows(), DrawProposalPreview(), DrawRoomBackgroundLayers(), DungeonCanvasViewer(), EditChest(), EditRoomMetadata(), EditRoomMetadataBatch(), EnsureRoomLoadedForConnectedView(), ExportRoomDocument(), GetCollisionOverlayCache(), GetConnectedContentSize(), GetObjectUnderContextCursor(), GetRoomLayerManager(), HasRooms(), LoadAndRenderRoomGraphics(), PrepareActiveRoomForCanvasFrame(), PrepareRoomCompositeBitmap(), PrepareRoomCompositeWithOutput(), PrepareRoomStateForCanvas(), rooms(), and SetRooms().
|
private |
Definition at line 1087 of file dungeon_canvas_viewer.h.
Referenced by ApplyDoorConnection(), ApplyRoomTransfer(), current_room_id(), DrawConnectedRoomMatrix(), DrawDungeonCanvas(), NavigateToRoom(), PreviewDoorConnection(), PreviewRoomTransfer(), and RefreshRomBackedState().
|
private |
Definition at line 1088 of file dungeon_canvas_viewer.h.
Referenced by DrawRecentRoomBreadcrumbs(), and RecordVisitedRoom().
|
private |
Definition at line 1089 of file dungeon_canvas_viewer.h.
Referenced by BuildRoomMetadataSummary(), ClearEntranceRenderContext(), current_entrance_id(), and SetEntranceRenderContext().
|
private |
Definition at line 1090 of file dungeon_canvas_viewer.h.
Referenced by BuildDebugContextMenu(), ClearEntranceRenderContext(), current_entrance_blockset(), DrawRoomDebugWindow(), LoadAndRenderRoomGraphics(), PrepareConnectedRoomCompositeBitmap(), PrepareRoomStateForCanvas(), RefreshActiveRoomCanvasState(), and SetEntranceRenderContext().
|
private |
Definition at line 1091 of file dungeon_canvas_viewer.h.
Referenced by PrepareConnectedRoomCompositeBitmap(), and SetEntranceBlocksetResolver().
|
private |
Definition at line 1092 of file dungeon_canvas_viewer.h.
Referenced by ClearEntranceCameraOverlay(), DrawRoomCanvasOverlays(), and SetEntranceCameraOverlay().
|
private |
Definition at line 1093 of file dungeon_canvas_viewer.h.
Referenced by ClearEntranceCameraOverlay(), DrawRoomCanvasOverlays(), entrance_camera_overlay(), and SetEntranceCameraOverlay().
|
private |
Definition at line 1095 of file dungeon_canvas_viewer.h.
Referenced by set_active_rooms().
|
private |
Definition at line 1096 of file dungeon_canvas_viewer.h.
Referenced by set_current_active_room_tab().
|
private |
Definition at line 1097 of file dungeon_canvas_viewer.h.
Referenced by DrawConnectedRoomMatrix(), and RefreshRomBackedState().
|
private |
Definition at line 1098 of file dungeon_canvas_viewer.h.
Referenced by DrawConnectedRoomMatrix().
|
private |
Definition at line 1099 of file dungeon_canvas_viewer.h.
Referenced by DrawConnectedRoomMatrix(), and DrawConnectedToolbarControls().
|
private |
Definition at line 1100 of file dungeon_canvas_viewer.h.
Referenced by DrawConnectedRoomMatrix(), and DrawConnectedToolbarControls().
|
private |
Definition at line 1101 of file dungeon_canvas_viewer.h.
Referenced by DrawConnectedRoomMatrix(), and SetConnectedControlsInline().
|
private |
Definition at line 1102 of file dungeon_canvas_viewer.h.
Referenced by DrawConnectedRoomMatrix(), and DrawConnectedToolbarControls().
|
private |
Definition at line 1103 of file dungeon_canvas_viewer.h.
Referenced by DrawConnectedRoomMatrix(), and DrawConnectedToolbarControls().
|
private |
Definition at line 1108 of file dungeon_canvas_viewer.h.
Referenced by DrawConnectedRoomMatrix().
|
private |
Definition at line 1109 of file dungeon_canvas_viewer.h.
Referenced by DrawConnectedRoomMatrix().
|
private |
Definition at line 1110 of file dungeon_canvas_viewer.h.
Referenced by DrawConnectedRoomMatrix().
|
private |
Definition at line 1111 of file dungeon_canvas_viewer.h.
Referenced by DrawConnectedRoomMatrix(), DrawConnectedToolbarControls(), GetConnectedContentSize(), InvalidateConnectedRoomGraph(), SetContext(), SetRom(), and SetRooms().
|
private |
Definition at line 1112 of file dungeon_canvas_viewer.h.
Referenced by DrawConnectedRoomMatrix(), DrawConnectedToolbarControls(), GetConnectedContentSize(), InvalidateConnectedRoomGraph(), SetContext(), SetRom(), and SetRooms().
|
private |
Definition at line 1113 of file dungeon_canvas_viewer.h.
Referenced by ApplyConnectedStaircaseIssueAutoFixes(), and DrawConnectedToolbarControls().
|
private |
Definition at line 1114 of file dungeon_canvas_viewer.h.
Referenced by ApplyConnectedStaircaseIssueAutoFixes(), and DrawConnectedToolbarControls().
|
private |
Definition at line 1117 of file dungeon_canvas_viewer.h.
Referenced by AddInteractionContextMenuItems(), DrawCrumbleCanvas(), DrawDungeonCanvas(), DrawHeaderHiddenMetadataHud(), DrawMinecartCanvas(), DrawRoomCanvasContent(), HandleRoomCanvasNavigation(), HasRoomCanvasShortcutFocusForFrame(), IsObjectInteractionEnabled(), OwnsRoomNavigationShortcutFocus(), and SetObjectInteractionEnabled().
|
private |
Definition at line 1118 of file dungeon_canvas_viewer.h.
Referenced by DrawCrumbleCanvas(), DrawMinecartCanvas(), HasRoomCanvasShortcutFocusForFrame(), OwnsRoomNavigationShortcutFocus(), and UpdateRoomCanvasShortcutFocus().
|
private |
Definition at line 1119 of file dungeon_canvas_viewer.h.
Referenced by HasRoomCanvasShortcutFocusForFrame(), OwnsRoomNavigationShortcutFocus(), and UpdateRoomCanvasShortcutFocus().
|
private |
Definition at line 1127 of file dungeon_canvas_viewer.h.
Referenced by GetLayerBlendMode(), GetRoomLayerManager(), GetRoomLayerManager(), IsBG1Visible(), IsBG2Visible(), IsLayerVisible(), and RefreshRomBackedState().
|
private |
Definition at line 1131 of file dungeon_canvas_viewer.h.
Referenced by PrepareRoomCompositeBitmap(), and ResetRoomCompositeOutputs().
|
private |
Definition at line 1136 of file dungeon_canvas_viewer.h.
Referenced by PrepareConnectedRoomCompositeBitmap(), PruneConnectedRoomCompositeOutputs(), and ResetRoomCompositeOutputs().
|
private |
Definition at line 1137 of file dungeon_canvas_viewer.h.
Referenced by PruneConnectedRoomCompositeOutputs(), and ResetRoomCompositeOutputs().
|
private |
Definition at line 1140 of file dungeon_canvas_viewer.h.
Referenced by LoadAndRenderRoomGraphics(), and set_current_palette_group_id().
|
private |
Definition at line 1141 of file dungeon_canvas_viewer.h.
Referenced by SetCurrentPaletteId().
|
private |
Definition at line 1142 of file dungeon_canvas_viewer.h.
Referenced by BuildDrawIssueReport(), BuildSelectionIssueReport(), LoadAndRenderRoomGraphics(), SetCurrentPaletteGroup(), and SetPreviewObject().
|
private |
Definition at line 1143 of file dungeon_canvas_viewer.h.
Referenced by CanNavigateRooms(), DrawRoomNavigation(), NavigateToRoom(), and SetRoomNavigationCallback().
|
private |
Definition at line 1145 of file dungeon_canvas_viewer.h.
Referenced by CanNavigateRooms(), DrawRoomNavigation(), NavigateToRoom(), and SetRoomSwapCallback().
|
private |
Definition at line 1146 of file dungeon_canvas_viewer.h.
Referenced by BuildInsertContextMenu(), and SetShowObjectPanelCallback().
|
private |
Definition at line 1147 of file dungeon_canvas_viewer.h.
Referenced by BuildInsertContextMenu(), and SetShowSpritePanelCallback().
|
private |
Definition at line 1148 of file dungeon_canvas_viewer.h.
Referenced by BuildInsertContextMenu(), and SetShowItemPanelCallback().
|
private |
Definition at line 1149 of file dungeon_canvas_viewer.h.
Referenced by SetShowRoomListCallback().
|
private |
Definition at line 1150 of file dungeon_canvas_viewer.h.
Referenced by BuildOpenContextMenu(), and SetShowRoomMatrixCallback().
|
private |
Definition at line 1151 of file dungeon_canvas_viewer.h.
Referenced by BuildOpenContextMenu(), and SetShowEntranceListCallback().
|
private |
Definition at line 1152 of file dungeon_canvas_viewer.h.
Referenced by BuildOpenContextMenu(), BuildSelectionContextMenuItems(), and SetShowRoomGraphicsCallback().
|
private |
Definition at line 1153 of file dungeon_canvas_viewer.h.
Referenced by BuildOpenContextMenu(), and SetShowDoorEditorCallback().
|
private |
Definition at line 1154 of file dungeon_canvas_viewer.h.
Referenced by SetShowDungeonSettingsCallback().
|
private |
Definition at line 1155 of file dungeon_canvas_viewer.h.
Referenced by BuildRoomContextMenu(), and SetSaveRoomCallback().
|
private |
Definition at line 1156 of file dungeon_canvas_viewer.h.
Referenced by BuildSelectionContextMenuItems(), and SetEditGraphicsCallback().
|
private |
Definition at line 1157 of file dungeon_canvas_viewer.h.
Referenced by BuildOverlayContextMenu(), DrawCrumbleCanvas(), DrawDungeonCanvas(), DrawMinecartCanvas(), DrawRoomCanvasOverlays(), HandleRoomCanvasNavigation(), and SetMinecartTrackPanel().
|
private |
Definition at line 1158 of file dungeon_canvas_viewer.h.
Referenced by CancelMinecartGesture(), DrawDungeonCanvas(), DrawMinecartCanvas(), and RefreshRomBackedState().
|
private |
Definition at line 1159 of file dungeon_canvas_viewer.h.
Referenced by DrawMinecartCanvas().
|
private |
Definition at line 1160 of file dungeon_canvas_viewer.h.
Referenced by DrawMinecartCanvas().
|
private |
Definition at line 1165 of file dungeon_canvas_viewer.h.
Referenced by DrawCrumbleCanvas(), DrawDungeonCanvas(), set_show_crumble_floor(), and show_crumble_floor().
|
private |
Definition at line 1166 of file dungeon_canvas_viewer.h.
Referenced by DrawConnectedRoomMatrix(), DrawCrumbleCanvas(), DrawDungeonCanvas(), HandleRoomCanvasNavigation(), HasRoomCanvasShortcutFocusForFrame(), set_show_crumble_floor(), SetContext(), SetProject(), and SetRom().
|
private |
Definition at line 1167 of file dungeon_canvas_viewer.h.
Referenced by BuildOverlayContextMenu(), DrawRoomCanvasOverlays(), mutable_show_minecart_tracks(), set_show_minecart_tracks(), and show_minecart_tracks().
|
private |
Definition at line 1168 of file dungeon_canvas_viewer.h.
Referenced by DrawRoomPropertyTable(), and SetPinned().
|
private |
Definition at line 1169 of file dungeon_canvas_viewer.h.
Referenced by DrawRoomPropertyTable(), and SetPinCallback().
|
private |
Definition at line 1170 of file dungeon_canvas_viewer.h.
Referenced by ApplyTrackCollisionConfig(), BuildConnectedRoomGraph(), BuildRoomMetadataSummary(), DrawConnectedRoomMatrix(), DrawDungeonCanvas(), DrawHeaderHiddenMetadataHud(), DrawRecentRoomBreadcrumbs(), DrawRoomNavigation(), project(), RenderChestContents(), RenderSprites(), and SetProject().
|
private |
Definition at line 1171 of file dungeon_canvas_viewer.h.
Referenced by InvalidateExternalSpriteResources(), and RenderSprites().
|
private |
Definition at line 1179 of file dungeon_canvas_viewer.h.
Referenced by InvalidateExternalSpriteResources(), and RenderSprites().
|
private |
Definition at line 1182 of file dungeon_canvas_viewer.h.
Referenced by BuildOverlayContextMenu(), DrawRoomCanvasOverlays(), mutable_show_track_collision_overlay(), set_show_track_collision_overlay(), and show_track_collision_overlay().
|
private |
Definition at line 1183 of file dungeon_canvas_viewer.h.
Referenced by BuildOverlayContextMenu(), DrawRoomCanvasOverlays(), mutable_show_track_collision_legend(), set_show_track_collision_legend(), and show_track_collision_legend().
|
private |
Definition at line 1184 of file dungeon_canvas_viewer.h.
Referenced by BuildDrawIssueReport(), BuildOverlayContextMenu(), DrawRoomCanvasOverlays(), mutable_show_camera_quadrant_overlay(), set_show_camera_quadrant_overlay(), and show_camera_quadrant_overlay().
|
private |
Definition at line 1185 of file dungeon_canvas_viewer.h.
Referenced by BuildOverlayContextMenu(), DrawRoomCanvasOverlays(), mutable_show_minecart_sprite_overlay(), set_show_minecart_sprite_overlay(), and show_minecart_sprite_overlay().
|
private |
Definition at line 1186 of file dungeon_canvas_viewer.h.
Referenced by DrawRoomCanvasOverlays(), set_show_track_gap_overlay(), and show_track_gap_overlay().
|
private |
Definition at line 1187 of file dungeon_canvas_viewer.h.
Referenced by DrawRoomCanvasOverlays(), set_show_track_route_overlay(), and show_track_route_overlay().
|
private |
Definition at line 1188 of file dungeon_canvas_viewer.h.
Referenced by DrawRoomCanvasOverlays(), set_show_custom_objects_overlay(), and show_custom_objects_overlay().
|
private |
Definition at line 1189 of file dungeon_canvas_viewer.h.
Referenced by BuildDrawIssueReport(), BuildOverlayContextMenu(), DrawMinecartCanvas(), DrawRoomCanvasOverlays(), mutable_show_custom_collision_overlay(), set_show_custom_collision_overlay(), and show_custom_collision_overlay().
|
private |
Definition at line 1190 of file dungeon_canvas_viewer.h.
Referenced by DrawRoomCanvasOverlays(), set_show_water_fill_overlay(), and show_water_fill_overlay().
|
private |
Definition at line 1191 of file dungeon_canvas_viewer.h.
Referenced by DrawRoomHeader(), DrawRoomPropertyTable(), and SetRoomDetailsExpanded().
|
private |
Definition at line 1192 of file dungeon_canvas_viewer.h.
Referenced by EditRoomMetadata(), and SetMetadataEditCallback().
|
private |
Definition at line 1193 of file dungeon_canvas_viewer.h.
Referenced by EditRoomMetadataBatch(), and SetMetadataBatchEditCallback().
|
private |
Definition at line 1194 of file dungeon_canvas_viewer.h.
Referenced by EditChest(), and SetChestEditCallback().
|
private |
Definition at line 1195 of file dungeon_canvas_viewer.h.
Referenced by DeleteChest(), and SetChestDeleteCallback().
|
private |
Definition at line 1196 of file dungeon_canvas_viewer.h.
Referenced by chest_editor_state().
|
private |
Definition at line 1197 of file dungeon_canvas_viewer.h.
Referenced by PreviewDoorConnection(), and SetDoorConnectionCallbacks().
|
private |
Definition at line 1198 of file dungeon_canvas_viewer.h.
Referenced by ApplyDoorConnection(), and SetDoorConnectionCallbacks().
|
private |
Definition at line 1199 of file dungeon_canvas_viewer.h.
Referenced by CanNavigateDoorConnectionTarget(), NavigateToDoorConnectionTarget(), and SetDoorConnectionNavigationCallback().
|
private |
Definition at line 1200 of file dungeon_canvas_viewer.h.
Referenced by connection_editor_state(), and RefreshRomBackedState().
|
private |
Definition at line 1201 of file dungeon_canvas_viewer.h.
Referenced by ExportRoomDocument(), and SetRoomTransferCallbacks().
|
private |
Definition at line 1202 of file dungeon_canvas_viewer.h.
Referenced by PreviewRoomTransfer(), and SetRoomTransferCallbacks().
|
private |
Definition at line 1203 of file dungeon_canvas_viewer.h.
Referenced by ApplyRoomTransfer(), and SetRoomTransferCallbacks().
|
private |
Definition at line 1204 of file dungeon_canvas_viewer.h.
Referenced by BuildRoomContextMenu(), RefreshRomBackedState(), and room_transfer_state().
|
private |
Definition at line 1205 of file dungeon_canvas_viewer.h.
Referenced by compact_header_mode(), DrawRoomHeader(), and SetCompactHeaderMode().
|
private |
Definition at line 1206 of file dungeon_canvas_viewer.h.
Referenced by ApplyDoorConnection(), ApplyRoomTransfer(), DeleteChest(), DrawRoomHeader(), EditChest(), EditRoomMetadata(), EditRoomMetadataBatch(), header_read_only(), PreviewRoomTransfer(), and SetHeaderReadOnly().
|
private |
Definition at line 1207 of file dungeon_canvas_viewer.h.
Referenced by DrawDungeonCanvas(), DrawHeaderHiddenMetadataHud(), header_visible(), RefreshActiveRoomCanvasState(), and SetHeaderVisible().
|
private |
Definition at line 1208 of file dungeon_canvas_viewer.h.
Referenced by DrawHeaderHiddenMetadataHud(), SetHeaderHiddenMetadataHudVisible(), and show_header_hidden_metadata_hud().
|
private |
Definition at line 1210 of file dungeon_canvas_viewer.h.
Referenced by ApplyTrackCollisionConfig(), and DrawRoomCanvasOverlays().
|
private |
Definition at line 1211 of file dungeon_canvas_viewer.h.
Referenced by ApplyTrackCollisionConfig(), and DrawRoomCanvasOverlays().
|
private |
Definition at line 1212 of file dungeon_canvas_viewer.h.
Referenced by ApplyTrackCollisionConfig(), and DrawRoomCanvasOverlays().
|
private |
Definition at line 1213 of file dungeon_canvas_viewer.h.
Referenced by ApplyTrackCollisionConfig(), DrawRoomCanvasOverlays(), and GetCollisionOverlayCache().
|
private |
Definition at line 1215 of file dungeon_canvas_viewer.h.
Referenced by ApplyTrackCollisionConfig(), GetCollisionOverlayCache(), and RefreshRomBackedState().
|
private |
Definition at line 1216 of file dungeon_canvas_viewer.h.
Referenced by ApplyTrackCollisionConfig(), and DrawRoomCanvasOverlays().
|
private |
Definition at line 1226 of file dungeon_canvas_viewer.h.
Referenced by RefreshRomBackedState().
|
private |
Definition at line 1227 of file dungeon_canvas_viewer.h.
Referenced by RefreshRomBackedState().
|
private |
Definition at line 1230 of file dungeon_canvas_viewer.h.
Referenced by BuildDebugContextMenu(), DrawPersistentDebugWindows(), DrawRoomDebugWindow(), mutable_show_room_debug_info(), set_show_room_debug_info(), and show_room_debug_info().
|
private |
Definition at line 1231 of file dungeon_canvas_viewer.h.
Referenced by BuildDebugContextMenu(), DrawPersistentDebugWindows(), DrawTextureDebugWindow(), mutable_show_texture_debug(), set_show_texture_debug(), and show_texture_debug().
|
private |
Definition at line 1232 of file dungeon_canvas_viewer.h.
Referenced by BuildDrawIssueReport(), BuildOverlayContextMenu(), DrawRoomCanvasOverlays(), DrawRoomDebugWindow(), mutable_show_object_bounds(), set_show_object_bounds(), and show_object_bounds().
|
private |
Definition at line 1233 of file dungeon_canvas_viewer.h.
Referenced by BuildDebugContextMenu(), DrawLayerInfoWindow(), DrawPersistentDebugWindows(), mutable_show_layer_info(), set_show_layer_info(), and show_layer_info().
|
private |
Definition at line 1234 of file dungeon_canvas_viewer.h.
Referenced by BuildDrawIssueReport(), BuildRoomCanvasFrameOptions(), mutable_show_grid(), set_show_grid(), show_grid(), SyncCanvasConfigFromViewerState(), and SyncViewerStateFromCanvasConfig().
|
private |
Definition at line 1235 of file dungeon_canvas_viewer.h.
Referenced by BuildOverlayContextMenu(), DrawCoordinateOverlayHud(), mutable_show_coordinate_overlay(), set_show_coordinate_overlay(), and show_coordinate_overlay().
|
private |
Definition at line 1237 of file dungeon_canvas_viewer.h.
Referenced by DrawRoomDebugWindow().
|
private |
Definition at line 1238 of file dungeon_canvas_viewer.h.
Referenced by BuildRoomCanvasFrameOptions(), custom_grid_size(), set_custom_grid_size(), and SyncCanvasConfigFromViewerState().
|
private |
Definition at line 1239 of file dungeon_canvas_viewer.h.
Referenced by GetObjectRenderMode(), and SetObjectRenderMode().
|
private |
Definition at line 1251 of file dungeon_canvas_viewer.h.
Referenced by BuildDebugContextMenu(), DrawObjectPositionOutlines(), and DrawRoomDebugWindow().
|
private |
Definition at line 1259 of file dungeon_canvas_viewer.h.
Referenced by AreChestContentsVisible(), ArePotItemsVisible(), AreSpritesVisible(), BuildDrawIssueReport(), BuildLayerVisibilityContextMenu(), RenderChestContents(), RenderPotItems(), RenderSprites(), SetChestContentsVisible(), SetPotItemsVisible(), and SetSpritesVisible().
|
private |
Definition at line 1261 of file dungeon_canvas_viewer.h.
Referenced by DrawConnectedRoomMatrix(), DrawProposalPreview(), DrawRoomBackgroundLayers(), DrawTextureDebugWindow(), PrepareRoomStateForCanvas(), and SetRenderer().
|
private |
Definition at line 1264 of file dungeon_canvas_viewer.h.
Referenced by RefreshActiveRoomCanvasState(), and RefreshRomBackedState().
|
private |
Definition at line 1265 of file dungeon_canvas_viewer.h.
Referenced by RefreshActiveRoomCanvasState(), and RefreshRomBackedState().
|
private |
Definition at line 1266 of file dungeon_canvas_viewer.h.
Referenced by RefreshActiveRoomCanvasState(), and RefreshRomBackedState().
|
private |
Definition at line 1267 of file dungeon_canvas_viewer.h.
Referenced by RefreshActiveRoomCanvasState(), and RefreshRomBackedState().
|
private |
Definition at line 1269 of file dungeon_canvas_viewer.h.
Referenced by OpenIssueReportPopup(), and PrepareIssueReportPopup().
|
private |
Definition at line 1270 of file dungeon_canvas_viewer.h.
Referenced by AppendIssueReportToLog(), BuildIssueReportClipboardText(), OpenIssueReportPopup(), and PrepareIssueReportPopup().
|
private |
Definition at line 1271 of file dungeon_canvas_viewer.h.
Referenced by AppendIssueReportToLog(), BuildIssueReportClipboardText(), OpenIssueReportPopup(), and PrepareIssueReportPopup().
|
private |
Definition at line 1272 of file dungeon_canvas_viewer.h.
Referenced by DrawIssueReportStorageSummary(), and RefreshIssueReportOutputTargets().
|
private |
Definition at line 1273 of file dungeon_canvas_viewer.h.
Referenced by DrawIssueReportStorageSummary(), and RefreshIssueReportOutputTargets().
|
private |
Definition at line 1274 of file dungeon_canvas_viewer.h.
Referenced by AppendIssueReportToLog(), BuildIssueReportClipboardText(), CaptureIssueReportScreenshot(), DrawIssueReportStorageSummary(), OpenIssueReportPopup(), and PrepareIssueReportPopup().
|
private |
Definition at line 1275 of file dungeon_canvas_viewer.h.
Referenced by AppendIssueReportToLog(), DrawIssueReportStorageSummary(), EnsureIssueReportPersisted(), and PrepareIssueReportPopup().
|
private |
Definition at line 1276 of file dungeon_canvas_viewer.h.
Referenced by DrawIssueReportStatusMessage(), and SetIssueReportPopupStatus().
|
private |
Definition at line 1277 of file dungeon_canvas_viewer.h.
Referenced by OpenIssueReportPopup().
|
private |
Definition at line 1279 of file dungeon_canvas_viewer.h.
Referenced by AppendIssueReportToLog(), CaptureIssueReportScreenshot(), and PrepareIssueReportPopup().
|
private |
Definition at line 1280 of file dungeon_canvas_viewer.h.
Referenced by AppendIssueReportToLog(), BuildIssueReportClipboardText(), CaptureIssueReportScreenshot(), OpenIssueReportPopup(), and PrepareIssueReportPopup().
|
private |
Definition at line 1281 of file dungeon_canvas_viewer.h.
Referenced by EnsureIssueReportPersisted(), MarkIssueReportDirty(), and PrepareIssueReportPopup().
|
private |
Definition at line 1282 of file dungeon_canvas_viewer.h.
Referenced by DrawIssueReportStatusMessage(), and SetIssueReportPopupStatus().
|
private |
Definition at line 1283 of file dungeon_canvas_viewer.h.
Referenced by AppendIssueReportToLog(), BuildIssueReportClipboardText(), OpenIssueReportPopup(), and PrepareIssueReportPopup().
|
private |
Definition at line 1284 of file dungeon_canvas_viewer.h.
Referenced by AppendIssueReportToLog(), BuildIssueReportClipboardText(), OpenIssueReportPopup(), and PrepareIssueReportPopup().
|
private |
Definition at line 1285 of file dungeon_canvas_viewer.h.
Referenced by CaptureIssueReportScreenshot(), and SyncCanvasCaptureRegion().
|
private |
Definition at line 1286 of file dungeon_canvas_viewer.h.
Referenced by CaptureIssueReportScreenshot(), and SyncCanvasCaptureRegion().
|
private |
Definition at line 1287 of file dungeon_canvas_viewer.h.
Referenced by CaptureIssueReportScreenshot(), and SyncCanvasCaptureRegion().
|
private |
Definition at line 1288 of file dungeon_canvas_viewer.h.
Referenced by CaptureIssueReportScreenshot(), and SyncCanvasCaptureRegion().
|
private |
Definition at line 1289 of file dungeon_canvas_viewer.h.
Referenced by CaptureIssueReportScreenshot(), and SyncCanvasCaptureRegion().
|
private |
Definition at line 1290 of file dungeon_canvas_viewer.h.
Referenced by DrawChangePingOverlay(), RefreshRomBackedState(), TriggerCanvasPingRect(), TriggerChangePing(), and TriggerObjectChangePing().
|
private |
Definition at line 1291 of file dungeon_canvas_viewer.h.
Referenced by DrawChangePingOverlay(), RefreshRomBackedState(), TriggerCanvasPingRect(), TriggerChangePing(), and TriggerObjectChangePing().
|
private |
Definition at line 1293 of file dungeon_canvas_viewer.h.
Referenced by BuildSelectionContextMenuItems(), and SetEditObjectTilesCallback().
|
private |
Definition at line 1295 of file dungeon_canvas_viewer.h.
Referenced by BuildSelectionContextMenuItems(), and SetCheckObjectCoverageCallback().