#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> |
| using | ItemPreviewKey = std::pair<uint64_t, uint8_t> |
Definition at line 236 of file dungeon_canvas_viewer.h.
Definition at line 317 of file dungeon_canvas_viewer.h.
Definition at line 319 of file dungeon_canvas_viewer.h.
Definition at line 321 of file dungeon_canvas_viewer.h.
| using yaze::editor::DungeonCanvasViewer::ChestDeleteCallback = std::function<absl::Status(int, size_t)> |
Definition at line 323 of file dungeon_canvas_viewer.h.
Definition at line 324 of file dungeon_canvas_viewer.h.
Definition at line 327 of file dungeon_canvas_viewer.h.
Definition at line 366 of file dungeon_canvas_viewer.h.
Definition at line 368 of file dungeon_canvas_viewer.h.
Definition at line 371 of file dungeon_canvas_viewer.h.
|
private |
Definition at line 1202 of file dungeon_canvas_viewer.h.
|
private |
Definition at line 1203 of file dungeon_canvas_viewer.h.
|
inlineexplicit |
Definition at line 240 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 380 of file dungeon_canvas_viewer.cc.
References yaze::gui::BeginCanvas(), BuildRoomCanvasFrameOptions(), yaze::editor::InteractionModeManager::CancelCurrentMode(), CancelMinecartGesture(), yaze::editor::MinecartTrackEditorPanel::CancelNodePlacement(), 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(), DrawChestEditorPopup(), 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_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 971 of file dungeon_canvas_connected_matrix.cc.
References yaze::gui::BeginCanvas(), yaze::gui::BeginNoPadding(), BuildConnectedRoomGraph(), CancelMinecartGesture(), yaze::gui::CanvasFrameOptions::canvas_size, 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(), DrawChestEditorPopup(), yaze::gui::EndCanvas(), yaze::gui::EndNoPadding(), 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_diagnostics, yaze::editor::DungeonCanvasViewer::ConnectedRoomGraphData::room_floor_labels, yaze::editor::DungeonCanvasViewer::ConnectedRoomGraphData::room_mask, yaze::editor::DungeonCanvasViewer::ConnectedRoomGraphData::room_positions, 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::DrawNearbyRoomPreviews | ( | int | room_id, |
| float | height ) |
Definition at line 715 of file dungeon_canvas_connected_matrix.cc.
References BuildConnectedRoomGraph(), CanNavigateRooms(), connected_graph_cache_, connected_graph_cache_start_room_id_, yaze::editor::FormatDungeonConnectedLinkDescription(), yaze::gfx::Arena::Get(), yaze::gui::GetOutlineVec4(), yaze::editor::dungeon_project_labels::GetRoomLabel(), yaze::editor::AgentUI::GetTheme(), yaze::Rom::is_loaded(), yaze::zelda3::kNumberOfRooms, yaze::editor::DungeonCanvasViewer::ConnectedRoomGraphData::links, NavigateToRoom(), PrepareConnectedRoomCompositeBitmap(), yaze::gfx::Arena::ProcessTextureQueue(), project_, PruneConnectedRoomCompositeOutputs(), renderer_, rom_, and rooms_.
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 253 of file dungeon_canvas_proposal_preview.cc.
References EnsureRoomLoadedForConnectedView(), yaze::gfx::Arena::Get(), GetProposalPreviewContentSize(), yaze::Rom::is_loaded(), yaze::editor::kActor, yaze::editor::kObject, yaze::editor::kProposalTilePixels, yaze::editor::DungeonProposalOverlay::layers, PrepareConnectedRoomCompositeBitmap(), yaze::gfx::Arena::ProcessTextureQueue(), yaze::editor::ProposalFootprintToPixels(), yaze::editor::ProposalLayerInStep(), 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 241 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 846 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 311 of file dungeon_canvas_viewer.cc.
References DrawDungeonCanvas().

|
inline |
Definition at line 311 of file dungeon_canvas_viewer.h.
References yaze::editor::MinecartCanvasTool::Cancel(), yaze::editor::MinecartCollisionTool::Cancel(), minecart_canvas_tool_, and minecart_collision_tool_.
Referenced by DrawConnectedRoomMatrix(), DrawDungeonCanvas(), DrawMinecartCanvas(), and RefreshRomBackedState().

| void yaze::editor::DungeonCanvasViewer::CancelMinecartNodeDrag | ( | ) |
Definition at line 29 of file dungeon_canvas_viewer.cc.
References yaze::editor::MinecartTrackEditorPanel::CancelNodeDrag(), and minecart_track_panel_.
Referenced by SetHeaderReadOnly(), and SetObjectInteractionEnabled().

| void yaze::editor::DungeonCanvasViewer::TriggerChangePing | ( | ) |
Definition at line 189 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 329 of file dungeon_canvas_viewer.h.
References metadata_edit_callback_.
Referenced by yaze::editor::DungeonEditorV2::ConfigureViewerUndoHooks().
|
inline |
Definition at line 332 of file dungeon_canvas_viewer.h.
References metadata_batch_edit_callback_.
Referenced by yaze::editor::DungeonEditorV2::ConfigureViewerUndoHooks().
|
inline |
Definition at line 335 of file dungeon_canvas_viewer.h.
References chest_edit_callback_.
Referenced by yaze::editor::DungeonEditorV2::ConfigureViewerUndoHooks().
|
inline |
Definition at line 338 of file dungeon_canvas_viewer.h.
References chest_delete_callback_.
Referenced by yaze::editor::DungeonEditorV2::ConfigureViewerUndoHooks().
|
inline |
Definition at line 341 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 72 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 85 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 349 of file dungeon_canvas_viewer.h.
References door_connection_navigation_callback_.
Referenced by yaze::editor::DungeonEditorV2::ConfigureViewerUndoHooks().
|
inline |
Definition at line 353 of file dungeon_canvas_viewer.h.
References door_connection_navigation_callback_.
Referenced by yaze::editor::DrawDungeonConnectionEditor().
|
inline |
Definition at line 356 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 363 of file dungeon_canvas_viewer.h.
References connection_editor_state_.
Referenced by yaze::editor::DrawDungeonConnectionEditor().
|
inline |
Definition at line 373 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 34 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 44 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 58 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 385 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 98 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 107 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 120 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(), and DrawChestEditorPopup().

| absl::Status yaze::editor::DungeonCanvasViewer::DeleteChest | ( | int | room_id, |
| size_t | index ) |
Definition at line 129 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().

| absl::Status yaze::editor::DungeonCanvasViewer::OpenChestEditor | ( | int | room_id, |
| size_t | index ) |
Definition at line 233 of file dungeon_chest_editor.cc.
References chest_edit_callback_, chest_edit_dialog_state_, yaze::editor::DungeonRoomStore::GetIfLoaded(), header_read_only_, IsObjectInteractionEnabled(), yaze::editor::DungeonChestEditDialogState::open, rom_, rooms_, and yaze::zelda3::ValidateChestObjectMapping().
Referenced by BuildSelectionContextMenuItems(), and yaze::editor::DungeonWorkbenchContent::DrawInspectorShelfSelection().

| void yaze::editor::DungeonCanvasViewer::DrawChestEditorPopup | ( | ) |
Definition at line 263 of file dungeon_chest_editor.cc.
References yaze::gui::AutoRegisterLastItem(), chest_edit_dialog_state_, yaze::editor::DrawDungeonChestEditor(), EditChest(), yaze::editor::DungeonRoomStore::GetIfLoaded(), and rooms_.
Referenced by yaze::editor::DungeonWorkbenchContent::Draw(), DrawConnectedRoomMatrix(), and DrawDungeonCanvas().

|
inline |
Definition at line 396 of file dungeon_canvas_viewer.h.
References chest_editor_state_.
Referenced by yaze::editor::DrawDungeonChestEditor(), and yaze::editor::DungeonWorkbenchContent::DrawInspectorShelfSelection().
|
inline |
Definition at line 397 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 194 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 207 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 415 of file dungeon_canvas_viewer.h.
References connected_controls_inline_.
Referenced by yaze::editor::DungeonWorkbenchToolbar::Draw().
|
inline |
Definition at line 419 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 430 of file dungeon_canvas_viewer.h.
References game_data_, and rom_.
Referenced by ApplyDoorConnection(), ApplyRoomTransfer(), PreviewDoorConnection(), and PreviewRoomTransfer().
|
inline |
Definition at line 431 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 441 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(), yaze::editor::DoorEditorContent::GetOrCreateDoorPreview(), yaze::editor::CustomCollisionPanel::ImportCollisionRooms(), RefreshRomBackedState(), yaze::editor::DungeonEditorV2::RefreshViewerRuntimeContext(), yaze::editor::WaterFillPanel::RoomEditContext(), SetRom(), and yaze::editor::anonymous_namespace{dungeon_chest_editor.cc}::ValidateChestDialogTarget().
|
inline |
Definition at line 442 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 448 of file dungeon_canvas_viewer.h.
References game_data_.
Referenced by yaze::editor::ItemEditorPanel::DrawInWorkbench(), yaze::editor::SpriteEditorPanel::DrawInWorkbench(), yaze::editor::ItemEditorPanel::DrawItemSelector(), yaze::editor::ItemEditorPanel::DrawRoomItems(), yaze::editor::SpriteEditorPanel::DrawRoomSprites(), yaze::editor::SpriteEditorPanel::DrawSpriteSelector(), RefreshRomBackedState(), yaze::editor::DungeonEditorV2::RefreshViewerRuntimeContext(), and SetGameData().
|
inline |
Definition at line 449 of file dungeon_canvas_viewer.h.
References renderer_.
Referenced by yaze::editor::DungeonEditorV2::RefreshViewerRuntimeContext().
|
inline |
Definition at line 452 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 315 of file dungeon_canvas_viewer.cc.
References yaze::editor::InteractionModeManager::CancelCurrentMode(), CancelMinecartGesture(), yaze::editor::MinecartTrackEditorPanel::CancelNodePlacement(), yaze::editor::DungeonObjectInteraction::CancelPlacement(), change_ping_rects_, change_ping_start_time_, chest_edit_dialog_state_, chest_editor_state_, 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_track_panel_, 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 465 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_room_inspector.cc}::DrawObjectIndexJump(), yaze::editor::anonymous_namespace{dungeon_workbench_toolbar.cc}::DrawRecentRoomsContents(), yaze::editor::DungeonWorkbenchContent::DrawRoomContextHeader(), yaze::editor::DungeonWorkbenchContent::DrawRoomContextRow(), yaze::editor::anonymous_namespace{dungeon_entity_inspector.cc}::DrawSprite(), yaze::editor::WaterFillPanel::EditRoomWaterFill(), yaze::editor::DungeonWorkbenchContent::GetEmbeddedDungeonMap(), yaze::editor::DoorEditorContent::HasMatchingViewer(), yaze::editor::ItemEditorPanel::HasMatchingViewer(), yaze::editor::CustomCollisionPanel::ImportCollisionRooms(), RefreshRomBackedState(), yaze::editor::DungeonEditorV2::RefreshViewerRuntimeContext(), yaze::editor::WaterFillPanel::RoomEditContext(), set_active_rooms(), SetRooms(), and yaze::editor::anonymous_namespace{dungeon_chest_editor.cc}::ValidateChestDialogTarget().
|
inline |
Definition at line 466 of file dungeon_canvas_viewer.h.
References rooms_.
Referenced by yaze::editor::CustomCollisionPanel::Draw(), and yaze::editor::WaterFillPanel::Draw().
|
inline |
Definition at line 470 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::DrawInspectorShelfRoom(), yaze::editor::DungeonWorkbenchContent::DrawInspectorShelfSelection(), yaze::editor::SpriteEditorPanel::DrawInWorkbench(), yaze::editor::anonymous_namespace{dungeon_entity_inspector.cc}::DrawItem(), yaze::editor::anonymous_namespace{dungeon_workbench_room_inspector.cc}::DrawObjectIndexJump(), yaze::editor::SpriteEditorPanel::DrawPlacementControls(), yaze::editor::DungeonWorkbenchContent::DrawRoomContextHeader(), yaze::editor::DungeonWorkbenchContent::DrawRoomContextRow(), 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::CustomCollisionPanel::ImportCollisionRooms(), yaze::editor::anonymous_namespace{dungeon_connection_editor.cc}::OpenTarget(), and yaze::editor::DungeonEditorV2::RefreshRoomMetadataViews().
|
inline |
Definition at line 473 of file dungeon_canvas_viewer.h.
References compact_header_mode_.
|
inline |
Definition at line 474 of file dungeon_canvas_viewer.h.
References compact_header_mode_.
|
inline |
Definition at line 475 of file dungeon_canvas_viewer.h.
References show_room_details_.
|
inline |
Definition at line 478 of file dungeon_canvas_viewer.h.
References active_rooms_, and rooms().

|
inline |
Definition at line 479 of file dungeon_canvas_viewer.h.
References current_active_room_tab_.
|
inline |
Definition at line 482 of file dungeon_canvas_viewer.h.
References current_palette_group_id_.
|
inline |
Definition at line 485 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 486 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 502 of file dungeon_canvas_viewer.h.
References current_entrance_blockset_, and current_entrance_id_.
Referenced by yaze::editor::DungeonEditorV2::ConfigureViewerRenderContext().
|
inline |
Definition at line 506 of file dungeon_canvas_viewer.h.
References current_entrance_blockset_, and current_entrance_id_.
|
inline |
Definition at line 510 of file dungeon_canvas_viewer.h.
References current_entrance_id_.
|
inline |
Definition at line 511 of file dungeon_canvas_viewer.h.
References current_entrance_blockset_.
|
inline |
Definition at line 516 of file dungeon_canvas_viewer.h.
References entrance_blockset_resolver_.
Referenced by yaze::editor::DungeonEditorV2::ConfigureViewerRenderContext().
|
inline |
Definition at line 519 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 524 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 528 of file dungeon_canvas_viewer.h.
References entrance_camera_overlay_.
|
inline |
Definition at line 532 of file dungeon_canvas_viewer.h.
References room_navigation_callback_.
|
inline |
Definition at line 536 of file dungeon_canvas_viewer.h.
References room_swap_callback_.
|
inline |
Definition at line 540 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(), DrawNearbyRoomPreviews(), and DrawRecentRoomBreadcrumbs().
|
inline |
Definition at line 549 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(), DrawNearbyRoomPreviews(), DrawRecentRoomBreadcrumbs(), DungeonCanvasViewer(), and yaze::editor::anonymous_namespace{dungeon_connection_editor.cc}::OpenTarget().
|
inline |
Definition at line 559 of file dungeon_canvas_viewer.h.
References show_object_panel_callback_.
Referenced by yaze::editor::DungeonEditorV2::WireViewerPanelCallbacks().
|
inline |
Definition at line 562 of file dungeon_canvas_viewer.h.
References show_sprite_panel_callback_.
Referenced by yaze::editor::DungeonEditorV2::WireViewerPanelCallbacks().
|
inline |
Definition at line 565 of file dungeon_canvas_viewer.h.
References show_item_panel_callback_.
Referenced by yaze::editor::DungeonEditorV2::WireViewerPanelCallbacks().
|
inline |
Definition at line 568 of file dungeon_canvas_viewer.h.
References show_room_list_callback_.
Referenced by yaze::editor::DungeonEditorV2::WireViewerPanelCallbacks().
|
inline |
Definition at line 571 of file dungeon_canvas_viewer.h.
References show_room_matrix_callback_.
Referenced by yaze::editor::DungeonEditorV2::WireViewerPanelCallbacks().
|
inline |
Definition at line 574 of file dungeon_canvas_viewer.h.
References show_entrance_list_callback_.
Referenced by yaze::editor::DungeonEditorV2::WireViewerPanelCallbacks().
|
inline |
Definition at line 578 of file dungeon_canvas_viewer.h.
References show_custom_collision_overlay_.
Referenced by yaze::editor::CustomCollisionPanel::Draw(), yaze::editor::CustomCollisionPanel::ImportCollisionRooms(), and yaze::editor::SetDungeonOverlayControlEnabled().
|
inline |
Definition at line 581 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 585 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 588 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 591 of file dungeon_canvas_viewer.h.
References show_track_collision_overlay_.
Referenced by yaze::editor::GetDungeonOverlayControlEnabled().
|
inline |
Definition at line 594 of file dungeon_canvas_viewer.h.
References show_track_collision_overlay_.
Referenced by yaze::editor::SetDungeonOverlayControlEnabled().
|
inline |
Definition at line 597 of file dungeon_canvas_viewer.h.
References show_camera_quadrant_overlay_.
Referenced by yaze::editor::GetDungeonOverlayControlEnabled().
|
inline |
Definition at line 600 of file dungeon_canvas_viewer.h.
References show_camera_quadrant_overlay_.
Referenced by yaze::editor::SetDungeonOverlayControlEnabled().
|
inline |
Definition at line 603 of file dungeon_canvas_viewer.h.
References show_minecart_sprite_overlay_.
Referenced by yaze::editor::GetDungeonOverlayControlEnabled().
|
inline |
Definition at line 606 of file dungeon_canvas_viewer.h.
References show_minecart_sprite_overlay_.
Referenced by yaze::editor::SetDungeonOverlayControlEnabled().
|
inline |
Definition at line 609 of file dungeon_canvas_viewer.h.
References show_track_gap_overlay_.
Referenced by yaze::editor::GetDungeonOverlayControlEnabled().
|
inline |
Definition at line 610 of file dungeon_canvas_viewer.h.
References show_track_gap_overlay_.
Referenced by yaze::editor::SetDungeonOverlayControlEnabled().
|
inline |
Definition at line 611 of file dungeon_canvas_viewer.h.
References show_track_route_overlay_.
Referenced by yaze::editor::GetDungeonOverlayControlEnabled().
|
inline |
Definition at line 612 of file dungeon_canvas_viewer.h.
References show_track_route_overlay_.
Referenced by yaze::editor::SetDungeonOverlayControlEnabled().
|
inline |
Definition at line 615 of file dungeon_canvas_viewer.h.
References show_custom_objects_overlay_.
Referenced by yaze::editor::GetDungeonOverlayControlEnabled().
|
inline |
Definition at line 618 of file dungeon_canvas_viewer.h.
References show_custom_objects_overlay_.
Referenced by yaze::editor::SetDungeonOverlayControlEnabled().
|
inline |
Definition at line 622 of file dungeon_canvas_viewer.h.
References show_grid_.
Referenced by yaze::editor::GetDungeonOverlayControlEnabled().
|
inline |
Definition at line 623 of file dungeon_canvas_viewer.h.
References show_grid_.
Referenced by yaze::editor::SetDungeonOverlayControlEnabled().
|
inline |
Definition at line 624 of file dungeon_canvas_viewer.h.
References custom_grid_size_.
|
inline |
Definition at line 625 of file dungeon_canvas_viewer.h.
References custom_grid_size_.
Referenced by SyncViewerStateFromCanvasConfig().
|
inline |
Definition at line 628 of file dungeon_canvas_viewer.h.
References show_object_bounds_.
Referenced by yaze::editor::GetDungeonOverlayControlEnabled().
|
inline |
Definition at line 629 of file dungeon_canvas_viewer.h.
References show_object_bounds_.
Referenced by yaze::editor::SetDungeonOverlayControlEnabled().
|
inline |
Definition at line 630 of file dungeon_canvas_viewer.h.
References show_coordinate_overlay_.
Referenced by yaze::editor::GetDungeonOverlayControlEnabled().
|
inline |
Definition at line 631 of file dungeon_canvas_viewer.h.
References show_coordinate_overlay_.
Referenced by yaze::editor::SetDungeonOverlayControlEnabled().
|
inline |
Definition at line 634 of file dungeon_canvas_viewer.h.
References show_room_debug_info_.
|
inline |
Definition at line 635 of file dungeon_canvas_viewer.h.
References show_room_debug_info_.
|
inline |
Definition at line 636 of file dungeon_canvas_viewer.h.
References show_texture_debug_.
|
inline |
Definition at line 637 of file dungeon_canvas_viewer.h.
References show_texture_debug_.
|
inline |
Definition at line 638 of file dungeon_canvas_viewer.h.
References show_layer_info_.
|
inline |
Definition at line 639 of file dungeon_canvas_viewer.h.
References show_layer_info_.
|
inline |
Definition at line 640 of file dungeon_canvas_viewer.h.
References show_crumble_floor_.
Referenced by yaze::editor::GetDungeonOverlayControlEnabled().
|
inline |
Definition at line 641 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 646 of file dungeon_canvas_viewer.h.
References show_minecart_tracks_.
|
inline |
Definition at line 647 of file dungeon_canvas_viewer.h.
References show_minecart_tracks_.
|
inline |
Definition at line 648 of file dungeon_canvas_viewer.h.
References show_track_collision_legend_.
|
inline |
Definition at line 651 of file dungeon_canvas_viewer.h.
References show_track_collision_legend_.
|
inline |
Definition at line 656 of file dungeon_canvas_viewer.h.
References show_grid_.
|
inline |
Definition at line 657 of file dungeon_canvas_viewer.h.
References show_object_bounds_.
|
inline |
Definition at line 658 of file dungeon_canvas_viewer.h.
References show_coordinate_overlay_.
|
inline |
Definition at line 659 of file dungeon_canvas_viewer.h.
References show_room_debug_info_.
|
inline |
Definition at line 660 of file dungeon_canvas_viewer.h.
References show_texture_debug_.
|
inline |
Definition at line 661 of file dungeon_canvas_viewer.h.
References show_layer_info_.
|
inline |
Definition at line 662 of file dungeon_canvas_viewer.h.
References show_minecart_tracks_.
|
inline |
Definition at line 663 of file dungeon_canvas_viewer.h.
References show_custom_collision_overlay_.
|
inline |
Definition at line 666 of file dungeon_canvas_viewer.h.
References show_track_collision_overlay_.
|
inline |
Definition at line 669 of file dungeon_canvas_viewer.h.
References show_camera_quadrant_overlay_.
|
inline |
Definition at line 672 of file dungeon_canvas_viewer.h.
References show_minecart_sprite_overlay_.
|
inline |
Definition at line 675 of file dungeon_canvas_viewer.h.
References show_track_collision_legend_.
|
inline |
Definition at line 678 of file dungeon_canvas_viewer.h.
References show_room_graphics_callback_.
Referenced by yaze::editor::DungeonEditorV2::WireViewerPanelCallbacks().
|
inline |
Definition at line 681 of file dungeon_canvas_viewer.h.
References show_door_editor_callback_.
Referenced by yaze::editor::DungeonEditorV2::WireViewerPanelCallbacks().
|
inline |
Definition at line 684 of file dungeon_canvas_viewer.h.
References show_dungeon_settings_callback_.
Referenced by yaze::editor::DungeonEditorV2::WireViewerPanelCallbacks().
|
inline |
Definition at line 687 of file dungeon_canvas_viewer.h.
References save_room_callback_.
Referenced by yaze::editor::DungeonEditorV2::WireViewerPanelCallbacks().
|
inline |
Definition at line 690 of file dungeon_canvas_viewer.h.
References edit_graphics_callback_.
Referenced by yaze::editor::DungeonEditorV2::WireViewerPanelCallbacks().
|
inline |
Definition at line 694 of file dungeon_canvas_viewer.h.
References edit_object_tiles_callback_.
Referenced by yaze::editor::DungeonEditorV2::WireViewerPanelCallbacks().
|
inline |
Definition at line 699 of file dungeon_canvas_viewer.h.
References check_object_coverage_callback_.
Referenced by yaze::editor::DungeonEditorV2::WireViewerPanelCallbacks().
|
inline |
Definition at line 703 of file dungeon_canvas_viewer.h.
References minecart_track_panel_.
Referenced by yaze::editor::DungeonEditorV2::RefreshViewerRuntimeContext().
|
inline |
Definition at line 706 of file dungeon_canvas_viewer.h.
References is_pinned_.
|
inline |
Definition at line 707 of file dungeon_canvas_viewer.h.
References pin_callback_.
| void yaze::editor::DungeonCanvasViewer::SetProject | ( | const project::YazeProject * | project | ) |
Definition at line 152 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 161 of file dungeon_canvas_viewer.cc.
References item_preview_cache_, yaze::zelda3::SpritePreviewResourceCache::SetContext(), sprite_preview_cache_, and sprite_preview_resources_.
Referenced by RefreshRomBackedState(), and SetProject().

|
inline |
Definition at line 713 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::DrawInspectorShelfSelection(), yaze::editor::anonymous_namespace{dungeon_chest_editor.cc}::DrawItemChoice(), yaze::editor::anonymous_namespace{dungeon_workbench_toolbar.cc}::DrawRecentRoomsContents(), yaze::editor::DungeonWorkbenchContent::DrawRoomContextHeader(), yaze::editor::DungeonWorkbenchContent::DrawSplitView(), yaze::editor::anonymous_namespace{dungeon_entity_inspector.cc}::DrawSprite(), yaze::editor::DungeonWorkbenchContent::GetEmbeddedDungeonMap(), yaze::editor::SpriteEditorPanel::GetOrCreateSpritePreview(), yaze::editor::DungeonEditorV2::RefreshViewerRuntimeContext(), SetProject(), and yaze::editor::SpriteEditorPanel::SpriteName().
|
inline |
Definition at line 716 of file dungeon_canvas_viewer.h.
References canvas_.
Referenced by yaze::editor::DungeonStatusBar::BuildState(), and yaze::editor::DungeonWorkbenchContent::DrawSplitView().
|
inline |
Definition at line 717 of file dungeon_canvas_viewer.h.
References canvas_.
|
inline |
Definition at line 720 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::DrawInspectorShelfSelection(), yaze::editor::DoorEditorContent::DrawInWorkbench(), yaze::editor::ItemEditorPanel::DrawInWorkbench(), yaze::editor::SpriteEditorPanel::DrawInWorkbench(), yaze::editor::anonymous_namespace{dungeon_entity_inspector.cc}::DrawItem(), yaze::editor::ItemEditorPanel::DrawItemSelector(), yaze::editor::anonymous_namespace{dungeon_workbench_room_inspector.cc}::DrawObjectIndexJump(), 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 722 of file dungeon_canvas_viewer.h.
References object_interaction_, and yaze::editor::DungeonObjectInteraction::SetEditorSystem().
Referenced by yaze::editor::DungeonEditorV2::RefreshViewerRuntimeContext().

|
inline |
Definition at line 727 of file dungeon_canvas_viewer.h.
References CancelMinecartNodeDrag(), and object_interaction_enabled_.
Referenced by yaze::editor::anonymous_namespace{dungeon_chest_editor.cc}::DrawChestPlacement(), and yaze::editor::ObjectSelectorContent::ObjectSelectorContent().

|
inline |
Definition at line 732 of file dungeon_canvas_viewer.h.
References object_interaction_enabled_.
Referenced by BuildSelectionContextMenuItems(), 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::DrawInspectorShelfSelection(), yaze::editor::SpriteEditorPanel::DrawInWorkbench(), yaze::editor::DungeonWorkbenchContent::DrawSidebarContent(), yaze::editor::SpriteEditorPanel::DrawSpriteSelector(), OpenChestEditor(), and yaze::editor::anonymous_namespace{dungeon_chest_editor.cc}::ValidateChestDialogTarget().
|
inline |
Definition at line 738 of file dungeon_canvas_viewer.h.
References CancelMinecartNodeDrag(), and header_read_only_.

|
inline |
Definition at line 743 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::DrawInspectorShelfSelection(), yaze::editor::SpriteEditorPanel::DrawInWorkbench(), DrawMinecartCanvas(), DrawMinecartNodePlacement(), yaze::editor::DungeonWorkbenchContent::DrawSidebarContent(), yaze::editor::SpriteEditorPanel::DrawSpriteSelector(), and yaze::editor::anonymous_namespace{dungeon_chest_editor.cc}::ValidateChestDialogTarget().
|
inline |
Definition at line 747 of file dungeon_canvas_viewer.h.
References header_visible_.
|
inline |
Definition at line 748 of file dungeon_canvas_viewer.h.
References header_visible_.
|
inline |
Definition at line 749 of file dungeon_canvas_viewer.h.
References show_header_hidden_metadata_hud_.
|
inline |
Definition at line 752 of file dungeon_canvas_viewer.h.
References show_header_hidden_metadata_hud_.
|
inline |
Definition at line 757 of file dungeon_canvas_viewer.h.
References object_render_mode_.
|
inline |
Definition at line 760 of file dungeon_canvas_viewer.h.
References object_render_mode_.
|
inline |
Definition at line 763 of file dungeon_canvas_viewer.h.
References GetRoomLayerManager(), and yaze::zelda3::RoomLayerManager::SetLayerVisible().

|
inline |
Definition at line 766 of file dungeon_canvas_viewer.h.
References room_layer_managers_.
Referenced by DungeonCanvasViewer().
|
inline |
Definition at line 774 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 779 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 784 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 791 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 800 of file dungeon_canvas_viewer.h.
References GetRoomLayerManager(), and yaze::zelda3::RoomLayerManager::SetLayerBlendMode().

|
inline |
Definition at line 804 of file dungeon_canvas_viewer.h.
References yaze::zelda3::Normal, and room_layer_managers_.
Referenced by DungeonCanvasViewer(), and GetBG2LayerType().
|
inline |
Definition at line 813 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 167 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 821 of file dungeon_canvas_viewer.h.
References room_layer_managers_.
|
inline |
Definition at line 829 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 855 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 873 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 878 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 885 of file dungeon_canvas_viewer.h.
References pending_scroll_target_.
Referenced by yaze::editor::anonymous_namespace{dungeon_chest_editor.cc}::DrawChestActions(), yaze::editor::anonymous_namespace{dungeon_workbench_room_inspector.cc}::DrawObjectIndexJump(), DungeonCanvasViewer(), and yaze::editor::anonymous_namespace{dungeon_connection_editor.cc}::OpenTarget().
|
inline |
Definition at line 888 of file dungeon_canvas_viewer.h.
References pending_scroll_target_.
|
inline |
Definition at line 891 of file dungeon_canvas_viewer.h.
References pending_scroll_target_.
|
inline |
Definition at line 896 of file dungeon_canvas_viewer.h.
References yaze::editor::DungeonObjectInteraction::HandleDeleteSelected(), and object_interaction_.
Referenced by yaze::editor::DungeonEditorV2::ConsumeRoomCanvasDeleteShortcut().

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

|
inline |
Definition at line 903 of file dungeon_canvas_viewer.h.
References object_interaction_enabled_, room_canvas_last_draw_frame_, and room_canvas_shortcut_focus_.
|
inline |
Definition at line 910 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 913 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 914 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 917 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 918 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 921 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 332 of file dungeon_canvas_room_chrome.cc.
References yaze::gui::DrawText(), and yaze::zelda3::GetObjectName().

|
private |
Definition at line 401 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 444 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 513 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 559 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 606 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 595 of file dungeon_canvas_room_chrome.cc.
References yaze::editor::DrawDungeonLayerControls(), and yaze::editor::DrawDungeonOverlayControls().
Referenced by DrawDungeonCanvas().

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

|
private |
Definition at line 45 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 58 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_TUNE, 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::CanvasMenuItem::separator_after, yaze::gui::Canvas::SetZoomToFit(), show_dungeon_settings_callback_, yaze::gui::CanvasMenuItem::subitems, yaze::gui::Canvas::ZoomIn(), and yaze::gui::Canvas::ZoomOut().
Referenced by PopulateCanvasContextMenu().
|
private |
Definition at line 103 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 185 of file dungeon_canvas_context_menu.cc.
References BuildSelectionContextMenuItems(), and GetObjectUnderContextCursor().
Referenced by AddInteractionContextMenuItems(), and BuildSelectionContextMenuItems().

|
private |
Definition at line 191 of file dungeon_canvas_context_menu.cc.
References yaze::zelda3::Room::AreChestsLoaded(), canvas_, check_object_coverage_callback_, chest_edit_callback_, chest_editor_state_, yaze::zelda3::ChestIndexForObject(), yaze::gui::CanvasMenuItem::Destructive(), edit_graphics_callback_, edit_object_tiles_callback_, yaze::gui::CanvasMenuItem::enabled_condition, yaze::editor::DungeonChestEditorState::error, yaze::gui::FormatCtrlShiftShortcut(), yaze::gui::FormatCtrlShortcut(), yaze::editor::DungeonRoomStore::GetIfLoaded(), GetObjectIndexUnderContextCursor(), yaze::editor::DungeonObjectInteraction::GetSelectedObjectIndices(), header_read_only_, 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_EDIT, 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(), IsObjectInteractionEnabled(), yaze::zelda3::IsStatefulChestObjectId(), yaze::zelda3::kNumberOfRooms, yaze::gui::CanvasMenuItem::label, object_interaction_, OpenChestEditor(), 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 154 of file dungeon_canvas_context_menu.cc.
References GetObjectIndexUnderContextCursor(), and rooms_.
Referenced by BuildSelectionContextMenuItems().

|
private |
Definition at line 160 of file dungeon_canvas_context_menu.cc.
References canvas_, yaze::editor::DungeonObjectInteraction::entity_coordinator(), yaze::editor::TileObjectHandler::GetEntityAtPosition(), yaze::editor::dungeon_coords::IsWithinBounds(), yaze::zelda3::kNumberOfRooms, object_interaction_, rooms_, and yaze::editor::InteractionCoordinator::tile_handler().
Referenced by BuildSelectionContextMenuItems(), and GetObjectUnderContextCursor().

|
private |
Definition at line 439 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 468 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 518 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_LIST, 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_list_callback_, show_room_matrix_callback_, and yaze::gui::CanvasMenuItem::subitems.
Referenced by AddLoadedRoomContextMenuItems().
|
private |
Definition at line 550 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, yaze::zelda3::kNumberOfRooms, yaze::gui::CanvasMenuItem::label, rooms_, and yaze::gui::CanvasMenuItem::subitems.
Referenced by AddLoadedRoomContextMenuItems().

|
private |
Definition at line 587 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 671 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 761 of file dungeon_canvas_context_menu.cc.
References chest_edit_dialog_state_, current_entrance_blockset_, yaze::editor::DungeonChestEditDialogState::diagnostics_room_id, 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_INVENTORY, ICON_MD_LAYERS, ICON_MD_PRINT, ICON_MD_REFRESH, yaze::zelda3::kNumberOfRooms, yaze::gui::CanvasMenuItem::label, LOG_DEBUG, object_outline_toggles_, rooms_, yaze::editor::DungeonChestEditDialogState::show_diagnostics, 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 128 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 230 of file dungeon_canvas_overlays.cc.
References yaze::editor::DungeonCanvasViewer::CachedSpritePreview::bounds, yaze::zelda3::BuildDungeonSpriteRenderPalette(), yaze::editor::DungeonRenderingHelpers::BuildPotItemPreview(), yaze::gui::DrawOutline(), yaze::gui::DrawRect(), yaze::gui::DrawText(), yaze::editor::DungeonObjectInteraction::entity_coordinator(), entity_visibility_, game_data_, yaze::editor::GetDungeonPotItemName(), yaze::zelda3::Room::GetPotItems(), yaze::editor::InteractionCoordinator::GetSelectedEntities(), yaze::editor::AgentUI::GetTheme(), yaze::zelda3::Room::graphics_revision(), yaze::gui::LayoutHelpers::IsTouchDevice(), item_preview_cache_, yaze::editor::kDungeonPotItemCount, object_interaction_, yaze::editor::DungeonCanvasViewer::CachedSpritePreview::pixels, yaze::editor::DungeonRenderingHelpers::RoomToCanvasCoordinates(), and yaze::editor::DungeonCanvasViewer::EntityVisibility::show_pot_items.
Referenced by RenderEntityOverlay().
|
private |
Definition at line 334 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 398 of file dungeon_canvas_overlays.cc.
References RenderChestContents(), RenderPotItems(), and RenderSprites().
Referenced by DrawRoomCanvasContent().

|
private |
Definition at line 405 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 525 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 243 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 586 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 716 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::MinecartTrackEditorPanel::placement_brush(), 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 114 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 128 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 134 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 153 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 312 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 497 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 137 of file dungeon_canvas_viewer.cc.
References yaze::zelda3::kNumberOfRooms, and recently_visited_rooms_.
Referenced by DrawDungeonCanvas().
|
private |
Definition at line 665 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 361 of file dungeon_canvas_viewer.cc.
References connected_composite_outputs_, and connected_composite_prune_frame_.
Referenced by DrawConnectedRoomMatrix(), DrawDungeonCanvas(), and DrawNearbyRoomPreviews().
|
private |
Definition at line 355 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 481 of file dungeon_canvas_viewer.cc.
References room_canvas_last_draw_frame_, and room_canvas_shortcut_focus_.
Referenced by DrawDungeonCanvas().
|
private |
Definition at line 490 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 350 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, yaze::zelda3::Room::ReloadGraphics(), yaze::zelda3::Room::ResolveDungeonPaletteId(), rom_, rooms_, and yaze::editor::DungeonRoomStore::TryEnsureRoom().
|
private |
Definition at line 634 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 645 of file dungeon_canvas_overlays.cc.
References connected_composite_outputs_, current_entrance_blockset_, EnsureRoomLoadedForConnectedView(), entrance_blockset_resolver_, and PrepareRoomCompositeWithOutput().
Referenced by DrawConnectedRoomMatrix(), DrawNearbyRoomPreviews(), and DrawProposalPreview().

|
private |
Definition at line 392 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(), DrawProposalPreview(), PrepareConnectedRoomCompositeBitmap(), and RoomHasNonExitDoorInDirection().
|
private |
Definition at line 413 of file dungeon_canvas_connected_view.cc.
References EnsureRoomLoadedForConnectedView(), yaze::zelda3::Room::GetDoors(), and yaze::zelda3::IsRoomConnectionDoorType().
Referenced by BuildConnectedRoomGraph().

|
private |
Definition at line 429 of file dungeon_canvas_connected_view.cc.
References yaze::zelda3::CustomObjectManager::CaptureRenderSnapshot(), yaze::editor::CollectDungeonConnectedRoomLinkDiagnostics(), yaze::zelda3::CollectLoadedRoomLinkFacts(), yaze::zelda3::CollectRoomLinkFacts(), yaze::editor::Door, yaze::editor::DungeonCanvasViewer::ConnectedRoomGraphData::dungeon_scope_active, EnsureRoomLoadedForConnectedView(), yaze::zelda3::Room::EnsureSpritesLoaded(), yaze::editor::dungeon_project_labels::FindDungeonForRoom(), yaze::editor::DungeonCanvasViewer::ConnectedRoomGraphData::floor_order, game_data_, yaze::core::FeatureFlags::get(), yaze::zelda3::CustomObjectManager::Get(), yaze::zelda3::Room::GetSprites(), yaze::project::YazeProject::hack_manifest, yaze::zelda3::kNumberOfRooms, yaze::editor::DungeonCanvasViewer::ConnectedRoomGraphData::links, yaze::zelda3::PitDamageTable::LoadFromRom(), 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, yaze::zelda3::GameData::pit_damage_table, project_, rom_, yaze::editor::DungeonCanvasViewer::ConnectedRoomGraphData::room_count, yaze::editor::DungeonCanvasViewer::ConnectedRoomGraphData::room_diagnostics, yaze::editor::DungeonCanvasViewer::ConnectedRoomGraphData::room_floor_labels, yaze::editor::DungeonCanvasViewer::ConnectedRoomGraphData::room_mask, yaze::editor::DungeonCanvasViewer::ConnectedRoomGraphData::room_positions, yaze::zelda3::RoomCensusWarpTagsFromManifest(), RoomHasNonExitDoorInDirection(), yaze::editor::DungeonCanvasViewer::ConnectedRoomGraphData::staircase_issues, and yaze::editor::DungeonCanvasViewer::ConnectedRoomGraphData::unlinked_room_count.
Referenced by DrawConnectedRoomMatrix(), DrawConnectedToolbarControls(), DrawNearbyRoomPreviews(), and GetConnectedContentSize().
|
private |
Definition at line 657 of file dungeon_canvas_connected_view.cc.
References connected_action_status_is_error_, and connected_action_status_message_.
|
private |
Definition at line 692 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 300 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_, yaze::editor::MinecartTrackEditorPanel::placement_brush(), 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::MinecartCollisionTool::Cancel(), yaze::editor::InteractionModeManager::CancelCurrentMode(), CancelMinecartGesture(), 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(), DrawMinecartNodePlacement(), yaze::editor::DungeonObjectInteraction::entity_coordinator(), yaze::editor::DungeonObjectInteraction::HandleMouseRelease(), header_read_only(), yaze::editor::InteractionModeManager::IsSelectMode(), yaze::gui::kDragPayloadRoomObject, yaze::editor::kMinecartNodeDragPayload, minecart_canvas_tool_, minecart_collision_tool_, minecart_owned_input_, minecart_track_panel_, yaze::editor::DungeonObjectInteraction::mode_manager(), yaze::gui::RoomObjectDragPayload::object_id, object_interaction_, object_interaction_enabled_, yaze::editor::MinecartToolPayload::owner, room_canvas_shortcut_focus_, show_custom_collision_overlay_, and yaze::editor::MinecartCanvasBinding::tracks.
Referenced by DrawRoomCanvasContent().
|
private |
Definition at line 18 of file dungeon_canvas_minecart_nodes.cc.
References yaze::gui::CanvasRuntime::canvas_p0, yaze::gui::CanvasRuntime::canvas_sz, yaze::zelda3::Room::custom_collision(), yaze::gui::CanvasRuntime::draw_list, yaze::editor::DungeonObjectInteraction::entity_coordinator(), yaze::zelda3::Room::GetSprites(), yaze::editor::AgentUI::GetTheme(), yaze::zelda3::Room::GetTileObjects(), header_read_only(), yaze::gui::CanvasRuntime::hovered, yaze::editor::kCartStart, yaze::gui::kDragPayloadRoomObject, yaze::editor::kMinecartNodeDragPayload, yaze::editor::kSwitch, yaze::editor::kSwitchTrack, minecart_track_panel_, yaze::editor::TileObjectHandler::mutation_status(), yaze::gui::RoomObjectDragPayload::object_id, object_interaction_, object_interaction_enabled_, yaze::editor::MinecartToolPayload::owner, yaze::editor::PreviewMinecartCollisionStamp(), yaze::editor::PreviewMinecartNodePlacement(), room_canvas_shortcut_focus_, yaze::editor::DungeonCanvasTransform::room_origin_screen(), yaze::editor::DungeonCanvasTransform::RoomPixelsToScreen(), yaze::editor::DungeonCanvasTransform::scale(), yaze::gui::CanvasRuntime::scale, yaze::editor::DungeonCanvasTransform::ScreenToRoomTiles(), yaze::gui::CanvasRuntime::scrolling, yaze::zelda3::SynchronizeMinecartTrackCollision(), yaze::editor::InteractionCoordinator::tile_handler(), and yaze::zelda3::CustomCollisionMap::tiles.
Referenced by DrawMinecartCanvas().
|
friend |
Definition at line 237 of file dungeon_canvas_viewer.h.
|
friend |
Definition at line 959 of file dungeon_canvas_viewer.h.
|
friend |
Definition at line 960 of file dungeon_canvas_viewer.h.
|
friend |
Definition at line 961 of file dungeon_canvas_viewer.h.
|
friend |
Definition at line 962 of file dungeon_canvas_viewer.h.
|
friend |
Definition at line 963 of file dungeon_canvas_viewer.h.
|
friend |
Definition at line 965 of file dungeon_canvas_viewer.h.
|
friend |
Definition at line 967 of file dungeon_canvas_viewer.h.
|
friend |
Definition at line 969 of file dungeon_canvas_viewer.h.
|
friend |
Definition at line 971 of file dungeon_canvas_viewer.h.
|
friend |
Definition at line 1187 of file dungeon_canvas_viewer.h.
|
private |
Definition at line 1095 of file dungeon_canvas_viewer.h.
Referenced by AddLoadedRoomContextMenuItems(), BuildConnectedRoomGraph(), BuildDrawIssueReport(), BuildRoomMetadataSummary(), BuildSelectionIssueReport(), context(), DrawConnectedRoomMatrix(), DrawConnectedToolbarControls(), DrawDungeonCanvas(), DrawNearbyRoomPreviews(), DrawPersistentDebugWindows(), DrawProposalPreview(), EnsureRoomLoadedForConnectedView(), GetCollisionOverlayCache(), LoadAndRenderRoomGraphics(), OpenChestEditor(), PrepareRoomCompositeWithOutput(), PrepareRoomStateForCanvas(), rom(), SetContext(), SetRom(), and ValidateRoomCanvasRequest().
|
private |
Definition at line 1096 of file dungeon_canvas_viewer.h.
Referenced by BuildConnectedRoomGraph(), context(), EnsureRoomLoadedForConnectedView(), game_data(), LoadAndRenderRoomGraphics(), RenderPotItems(), RenderSprites(), SetContext(), and SetGameData().
|
private |
Definition at line 1097 of file dungeon_canvas_viewer.h.
Referenced by AddInteractionContextMenuItems(), AddLoadedRoomContextMenuItems(), BuildSelectionContextMenuItems(), canvas(), canvas(), ConsumePendingCanvasScroll(), DrawCoordinateOverlayHud(), DrawDungeonCanvas(), DrawHeaderHiddenMetadataHud(), DrawLayerInfoWindow(), DrawRoomBackgroundLayers(), DrawRoomDebugWindow(), DrawTextureDebugWindow(), GetObjectIndexUnderContextCursor(), HandleRoomCanvasDropTargets(), HandleRoomCanvasNavigation(), OpenIssueReportPopup(), PopulateCanvasContextMenu(), SyncCanvasConfigFromViewerState(), SyncViewerStateFromCanvasConfig(), and UpdateRoomCanvasViewport().
|
private |
Definition at line 1098 of file dungeon_canvas_viewer.h.
Referenced by AddLoadedRoomContextMenuItems(), and UpdateRoomCanvasViewport().
|
private |
Definition at line 1099 of file dungeon_canvas_viewer.h.
Referenced by AddLoadedRoomContextMenuItems(), and UpdateRoomCanvasViewport().
|
private |
Definition at line 1100 of file dungeon_canvas_viewer.h.
Referenced by ConnectedCanvasScale(), and DrawConnectedRoomMatrix().
|
private |
Definition at line 1103 of file dungeon_canvas_viewer.h.
Referenced by ApplyDoorConnection(), ApplyRoomTransfer(), BuildDrawIssueReport(), BuildInsertContextMenu(), BuildReportContextMenu(), BuildRoomContextMenu(), BuildSelectionContextMenuItems(), BuildSelectionIssueReport(), ClearPreviewObject(), DeleteSelectedObjects(), DrawChangePingOverlay(), DrawCrumbleCanvas(), DrawDungeonCanvas(), DrawLayerControls(), DrawMinecartCanvas(), DrawMinecartNodePlacement(), DrawRoomCanvasContent(), DungeonCanvasViewer(), GetObjectIndexUnderContextCursor(), HandleRoomCanvasDropTargets(), HandleRoomCanvasNavigation(), HandleTouchLongPressContextMenu(), object_interaction(), PrepareRoomStateForCanvas(), PreviewDoorConnection(), PreviewRoomTransfer(), RefreshRomBackedState(), RenderPotItems(), RenderSprites(), SetContext(), SetCurrentPaletteGroup(), SetEditorSystem(), SetPreviewObject(), and SetRom().
|
private |
Definition at line 1106 of file dungeon_canvas_viewer.h.
Referenced by DrawDungeonCanvas(), and HandleTouchLongPressContextMenu().
|
private |
Definition at line 1109 of file dungeon_canvas_viewer.h.
Referenced by ConsumePendingCanvasScroll(), GetPendingScrollTarget(), HasPendingScrollTarget(), ScrollToTile(), and UpdateRoomCanvasViewport().
|
private |
Definition at line 1112 of file dungeon_canvas_viewer.h.
Referenced by AddLoadedRoomContextMenuItems(), BuildCopyExportContextMenu(), BuildDebugContextMenu(), BuildDrawIssueReport(), BuildReportContextMenu(), BuildRoomContextMenu(), BuildSelectionContextMenuItems(), DeleteChest(), DrawChestEditorPopup(), DrawConnectedRoomMatrix(), DrawConnectedToolbarControls(), DrawDungeonCanvas(), DrawHeaderHiddenMetadataHud(), DrawNearbyRoomPreviews(), DrawPersistentDebugWindows(), DrawProposalPreview(), DrawRoomBackgroundLayers(), DungeonCanvasViewer(), EditChest(), EditRoomMetadata(), EditRoomMetadataBatch(), EnsureRoomLoadedForConnectedView(), ExportRoomDocument(), GetCollisionOverlayCache(), GetConnectedContentSize(), GetObjectIndexUnderContextCursor(), GetObjectUnderContextCursor(), GetRoomLayerManager(), HasRooms(), LoadAndRenderRoomGraphics(), OpenChestEditor(), PrepareActiveRoomForCanvasFrame(), PrepareRoomCompositeBitmap(), PrepareRoomCompositeWithOutput(), PrepareRoomStateForCanvas(), rooms(), and SetRooms().
|
private |
Definition at line 1113 of file dungeon_canvas_viewer.h.
Referenced by ApplyDoorConnection(), ApplyRoomTransfer(), current_room_id(), DrawConnectedRoomMatrix(), DrawDungeonCanvas(), NavigateToRoom(), PreviewDoorConnection(), PreviewRoomTransfer(), and RefreshRomBackedState().
|
private |
Definition at line 1114 of file dungeon_canvas_viewer.h.
Referenced by DrawRecentRoomBreadcrumbs(), and RecordVisitedRoom().
|
private |
Definition at line 1115 of file dungeon_canvas_viewer.h.
Referenced by BuildRoomMetadataSummary(), ClearEntranceRenderContext(), current_entrance_id(), and SetEntranceRenderContext().
|
private |
Definition at line 1116 of file dungeon_canvas_viewer.h.
Referenced by BuildDebugContextMenu(), ClearEntranceRenderContext(), current_entrance_blockset(), DrawRoomDebugWindow(), LoadAndRenderRoomGraphics(), PrepareConnectedRoomCompositeBitmap(), PrepareRoomStateForCanvas(), RefreshActiveRoomCanvasState(), and SetEntranceRenderContext().
|
private |
Definition at line 1117 of file dungeon_canvas_viewer.h.
Referenced by PrepareConnectedRoomCompositeBitmap(), and SetEntranceBlocksetResolver().
|
private |
Definition at line 1118 of file dungeon_canvas_viewer.h.
Referenced by ClearEntranceCameraOverlay(), DrawRoomCanvasOverlays(), and SetEntranceCameraOverlay().
|
private |
Definition at line 1119 of file dungeon_canvas_viewer.h.
Referenced by ClearEntranceCameraOverlay(), DrawRoomCanvasOverlays(), entrance_camera_overlay(), and SetEntranceCameraOverlay().
|
private |
Definition at line 1121 of file dungeon_canvas_viewer.h.
Referenced by set_active_rooms().
|
private |
Definition at line 1122 of file dungeon_canvas_viewer.h.
Referenced by set_current_active_room_tab().
|
private |
Definition at line 1123 of file dungeon_canvas_viewer.h.
Referenced by DrawConnectedRoomMatrix(), and RefreshRomBackedState().
|
private |
Definition at line 1124 of file dungeon_canvas_viewer.h.
Referenced by DrawConnectedRoomMatrix().
|
private |
Definition at line 1125 of file dungeon_canvas_viewer.h.
Referenced by DrawConnectedRoomMatrix(), and DrawConnectedToolbarControls().
|
private |
Definition at line 1126 of file dungeon_canvas_viewer.h.
Referenced by DrawConnectedRoomMatrix(), and DrawConnectedToolbarControls().
|
private |
Definition at line 1127 of file dungeon_canvas_viewer.h.
Referenced by DrawConnectedRoomMatrix(), and SetConnectedControlsInline().
|
private |
Definition at line 1128 of file dungeon_canvas_viewer.h.
Referenced by DrawConnectedRoomMatrix(), and DrawConnectedToolbarControls().
|
private |
Definition at line 1129 of file dungeon_canvas_viewer.h.
Referenced by DrawConnectedRoomMatrix(), and DrawConnectedToolbarControls().
|
private |
Definition at line 1134 of file dungeon_canvas_viewer.h.
Referenced by DrawConnectedRoomMatrix().
|
private |
Definition at line 1135 of file dungeon_canvas_viewer.h.
Referenced by DrawConnectedRoomMatrix().
|
private |
Definition at line 1136 of file dungeon_canvas_viewer.h.
Referenced by DrawConnectedRoomMatrix().
|
private |
Definition at line 1137 of file dungeon_canvas_viewer.h.
Referenced by DrawConnectedRoomMatrix(), DrawConnectedToolbarControls(), DrawNearbyRoomPreviews(), GetConnectedContentSize(), InvalidateConnectedRoomGraph(), SetContext(), SetRom(), and SetRooms().
|
private |
Definition at line 1138 of file dungeon_canvas_viewer.h.
Referenced by DrawConnectedRoomMatrix(), DrawConnectedToolbarControls(), DrawNearbyRoomPreviews(), GetConnectedContentSize(), InvalidateConnectedRoomGraph(), SetContext(), SetRom(), and SetRooms().
|
private |
Definition at line 1139 of file dungeon_canvas_viewer.h.
Referenced by ApplyConnectedStaircaseIssueAutoFixes(), and DrawConnectedToolbarControls().
|
private |
Definition at line 1140 of file dungeon_canvas_viewer.h.
Referenced by ApplyConnectedStaircaseIssueAutoFixes(), and DrawConnectedToolbarControls().
|
private |
Definition at line 1143 of file dungeon_canvas_viewer.h.
Referenced by AddInteractionContextMenuItems(), DrawCrumbleCanvas(), DrawDungeonCanvas(), DrawHeaderHiddenMetadataHud(), DrawMinecartCanvas(), DrawMinecartNodePlacement(), DrawRoomCanvasContent(), HandleRoomCanvasNavigation(), HasRoomCanvasShortcutFocusForFrame(), IsObjectInteractionEnabled(), OwnsRoomNavigationShortcutFocus(), and SetObjectInteractionEnabled().
|
private |
Definition at line 1144 of file dungeon_canvas_viewer.h.
Referenced by DrawCrumbleCanvas(), DrawMinecartCanvas(), DrawMinecartNodePlacement(), HasRoomCanvasShortcutFocusForFrame(), OwnsRoomNavigationShortcutFocus(), and UpdateRoomCanvasShortcutFocus().
|
private |
Definition at line 1145 of file dungeon_canvas_viewer.h.
Referenced by HasRoomCanvasShortcutFocusForFrame(), OwnsRoomNavigationShortcutFocus(), and UpdateRoomCanvasShortcutFocus().
|
private |
Definition at line 1153 of file dungeon_canvas_viewer.h.
Referenced by GetLayerBlendMode(), GetRoomLayerManager(), GetRoomLayerManager(), IsBG1Visible(), IsBG2Visible(), IsLayerVisible(), and RefreshRomBackedState().
|
private |
Definition at line 1157 of file dungeon_canvas_viewer.h.
Referenced by PrepareRoomCompositeBitmap(), and ResetRoomCompositeOutputs().
|
private |
Definition at line 1162 of file dungeon_canvas_viewer.h.
Referenced by PrepareConnectedRoomCompositeBitmap(), PruneConnectedRoomCompositeOutputs(), and ResetRoomCompositeOutputs().
|
private |
Definition at line 1163 of file dungeon_canvas_viewer.h.
Referenced by PruneConnectedRoomCompositeOutputs(), and ResetRoomCompositeOutputs().
|
private |
Definition at line 1166 of file dungeon_canvas_viewer.h.
Referenced by LoadAndRenderRoomGraphics(), and set_current_palette_group_id().
|
private |
Definition at line 1167 of file dungeon_canvas_viewer.h.
Referenced by SetCurrentPaletteId().
|
private |
Definition at line 1168 of file dungeon_canvas_viewer.h.
Referenced by BuildDrawIssueReport(), BuildSelectionIssueReport(), LoadAndRenderRoomGraphics(), SetCurrentPaletteGroup(), and SetPreviewObject().
|
private |
Definition at line 1169 of file dungeon_canvas_viewer.h.
Referenced by CanNavigateRooms(), DrawRoomNavigation(), NavigateToRoom(), and SetRoomNavigationCallback().
|
private |
Definition at line 1171 of file dungeon_canvas_viewer.h.
Referenced by CanNavigateRooms(), DrawRoomNavigation(), NavigateToRoom(), and SetRoomSwapCallback().
|
private |
Definition at line 1172 of file dungeon_canvas_viewer.h.
Referenced by BuildInsertContextMenu(), and SetShowObjectPanelCallback().
|
private |
Definition at line 1173 of file dungeon_canvas_viewer.h.
Referenced by BuildInsertContextMenu(), and SetShowSpritePanelCallback().
|
private |
Definition at line 1174 of file dungeon_canvas_viewer.h.
Referenced by BuildInsertContextMenu(), and SetShowItemPanelCallback().
|
private |
Definition at line 1175 of file dungeon_canvas_viewer.h.
Referenced by BuildOpenContextMenu(), and SetShowRoomListCallback().
|
private |
Definition at line 1176 of file dungeon_canvas_viewer.h.
Referenced by BuildOpenContextMenu(), and SetShowRoomMatrixCallback().
|
private |
Definition at line 1177 of file dungeon_canvas_viewer.h.
Referenced by BuildOpenContextMenu(), and SetShowEntranceListCallback().
|
private |
Definition at line 1178 of file dungeon_canvas_viewer.h.
Referenced by BuildOpenContextMenu(), BuildSelectionContextMenuItems(), and SetShowRoomGraphicsCallback().
|
private |
Definition at line 1179 of file dungeon_canvas_viewer.h.
Referenced by BuildOpenContextMenu(), and SetShowDoorEditorCallback().
|
private |
Definition at line 1180 of file dungeon_canvas_viewer.h.
Referenced by AddLoadedRoomContextMenuItems(), and SetShowDungeonSettingsCallback().
|
private |
Definition at line 1181 of file dungeon_canvas_viewer.h.
Referenced by BuildRoomContextMenu(), and SetSaveRoomCallback().
|
private |
Definition at line 1182 of file dungeon_canvas_viewer.h.
Referenced by BuildSelectionContextMenuItems(), and SetEditGraphicsCallback().
|
private |
Definition at line 1183 of file dungeon_canvas_viewer.h.
Referenced by BuildOverlayContextMenu(), CancelMinecartNodeDrag(), DrawCrumbleCanvas(), DrawDungeonCanvas(), DrawMinecartCanvas(), DrawMinecartNodePlacement(), DrawRoomCanvasOverlays(), HandleRoomCanvasNavigation(), RefreshRomBackedState(), and SetMinecartTrackPanel().
|
private |
Definition at line 1184 of file dungeon_canvas_viewer.h.
Referenced by CancelMinecartGesture(), and DrawMinecartCanvas().
|
private |
Definition at line 1185 of file dungeon_canvas_viewer.h.
Referenced by CancelMinecartGesture(), and DrawMinecartCanvas().
|
private |
Definition at line 1186 of file dungeon_canvas_viewer.h.
Referenced by DrawMinecartCanvas().
|
private |
Definition at line 1193 of file dungeon_canvas_viewer.h.
Referenced by DrawCrumbleCanvas(), DrawDungeonCanvas(), set_show_crumble_floor(), and show_crumble_floor().
|
private |
Definition at line 1194 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 1195 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 1196 of file dungeon_canvas_viewer.h.
Referenced by DrawRoomPropertyTable(), and SetPinned().
|
private |
Definition at line 1197 of file dungeon_canvas_viewer.h.
Referenced by DrawRoomPropertyTable(), and SetPinCallback().
|
private |
Definition at line 1198 of file dungeon_canvas_viewer.h.
Referenced by ApplyTrackCollisionConfig(), BuildConnectedRoomGraph(), BuildRoomMetadataSummary(), DrawConnectedRoomMatrix(), DrawDungeonCanvas(), DrawHeaderHiddenMetadataHud(), DrawNearbyRoomPreviews(), DrawRecentRoomBreadcrumbs(), DrawRoomNavigation(), project(), RenderChestContents(), RenderSprites(), and SetProject().
|
private |
Definition at line 1199 of file dungeon_canvas_viewer.h.
Referenced by InvalidateExternalSpriteResources(), and RenderSprites().
|
private |
Definition at line 1208 of file dungeon_canvas_viewer.h.
Referenced by InvalidateExternalSpriteResources(), and RenderSprites().
|
private |
Definition at line 1210 of file dungeon_canvas_viewer.h.
Referenced by InvalidateExternalSpriteResources(), and RenderPotItems().
|
private |
Definition at line 1212 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 1213 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 1214 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 1215 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 1216 of file dungeon_canvas_viewer.h.
Referenced by DrawRoomCanvasOverlays(), set_show_track_gap_overlay(), and show_track_gap_overlay().
|
private |
Definition at line 1217 of file dungeon_canvas_viewer.h.
Referenced by DrawRoomCanvasOverlays(), set_show_track_route_overlay(), and show_track_route_overlay().
|
private |
Definition at line 1218 of file dungeon_canvas_viewer.h.
Referenced by DrawRoomCanvasOverlays(), set_show_custom_objects_overlay(), and show_custom_objects_overlay().
|
private |
Definition at line 1219 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 1220 of file dungeon_canvas_viewer.h.
Referenced by DrawRoomCanvasOverlays(), set_show_water_fill_overlay(), and show_water_fill_overlay().
|
private |
Definition at line 1221 of file dungeon_canvas_viewer.h.
Referenced by DrawRoomHeader(), DrawRoomPropertyTable(), and SetRoomDetailsExpanded().
|
private |
Definition at line 1222 of file dungeon_canvas_viewer.h.
Referenced by EditRoomMetadata(), and SetMetadataEditCallback().
|
private |
Definition at line 1223 of file dungeon_canvas_viewer.h.
Referenced by EditRoomMetadataBatch(), and SetMetadataBatchEditCallback().
|
private |
Definition at line 1224 of file dungeon_canvas_viewer.h.
Referenced by BuildSelectionContextMenuItems(), EditChest(), OpenChestEditor(), and SetChestEditCallback().
|
private |
Definition at line 1225 of file dungeon_canvas_viewer.h.
Referenced by DeleteChest(), and SetChestDeleteCallback().
|
private |
Definition at line 1226 of file dungeon_canvas_viewer.h.
Referenced by BuildSelectionContextMenuItems(), chest_editor_state(), and RefreshRomBackedState().
|
private |
Definition at line 1227 of file dungeon_canvas_viewer.h.
Referenced by BuildDebugContextMenu(), DrawChestEditorPopup(), OpenChestEditor(), and RefreshRomBackedState().
|
private |
Definition at line 1228 of file dungeon_canvas_viewer.h.
Referenced by PreviewDoorConnection(), and SetDoorConnectionCallbacks().
|
private |
Definition at line 1229 of file dungeon_canvas_viewer.h.
Referenced by ApplyDoorConnection(), and SetDoorConnectionCallbacks().
|
private |
Definition at line 1230 of file dungeon_canvas_viewer.h.
Referenced by CanNavigateDoorConnectionTarget(), NavigateToDoorConnectionTarget(), and SetDoorConnectionNavigationCallback().
|
private |
Definition at line 1231 of file dungeon_canvas_viewer.h.
Referenced by connection_editor_state(), and RefreshRomBackedState().
|
private |
Definition at line 1232 of file dungeon_canvas_viewer.h.
Referenced by ExportRoomDocument(), and SetRoomTransferCallbacks().
|
private |
Definition at line 1233 of file dungeon_canvas_viewer.h.
Referenced by PreviewRoomTransfer(), and SetRoomTransferCallbacks().
|
private |
Definition at line 1234 of file dungeon_canvas_viewer.h.
Referenced by ApplyRoomTransfer(), and SetRoomTransferCallbacks().
|
private |
Definition at line 1235 of file dungeon_canvas_viewer.h.
Referenced by BuildRoomContextMenu(), RefreshRomBackedState(), and room_transfer_state().
|
private |
Definition at line 1236 of file dungeon_canvas_viewer.h.
Referenced by compact_header_mode(), DrawRoomHeader(), and SetCompactHeaderMode().
|
private |
Definition at line 1237 of file dungeon_canvas_viewer.h.
Referenced by ApplyDoorConnection(), ApplyRoomTransfer(), BuildSelectionContextMenuItems(), DeleteChest(), DrawRoomHeader(), EditChest(), EditRoomMetadata(), EditRoomMetadataBatch(), header_read_only(), OpenChestEditor(), PreviewRoomTransfer(), and SetHeaderReadOnly().
|
private |
Definition at line 1238 of file dungeon_canvas_viewer.h.
Referenced by DrawDungeonCanvas(), DrawHeaderHiddenMetadataHud(), header_visible(), RefreshActiveRoomCanvasState(), and SetHeaderVisible().
|
private |
Definition at line 1239 of file dungeon_canvas_viewer.h.
Referenced by DrawHeaderHiddenMetadataHud(), SetHeaderHiddenMetadataHudVisible(), and show_header_hidden_metadata_hud().
|
private |
Definition at line 1241 of file dungeon_canvas_viewer.h.
Referenced by ApplyTrackCollisionConfig(), and DrawRoomCanvasOverlays().
|
private |
Definition at line 1242 of file dungeon_canvas_viewer.h.
Referenced by ApplyTrackCollisionConfig(), and DrawRoomCanvasOverlays().
|
private |
Definition at line 1243 of file dungeon_canvas_viewer.h.
Referenced by ApplyTrackCollisionConfig(), and DrawRoomCanvasOverlays().
|
private |
Definition at line 1244 of file dungeon_canvas_viewer.h.
Referenced by ApplyTrackCollisionConfig(), DrawRoomCanvasOverlays(), and GetCollisionOverlayCache().
|
private |
Definition at line 1246 of file dungeon_canvas_viewer.h.
Referenced by ApplyTrackCollisionConfig(), GetCollisionOverlayCache(), and RefreshRomBackedState().
|
private |
Definition at line 1247 of file dungeon_canvas_viewer.h.
Referenced by ApplyTrackCollisionConfig(), and DrawRoomCanvasOverlays().
|
private |
Definition at line 1257 of file dungeon_canvas_viewer.h.
Referenced by RefreshRomBackedState().
|
private |
Definition at line 1258 of file dungeon_canvas_viewer.h.
Referenced by RefreshRomBackedState().
|
private |
Definition at line 1261 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 1262 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 1263 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 1264 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 1265 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 1266 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 1268 of file dungeon_canvas_viewer.h.
Referenced by DrawRoomDebugWindow().
|
private |
Definition at line 1269 of file dungeon_canvas_viewer.h.
Referenced by BuildRoomCanvasFrameOptions(), custom_grid_size(), set_custom_grid_size(), and SyncCanvasConfigFromViewerState().
|
private |
Definition at line 1270 of file dungeon_canvas_viewer.h.
Referenced by GetObjectRenderMode(), and SetObjectRenderMode().
|
private |
Definition at line 1282 of file dungeon_canvas_viewer.h.
Referenced by BuildDebugContextMenu(), DrawObjectPositionOutlines(), and DrawRoomDebugWindow().
|
private |
Definition at line 1290 of file dungeon_canvas_viewer.h.
Referenced by AreChestContentsVisible(), ArePotItemsVisible(), AreSpritesVisible(), BuildDrawIssueReport(), BuildLayerVisibilityContextMenu(), RenderChestContents(), RenderPotItems(), RenderSprites(), SetChestContentsVisible(), SetPotItemsVisible(), and SetSpritesVisible().
|
private |
Definition at line 1292 of file dungeon_canvas_viewer.h.
Referenced by DrawConnectedRoomMatrix(), DrawNearbyRoomPreviews(), DrawProposalPreview(), DrawRoomBackgroundLayers(), DrawTextureDebugWindow(), PrepareRoomStateForCanvas(), and SetRenderer().
|
private |
Definition at line 1295 of file dungeon_canvas_viewer.h.
Referenced by RefreshActiveRoomCanvasState(), and RefreshRomBackedState().
|
private |
Definition at line 1296 of file dungeon_canvas_viewer.h.
Referenced by RefreshActiveRoomCanvasState(), and RefreshRomBackedState().
|
private |
Definition at line 1297 of file dungeon_canvas_viewer.h.
Referenced by RefreshActiveRoomCanvasState(), and RefreshRomBackedState().
|
private |
Definition at line 1298 of file dungeon_canvas_viewer.h.
Referenced by RefreshActiveRoomCanvasState(), and RefreshRomBackedState().
|
private |
Definition at line 1300 of file dungeon_canvas_viewer.h.
Referenced by OpenIssueReportPopup(), and PrepareIssueReportPopup().
|
private |
Definition at line 1301 of file dungeon_canvas_viewer.h.
Referenced by AppendIssueReportToLog(), BuildIssueReportClipboardText(), OpenIssueReportPopup(), and PrepareIssueReportPopup().
|
private |
Definition at line 1302 of file dungeon_canvas_viewer.h.
Referenced by AppendIssueReportToLog(), BuildIssueReportClipboardText(), OpenIssueReportPopup(), and PrepareIssueReportPopup().
|
private |
Definition at line 1303 of file dungeon_canvas_viewer.h.
Referenced by DrawIssueReportStorageSummary(), and RefreshIssueReportOutputTargets().
|
private |
Definition at line 1304 of file dungeon_canvas_viewer.h.
Referenced by DrawIssueReportStorageSummary(), and RefreshIssueReportOutputTargets().
|
private |
Definition at line 1305 of file dungeon_canvas_viewer.h.
Referenced by AppendIssueReportToLog(), BuildIssueReportClipboardText(), CaptureIssueReportScreenshot(), DrawIssueReportStorageSummary(), OpenIssueReportPopup(), and PrepareIssueReportPopup().
|
private |
Definition at line 1306 of file dungeon_canvas_viewer.h.
Referenced by AppendIssueReportToLog(), DrawIssueReportStorageSummary(), EnsureIssueReportPersisted(), and PrepareIssueReportPopup().
|
private |
Definition at line 1307 of file dungeon_canvas_viewer.h.
Referenced by DrawIssueReportStatusMessage(), and SetIssueReportPopupStatus().
|
private |
Definition at line 1308 of file dungeon_canvas_viewer.h.
Referenced by OpenIssueReportPopup().
|
private |
Definition at line 1310 of file dungeon_canvas_viewer.h.
Referenced by AppendIssueReportToLog(), CaptureIssueReportScreenshot(), and PrepareIssueReportPopup().
|
private |
Definition at line 1311 of file dungeon_canvas_viewer.h.
Referenced by AppendIssueReportToLog(), BuildIssueReportClipboardText(), CaptureIssueReportScreenshot(), OpenIssueReportPopup(), and PrepareIssueReportPopup().
|
private |
Definition at line 1312 of file dungeon_canvas_viewer.h.
Referenced by EnsureIssueReportPersisted(), MarkIssueReportDirty(), and PrepareIssueReportPopup().
|
private |
Definition at line 1313 of file dungeon_canvas_viewer.h.
Referenced by DrawIssueReportStatusMessage(), and SetIssueReportPopupStatus().
|
private |
Definition at line 1314 of file dungeon_canvas_viewer.h.
Referenced by AppendIssueReportToLog(), BuildIssueReportClipboardText(), OpenIssueReportPopup(), and PrepareIssueReportPopup().
|
private |
Definition at line 1315 of file dungeon_canvas_viewer.h.
Referenced by AppendIssueReportToLog(), BuildIssueReportClipboardText(), OpenIssueReportPopup(), and PrepareIssueReportPopup().
|
private |
Definition at line 1316 of file dungeon_canvas_viewer.h.
Referenced by CaptureIssueReportScreenshot(), and SyncCanvasCaptureRegion().
|
private |
Definition at line 1317 of file dungeon_canvas_viewer.h.
Referenced by CaptureIssueReportScreenshot(), and SyncCanvasCaptureRegion().
|
private |
Definition at line 1318 of file dungeon_canvas_viewer.h.
Referenced by CaptureIssueReportScreenshot(), and SyncCanvasCaptureRegion().
|
private |
Definition at line 1319 of file dungeon_canvas_viewer.h.
Referenced by CaptureIssueReportScreenshot(), and SyncCanvasCaptureRegion().
|
private |
Definition at line 1320 of file dungeon_canvas_viewer.h.
Referenced by CaptureIssueReportScreenshot(), and SyncCanvasCaptureRegion().
|
private |
Definition at line 1321 of file dungeon_canvas_viewer.h.
Referenced by DrawChangePingOverlay(), RefreshRomBackedState(), TriggerCanvasPingRect(), TriggerChangePing(), and TriggerObjectChangePing().
|
private |
Definition at line 1322 of file dungeon_canvas_viewer.h.
Referenced by DrawChangePingOverlay(), RefreshRomBackedState(), TriggerCanvasPingRect(), TriggerChangePing(), and TriggerObjectChangePing().
|
private |
Definition at line 1324 of file dungeon_canvas_viewer.h.
Referenced by BuildSelectionContextMenuItems(), and SetEditObjectTilesCallback().
|
private |
Definition at line 1326 of file dungeon_canvas_viewer.h.
Referenced by BuildSelectionContextMenuItems(), and SetCheckObjectCoverageCallback().