The EditorManager controls the main editor window and manages the various editor classes. More...
#include <editor_manager.h>

Classes | |
| struct | PendingProjectRomSelection |
| struct | PendingRomSave |
| struct | PendingUnsavedSessionAction |
| class | SessionScope |
| struct | UiSyncState |
Public Types | |
| enum class | PotItemSaveDecision { kSaveWithPotItems , kSaveWithoutPotItems , kCancel } |
Static Public Member Functions | |
| static bool | IsPanelBasedEditor (EditorType type) |
Friends | |
| class | EditorManagerLayoutTestPeer |
The EditorManager controls the main editor window and manages the various editor classes.
The EditorManager class contains instances of various editor classes such as AssemblyEditor, DungeonEditor, GraphicsEditor, MusicEditor, OverworldEditor, PaletteEditor, ScreenEditor, and SpriteEditor. The current_editor_ member variable points to the currently active editor in the tab view.
EditorManager subscribes to EventBus events for session lifecycle notifications (SessionSwitchedEvent, SessionCreatedEvent, etc.) and updates cross-cutting concerns accordingly.
Definition at line 99 of file editor_manager.h.
|
strong |
| Enumerator | |
|---|---|
| kSaveWithPotItems | |
| kSaveWithoutPotItems | |
| kCancel | |
Definition at line 110 of file editor_manager.h.
| yaze::editor::EditorManager::EditorManager | ( | ) |
Definition at line 518 of file editor_manager.cc.
References editor_context_, event_bus_, yaze::editor::StatusBar::Initialize(), InitializeSubsystems(), RegisterEditors(), yaze::editor::ContentRegistry::Context::SetGlobalContext(), status_bar_, SubscribeToEvents(), and version_.
| yaze::editor::EditorManager::~EditorManager | ( | ) |
Definition at line 954 of file editor_manager.cc.
References yaze::editor::ContentRegistry::Context::Clear(), yaze::gui::ThemeManager::Get(), yaze::i18n::LanguageManager::Get(), yaze::zelda3::GetResourceLabels(), yaze::editor::ContentRegistry::Context::SetGlobalContext(), yaze::zelda3::ResourceLabelProvider::SetHackManifest(), yaze::i18n::LanguageManager::SetOnLanguageChangedCallback(), yaze::gui::ThemeManager::SetOnThemeChangedCallback(), and yaze::zelda3::ResourceLabelProvider::SetProjectLabels().
| void yaze::editor::EditorManager::Initialize | ( | gfx::IRenderer * | renderer, |
| const std::string & | filename = "" ) |
Definition at line 1494 of file editor_manager.cc.
References ApplyStartupVisibilityOverrides(), dashboard_mode_override_, editor_registry_, emulator_, yaze::editor::WorkspaceWindowManager::GetActiveSessionId(), GetPreferredStartupCategory(), InitializeServices(), InitializeShortcutSystem(), InitializeTestSuites(), yaze::kAuto, yaze::kHide, yaze::kShow, OpenRomOrProject(), yaze::editor::UserSettings::Preferences::panel_browser_category_width, yaze::editor::UserSettings::Preferences::panel_visibility_state, pending_layout_defaults_reset_, yaze::editor::UserSettings::prefs(), PRINT_IF_ERROR, yaze::editor::RegisterDefaultEditorFactories(), RegisterEmulatorPanels(), renderer_, ResetWorkspaceLayout(), yaze::editor::WorkspaceWindowManager::RestoreVisibilityState(), yaze::emu::Emulator::set_window_manager(), yaze::editor::WorkspaceManager::set_window_manager(), yaze::editor::WorkspaceWindowManager::SetActiveCategory(), yaze::editor::WorkspaceWindowManager::SetSidebarExpanded(), yaze::editor::WorkspaceWindowManager::SetSidebarVisible(), yaze::editor::WorkspaceWindowManager::SetStoredSidePanelWidth(), SetupComponentCallbacks(), yaze::editor::WorkspaceWindowManager::SetWindowBrowserCategoryWidth(), yaze::editor::UserSettings::Preferences::sidebar_active_category, yaze::editor::UserSettings::Preferences::sidebar_panel_expanded, yaze::editor::UserSettings::Preferences::sidebar_panel_width, yaze::editor::UserSettings::Preferences::sidebar_visible, startup_editor_hint_, startup_panel_hints_, SyncEditorContextForCategory(), yaze::editor::UserSettings::Preferences::test_mode, user_settings_, welcome_mode_override_, window_manager_, and workspace_manager_.
Referenced by yaze::Controller::OnEntry().
| void yaze::editor::EditorManager::OpenEditorAndPanelsFromFlags | ( | const std::string & | editor_name, |
| const std::string & | panels_str ) |
Definition at line 1904 of file editor_manager.cc.
References yaze::editor::JumpToRoomRequestEvent::Create(), dashboard_panel_, EnsureEditorAssetsLoaded(), event_bus_, yaze::editor::WorkspaceWindowManager::GetActiveCategory(), yaze::editor::WorkspaceWindowManager::GetAllWindowDescriptors(), GetCurrentEditorSet(), GetCurrentSessionId(), yaze::editor::EditorRegistry::GetEditorTypeFromCategory(), yaze::editor::WorkspaceWindowManager::GetWindowDescriptor(), yaze::editor::WorkspaceWindowManager::kDashboardCategory, yaze::kShow, LOG_DEBUG, LOG_INFO, LOG_WARN, yaze::editor::WorkspaceWindowManager::OpenWindow(), yaze::editor::ParseEditorTypeFromString(), yaze::EventBus::Publish(), yaze::editor::WorkspaceWindowManager::SetActiveCategory(), SwitchToEditor(), ui_coordinator_, and window_manager_.
Referenced by ProcessStartupActions(), and yaze::Controller::SetStartupEditor().
| void yaze::editor::EditorManager::ProcessStartupActions | ( | const AppConfig & | config | ) |
Definition at line 2122 of file editor_manager.cc.
References ApplyStartupVisibility(), yaze::editor::JumpToMapRequestEvent::Create(), yaze::editor::JumpToRoomRequestEvent::Create(), event_bus_, GetCurrentSessionId(), yaze::AppConfig::jump_to_map, yaze::AppConfig::jump_to_room, yaze::zelda3::kNumOverworldMaps, yaze::editor::kWarning, LOG_WARN, yaze::AppConfig::open_panels, OpenEditorAndPanelsFromFlags(), yaze::EventBus::Publish(), yaze::editor::ToastManager::Show(), yaze::AppConfig::startup_editor, and toast_manager_.
| void yaze::editor::EditorManager::ApplyStartupVisibility | ( | const AppConfig & | config | ) |
Definition at line 2034 of file editor_manager.cc.
References ApplyStartupVisibilityOverrides(), yaze::AppConfig::dashboard_mode, dashboard_mode_override_, yaze::AppConfig::sidebar_mode, sidebar_mode_override_, yaze::AppConfig::welcome_mode, and welcome_mode_override_.
Referenced by ProcessStartupActions().

| void yaze::editor::EditorManager::SetStartupLoadHints | ( | const AppConfig & | config | ) |
Definition at line 2041 of file editor_manager.cc.
References yaze::AppConfig::dashboard_mode, dashboard_mode_override_, yaze::AppConfig::open_panels, yaze::AppConfig::sidebar_mode, sidebar_mode_override_, yaze::AppConfig::startup_editor, startup_editor_hint_, startup_panel_hints_, yaze::AppConfig::welcome_mode, and welcome_mode_override_.
| void yaze::editor::EditorManager::SetAssetLoadMode | ( | AssetLoadMode | mode | ) |
Definition at line 2087 of file editor_manager.cc.
References asset_load_mode_.
Referenced by yaze::Controller::LoadRomForTesting(), and yaze::Controller::OnEntry().
|
inline |
Definition at line 133 of file editor_manager.h.
References asset_load_mode_.
Referenced by yaze::Controller::LoadRomForTesting().
| absl::Status yaze::editor::EditorManager::Update | ( | ) |
Main update loop for the editor application.
DELEGATION FLOW:
Note: EditorManager retains the main loop to coordinate multi-session updates, but delegates specific drawing/state operations to specialized components.
Definition at line 67 of file editor_manager_frame.cc.
References DrawInterface(), ProcessInput(), status_, and UpdateEditorState().
Referenced by yaze::Controller::OnLoad().

| void yaze::editor::EditorManager::DrawMainMenuBar | ( | ) |
Definition at line 505 of file editor_manager_frame.cc.
References ICON_MD_MENU, ICON_MD_MENU_OPEN, yaze::editor::WorkspaceWindowManager::IsSidebarVisible(), menu_orchestrator_, yaze::editor::WorkspaceWindowManager::ToggleSidebarVisibility(), ui_coordinator_, and window_manager_.
Referenced by yaze::Controller::OnLoad().

| void yaze::editor::EditorManager::HandleHostVisibilityChanged | ( | bool | visible | ) |
Definition at line 75 of file editor_manager_frame.cc.
References yaze::gui::Animator::ClearWorkspaceTransitionState(), yaze::gui::GetAnimator(), and right_drawer_manager_.
Referenced by yaze::Controller::OnInput().

|
inline |
Definition at line 141 of file editor_manager.h.
References emulator_.
Referenced by yaze::app::GetGlobalEmulator(), main(), yaze::Controller::OnEntry(), and yaze::Controller::OnInput().
|
inline |
Definition at line 142 of file editor_manager.h.
References quit_.
Referenced by yaze::Controller::OnLoad().
|
inline |
Definition at line 143 of file editor_manager.h.
References version_.
Referenced by yaze::editor::PopupManager::DrawAboutPopup(), and MaybeEmitZScreamRomLoadHints().
|
inline |
Definition at line 145 of file editor_manager.h.
References menu_builder_.
|
inline |
Definition at line 146 of file editor_manager.h.
References workspace_manager_.
Referenced by yaze::editor::UICoordinator::DrawWorkspacePresetDialogs().
|
inline |
Definition at line 147 of file editor_manager.h.
References right_drawer_manager_.
Referenced by yaze::editor::MenuOrchestrator::AddDrawersMenuItems(), yaze::editor::UICoordinator::DrawAllUI(), yaze::editor::UICoordinator::DrawMenuBarExtras(), yaze::editor::UICoordinator::DrawNotificationBell(), and yaze::editor::UICoordinator::InitializeCommandPalette().
|
inline |
Definition at line 150 of file editor_manager.h.
References right_drawer_manager_.
|
inline |
Definition at line 153 of file editor_manager.h.
References status_bar_.
|
inline |
Definition at line 154 of file editor_manager.h.
References toast_manager_.
Referenced by yaze::editor::PopupManager::DrawRomBackupManagerPopup(), yaze::editor::PopupManager::DrawRomWriteConfirmPopup(), yaze::editor::PopupManager::DrawWriteConflictWarningPopup(), and InitializeSubsystems().
|
inline |
Definition at line 155 of file editor_manager.h.
References feature_hint_manager_.
Referenced by yaze::editor::MenuOrchestrator::AddFileMenuItems(), and yaze::editor::UICoordinator::UICoordinator().
|
inline |
Definition at line 156 of file editor_manager.h.
References popup_manager_.
Referenced by InitializeSubsystems().
|
inline |
Definition at line 158 of file editor_manager.h.
References shortcut_manager_.
|
inline |
Definition at line 159 of file editor_manager.h.
References window_manager_.
|
inline |
Definition at line 160 of file editor_manager.h.
References window_manager_.
Referenced by yaze::editor::PopupManager::DrawLayoutPresetsPopup().
|
inline |
Definition at line 161 of file editor_manager.h.
References window_manager_.
|
inline |
Definition at line 164 of file editor_manager.h.
References session_coordinator_.
|
inline |
Definition at line 167 of file editor_manager.h.
References session_coordinator_.
|
inline |
Definition at line 170 of file editor_manager.h.
References window_host_.
|
inline |
Definition at line 173 of file editor_manager.h.
References window_host_.
|
inline |
Definition at line 177 of file editor_manager.h.
References window_host_.
|
inline |
Definition at line 178 of file editor_manager.h.
References window_host_.
|
inline |
Definition at line 182 of file editor_manager.h.
References yaze::editor::LayoutCoordinator::GetLeftLayoutOffset(), and layout_coordinator_.
Referenced by yaze::editor::UICoordinator::DrawWelcomeScreen(), and yaze::Controller::OnLoad().

|
inline |
Definition at line 185 of file editor_manager.h.
References yaze::editor::LayoutCoordinator::GetRightLayoutOffset(), and layout_coordinator_.
Referenced by yaze::editor::UICoordinator::DrawWelcomeScreen(), and yaze::Controller::OnLoad().

|
inline |
Definition at line 188 of file editor_manager.h.
References yaze::editor::LayoutCoordinator::GetBottomLayoutOffset(), and layout_coordinator_.
Referenced by yaze::Controller::OnLoad().

| absl::Status yaze::editor::EditorManager::SetCurrentRom | ( | Rom * | rom | ) |
Definition at line 4095 of file editor_manager.cc.
References yaze::test::TestManager::Get(), GetCurrentRom(), RefreshResourceLabelProvider(), RestoreCurrentRomIdentity(), session_coordinator_, and yaze::test::TestManager::SetCurrentRom().
|
inlineoverridevirtual |
Implements yaze::editor::IEditorSwitcher.
Definition at line 193 of file editor_manager.h.
References session_coordinator_.
Referenced by ApplyCurrentProjectRuntimeContext(), CheckRomWritePolicy(), yaze::editor::UICoordinator::DrawGlobalSearch(), DrawInterface(), yaze::editor::UICoordinator::DrawMenuBarExtras(), yaze::editor::UICoordinator::DrawNotificationBell(), yaze::editor::PopupManager::DrawRomBackupManagerPopup(), yaze::editor::PopupManager::DrawRomInfoPopup(), yaze::editor::PopupManager::DrawRomWriteConfirmPopup(), yaze::editor::PopupManager::DrawSaveAsPopup(), yaze::editor::UICoordinator::DrawSessionButton(), yaze::editor::PopupManager::DrawSessionManagerPopup(), yaze::editor::UICoordinator::DrawWelcomeScreen(), yaze::Controller::GetCurrentRom(), GetRomBackups(), HandleSessionClosed(), HandleUIActionRequest(), LoadAssets(), LoadAssetsLazy(), LoadProjectWithRom(), LoadRomInternal(), MaybeEmitZScreamRomLoadHints(), yaze::Controller::OnLoad(), OpenRomOrProjectInternal(), PendingRomSaveMatchesActiveSession(), PruneRomBackups(), RefreshResourceLabelProvider(), ResolveProjectBuildCommand(), RestoreRomBackup(), RunEmulator(), SaveProject(), SaveRomInternal(), SetCurrentRom(), yaze::editor::UICoordinator::ShouldShowActivityBar(), ShowProjectManagement(), StartPendingRomSave(), UpdateEditorState(), and UpdateSystemUIs().
|
inline |
Definition at line 197 of file editor_manager.h.
References session_coordinator_.
|
inline |
Definition at line 201 of file editor_manager.h.
References session_coordinator_.
Referenced by ConfigureEditorDependencies(), DrawInterface(), DrawSecondaryWindows(), InitializeSubsystems(), LoadAssets(), LoadAssetsLazy(), LoadProjectWithRom(), LoadRomInternal(), OpenEditorAndPanelsFromFlags(), OpenRomOrProjectInternal(), overworld(), ResolveEditorForCategory(), ResolveProjectBuildCommand(), SaveProject(), SaveRomInternal(), SetupSidebarCallbacks(), SwitchToEditor(), and UpdateEditorState().
|
inlineoverridevirtual |
Implements yaze::editor::ISessionConfigurator.
Definition at line 205 of file editor_manager.h.
References current_editor_.
Referenced by yaze::editor::PopupManager::DrawLayoutPresetsPopup(), HandleUIActionRequest(), and yaze::Controller::OnLoad().
| EditorContextSnapshot yaze::editor::EditorManager::GetEditorContextSnapshot | ( | const std::string & | category | ) |
Definition at line 2380 of file editor_manager.cc.
References yaze::editor::EditorExperimentContext::acknowledged, yaze::editor::Editor::BuildContextSnapshot(), yaze::editor::EditorContextSnapshot::category, yaze::editor::EditorContextSnapshot::diagnostics, yaze::editor::EditorExperimentPolicy::disabled_save_posture, yaze::editor::EditorContextSnapshot::experiment, yaze::editor::EditorExperimentContext::experimental, yaze::editor::EditorExperimentPolicy::experimental, yaze::editor::EditorRegistry::GetExperimentPolicy(), yaze::editor::kDefensiveBackup, yaze::editor::kNormal, yaze::editor::kReadOnly, yaze::editor::kWarning, yaze::editor::UserSettings::prefs(), ResolveEditorForCategory(), yaze::editor::EditorExperimentContext::save_posture, yaze::editor::EditorContextSnapshot::semantic_owner, yaze::editor::EditorRegistry::ShouldWarnAboutExperimentalEditor(), yaze::editor::UserSettings::Preferences::show_experimental_editors, yaze::editor::Editor::type(), and user_settings_.
Referenced by InitializeSubsystems().
|
inline |
Definition at line 207 of file editor_manager.h.
References yaze::editor::RomLifecycleManager::current_rom_hash(), and rom_lifecycle_.
Referenced by ConfigureEditorDependencies(), yaze::editor::PopupManager::DrawRomInfoPopup(), and yaze::editor::PopupManager::DrawRomWriteConfirmPopup().

|
inline |
Definition at line 210 of file editor_manager.h.
References current_project_, yaze::project::RomMetadata::role, and yaze::project::YazeProject::rom_metadata.
Referenced by yaze::editor::PopupManager::DrawRomWriteConfirmPopup().
|
inline |
Definition at line 213 of file editor_manager.h.
References current_project_, yaze::project::YazeProject::rom_metadata, and yaze::project::RomMetadata::write_policy.
Referenced by yaze::editor::PopupManager::DrawRomWriteConfirmPopup().
|
inline |
Definition at line 216 of file editor_manager.h.
References current_project_, yaze::project::RomMetadata::expected_hash, and yaze::project::YazeProject::rom_metadata.
Referenced by yaze::editor::PopupManager::DrawRomWriteConfirmPopup().
|
inline |
Definition at line 219 of file editor_manager.h.
References yaze::editor::RomLifecycleManager::IsRomHashMismatch(), and rom_lifecycle_.
Referenced by yaze::editor::PopupManager::DrawRomInfoPopup(), and LoadProjectWithRom().

| std::vector< RomFileManager::BackupEntry > yaze::editor::EditorManager::GetRomBackups | ( | ) | const |
Definition at line 4144 of file editor_manager.cc.
References GetCurrentRom(), yaze::editor::RomLifecycleManager::GetRomBackups(), and rom_lifecycle_.
Referenced by yaze::editor::PopupManager::DrawRomBackupManagerPopup().

| bool yaze::editor::EditorManager::IsRomBackupRestorePending | ( | ) | const |
Definition at line 4148 of file editor_manager.cc.
References session_coordinator_.
Referenced by yaze::editor::PopupManager::DrawRomBackupManagerPopup().
| absl::Status yaze::editor::EditorManager::RestoreRomBackup | ( | const std::string & | backup_path | ) |
Definition at line 4156 of file editor_manager.cc.
References yaze::editor::RomLifecycleManager::CheckRomOpenPolicy(), yaze::Rom::filename(), GetCurrentRom(), GetCurrentSessionIndex(), yaze::editor::RomFileManager::ListBackups(), yaze::editor::RomFileManager::LoadRom(), ReplaceActiveSessionRom(), yaze::Rom::resource_label(), RETURN_IF_ERROR, rom_file_manager_, rom_lifecycle_, session_coordinator_, SessionHasPendingRomWork(), yaze::Rom::set_dirty(), and yaze::Rom::set_filename().
Referenced by yaze::editor::PopupManager::DrawRomBackupManagerPopup().
| absl::Status yaze::editor::EditorManager::DiscardPendingRomBackupRestore | ( | ) |
Definition at line 4209 of file editor_manager.cc.
References yaze::gfx::PaletteManager::Get(), GetCurrentSessionIndex(), HasPendingDungeonChangesForSession(), yaze::editor::RomFileManager::LoadRom(), ReplaceActiveSessionRom(), yaze::Rom::resource_label(), RETURN_IF_ERROR, rom_file_manager_, and session_coordinator_.
Referenced by yaze::editor::PopupManager::DrawRomBackupManagerPopup().
| absl::Status yaze::editor::EditorManager::PruneRomBackups | ( | ) |
Definition at line 4253 of file editor_manager.cc.
References GetCurrentRom(), yaze::editor::RomLifecycleManager::PruneRomBackups(), and rom_lifecycle_.
Referenced by yaze::editor::PopupManager::DrawRomBackupManagerPopup().

| void yaze::editor::EditorManager::ConfirmRomWrite | ( | ) |
Definition at line 4257 of file editor_manager.cc.
References yaze::editor::RomLifecycleManager::ConfirmRomWrite(), yaze::editor::RomLifecycleManager::IsRomWriteConfirmPending(), PendingRomSaveMatchesActiveSession(), and rom_lifecycle_.
Referenced by yaze::editor::PopupManager::DrawRomWriteConfirmPopup().

| void yaze::editor::EditorManager::CancelRomWriteConfirm | ( | ) |
Definition at line 4265 of file editor_manager.cc.
References CancelPendingRomSave().
Referenced by yaze::editor::PopupManager::DrawRomWriteConfirmPopup().

|
inline |
Definition at line 227 of file editor_manager.h.
References yaze::editor::RomLifecycleManager::IsRomWriteConfirmPending(), and rom_lifecycle_.

|
inline |
Definition at line 232 of file editor_manager.h.
References yaze::editor::RomLifecycleManager::pending_write_conflicts(), and rom_lifecycle_.
Referenced by yaze::editor::PopupManager::DrawWriteConflictWarningPopup().

|
inline |
Definition at line 235 of file editor_manager.h.
References yaze::editor::RomLifecycleManager::BypassWriteConflictOnce(), and rom_lifecycle_.
Referenced by yaze::editor::PopupManager::DrawWriteConflictWarningPopup().

| void yaze::editor::EditorManager::ClearPendingWriteConflicts | ( | ) |
Definition at line 4269 of file editor_manager.cc.
References CancelPendingRomSave().
Referenced by yaze::editor::PopupManager::DrawWriteConflictWarningPopup().

|
inlineoverridevirtual |
Implements yaze::editor::ISessionConfigurator.
Definition at line 237 of file editor_manager.h.
References current_editor_, right_drawer_manager_, yaze::editor::ContentRegistry::Context::SetCurrentEditor(), and yaze::editor::Editor::type().
Referenced by HandleSessionSwitched(), and SyncEditorContextForCategory().

|
inline |
Stable workspace identity; unlike the UI index, it does not compact.
Definition at line 247 of file editor_manager.h.
References session_coordinator_.
Referenced by ApplyLayoutPreset(), ApplyLayoutProfile(), CaptureTemporaryLayoutSnapshot(), CloseCurrentSession(), CloseRom(), CollectEditorsToPreload(), ConfigureEditorDependencies(), ConfirmPendingUnsavedSessionActionSaveAndContinue(), DrawInterface(), yaze::editor::PopupManager::DrawSaveAsPopup(), InitializeSubsystems(), ListLayoutSnapshots(), LoadProjectWithRom(), LoadRom(), LoadRomInternal(), OpenEditorAndPanelsFromFlags(), OpenProject(), OpenRomOrProject(), OpenRomOrProjectInternal(), ProcessStartupActions(), ResetCurrentEditorLayout(), RestoreLayoutSnapshot(), RestoreTemporaryLayoutSnapshot(), RevertRomToSaved(), SaveLayoutSnapshotAs(), SaveRomInternal(), and SwitchToSession().
|
inline |
Definition at line 251 of file editor_manager.h.
References ui_coordinator_.
Referenced by yaze::Controller::OnLoad().
| yaze::zelda3::Overworld * yaze::editor::EditorManager::overworld | ( | ) | const |
Definition at line 4088 of file editor_manager.cc.
References GetCurrentEditorSet().
Referenced by yaze::Controller::overworld().

| size_t yaze::editor::EditorManager::GetCurrentSessionIndex | ( | ) | const |
Definition at line 5026 of file editor_manager.cc.
References session_coordinator_.
Referenced by AutosaveActiveSession(), DiscardPendingRomBackupRestore(), DrawInterface(), yaze::editor::PopupManager::DrawSessionManagerPopup(), GetCurrentFeatureFlags(), PendingRomSaveMatchesActiveSession(), ReloadProjectRom(), ReplaceActiveSessionRom(), ResolveProjectBuildCommand(), RestoreRomBackup(), RevertRomToSavedInternal(), StartPendingRomSave(), SwapProjectRom(), SwitchToSession(), and UpdateEditorState().
|
inline |
Definition at line 258 of file editor_manager.h.
References yaze::editor::RomSession::feature_flags, yaze::core::FeatureFlags::get(), GetCurrentSessionIndex(), and session_coordinator_.

|
inline |
Definition at line 271 of file editor_manager.h.
References yaze::editor::UserSettings::Preferences::font_global_scale, LOG_WARN, yaze::editor::UserSettings::prefs(), yaze::editor::UserSettings::Save(), and user_settings_.
Referenced by yaze::editor::anonymous_namespace{shortcut_configurator.cc}::AdjustUiFontScaleBy(), and yaze::editor::PopupManager::DrawDisplaySettingsPopup().

|
inline |
Definition at line 281 of file editor_manager.h.
References user_settings_.
Referenced by yaze::editor::anonymous_namespace{shortcut_configurator.cc}::AdjustUiFontScaleBy(), yaze::editor::UICoordinator::InitializeCommandPalette(), and yaze::editor::UICoordinator::UICoordinator().
|
inline |
Definition at line 282 of file editor_manager.h.
References user_settings_.
|
inline |
Definition at line 285 of file editor_manager.h.
References yaze::editor::WorkspaceManager::RefreshPresets(), and workspace_manager_.
Referenced by yaze::editor::UICoordinator::DrawWorkspacePresetDialogs().

|
inline |
Definition at line 286 of file editor_manager.h.
References yaze::editor::WorkspaceManager::SaveWorkspacePreset(), and workspace_manager_.
Referenced by yaze::editor::UICoordinator::DrawWorkspacePresetDialogs().

|
inline |
Definition at line 289 of file editor_manager.h.
References yaze::editor::WorkspaceManager::LoadWorkspacePreset(), and workspace_manager_.
Referenced by yaze::editor::UICoordinator::DrawWorkspacePresetDialogs().

|
overridevirtual |
Implements yaze::editor::IEditorSwitcher.
Definition at line 5065 of file editor_manager.cc.
References current_editor_, editor_activator_, EnsureEditorAssetsLoaded(), feature_hint_manager_, GetCurrentEditorSet(), yaze::editor::kAgent, yaze::editor::kDungeon, yaze::editor::kEditorNames, yaze::editor::kError, yaze::editor::kGraphics, yaze::editor::kOverworld, yaze::editor::kScreen, yaze::editor::kWarning, yaze::editor::FeatureHintId::kZScreamDungeon, yaze::editor::FeatureHintId::kZScreamOverworld, yaze::editor::FeatureHintId::kZScreamScreenMap, yaze::editor::FeatureHintId::kZScreamTile16, yaze::editor::FeatureHintManager::MaybeShow(), yaze::editor::UserSettings::prefs(), session_coordinator_, yaze::editor::EditorRegistry::ShouldWarnAboutExperimentalEditor(), yaze::editor::ToastManager::Show(), yaze::editor::UserSettings::Preferences::show_experimental_editors, yaze::editor::EditorActivator::SwitchToEditor(), toast_manager_, yaze::editor::Editor::type(), and user_settings_.
Referenced by ConfigureEditorDependencies(), yaze::editor::UICoordinator::DrawShortcutsBrowser(), HandleUIActionRequest(), yaze::editor::UICoordinator::InitializeCommandPalette(), OpenEditorAndPanelsFromFlags(), SetupSidebarCallbacks(), ShowPostLoadSurface(), and yaze::editor::UICoordinator::UICoordinator().
|
overridevirtual |
Implements yaze::editor::IEditorSwitcher.
Definition at line 5132 of file editor_manager.cc.
References yaze::editor::kEditor, and ui_coordinator_.
| bool yaze::editor::EditorManager::HasOpenEditor | ( | ) | const |
Definition at line 1825 of file editor_manager.cc.
References current_editor_, yaze::editor::WorkspaceWindowManager::GetActiveCategory(), yaze::editor::WorkspaceWindowManager::kDashboardCategory, and window_manager_.
Referenced by yaze::editor::UICoordinator::ShouldShowDashboard(), and ShowPostLoadSurface().

| bool yaze::editor::EditorManager::WantsContinuousFrames | ( | ) | const |
Definition at line 1820 of file editor_manager.cc.
References emulator_, yaze::gfx::Arena::Get(), yaze::gfx::Arena::HasPendingTextures(), pending_editor_deferred_actions_, and yaze::emu::Emulator::running().
Referenced by yaze::Controller::OnInput().

|
static |
Definition at line 327 of file editor_manager.cc.
References yaze::editor::EditorRegistry::IsPanelBasedEditor().
Referenced by DrawInterface(), and yaze::editor::SessionCoordinator::UpdateSessions().

|
inline |
Definition at line 308 of file editor_manager.h.
References ui_coordinator_.
|
inline |
Definition at line 311 of file editor_manager.h.
References ui_coordinator_.
| absl::Status yaze::editor::EditorManager::EnsureEditorAssetsLoaded | ( | EditorType | type | ) |
Definition at line 2480 of file editor_manager.cc.
References EditorInitRequiresGameData(), EditorRequiresGameData(), yaze::editor::EditorTypeIndex(), EnsureGameDataLoaded(), GetEditorByType(), InitializeEditorForType(), yaze::editor::kUnknown, MarkEditorInitialized(), MarkEditorLoaded(), RestoreEditorLayoutAfterAssets(), RETURN_IF_ERROR, session_coordinator_, and yaze::editor::EditorRegistry::UpdateAllowedWithoutLoadedRom().
Referenced by ConfigureEditorDependencies(), InitializeSubsystems(), OpenEditorAndPanelsFromFlags(), SaveRomInternal(), and SwitchToEditor().
| absl::Status yaze::editor::EditorManager::EnsureGameDataLoaded | ( | ) |
Definition at line 2452 of file editor_manager.cc.
References yaze::gfx::PaletteManager::Get(), yaze::gfx::PaletteManager::Initialize(), yaze::zelda3::LoadGameData(), RETURN_IF_ERROR, session_coordinator_, and yaze::editor::ContentRegistry::Context::SetGameData().
Referenced by EnsureEditorAssetsLoaded(), and ReplaceActiveSessionRom().

| void yaze::editor::EditorManager::CreateNewSession | ( | ) |
Definition at line 4273 of file editor_manager.cc.
References session_coordinator_.
Referenced by yaze::editor::PopupManager::DrawSessionManagerPopup().
| void yaze::editor::EditorManager::DuplicateCurrentSession | ( | ) |
Definition at line 4280 of file editor_manager.cc.
References session_coordinator_.
| void yaze::editor::EditorManager::CloseCurrentSession | ( | ) |
Definition at line 4286 of file editor_manager.cc.
References GetCurrentSessionId(), yaze::editor::EditorManager::PendingUnsavedSessionAction::kCloseSession, MaybeGuardPendingSessionAction(), RestoreCurrentRomIdentity(), and session_coordinator_.

| void yaze::editor::EditorManager::RemoveSession | ( | size_t | index | ) |
Definition at line 4393 of file editor_manager.cc.
References yaze::editor::EditorManager::PendingUnsavedSessionAction::kCloseSession, MaybeGuardPendingSessionAction(), RestoreCurrentRomIdentity(), and session_coordinator_.
Referenced by yaze::editor::PopupManager::DrawSessionManagerPopup(), and RequestCloseSession().

| void yaze::editor::EditorManager::CloseRom | ( | ) |
Definition at line 4309 of file editor_manager.cc.
References CanCloseRom(), ExecutePendingUnsavedSessionAction(), GetCurrentSessionId(), yaze::editor::EditorManager::PendingUnsavedSessionAction::kCloseRom, and MaybeGuardPendingSessionAction().

| bool yaze::editor::EditorManager::CanCloseRom | ( | ) | const |
Definition at line 4323 of file editor_manager.cc.
References session_coordinator_.
Referenced by yaze::editor::MenuOrchestrator::AddFileMenuItems(), and CloseRom().
| absl::Status yaze::editor::EditorManager::RevertRomToSaved | ( | ) |
Definition at line 4337 of file editor_manager.cc.
References CanRevertRom(), GetCurrentSessionId(), yaze::editor::EditorManager::PendingUnsavedSessionAction::kRevertRom, yaze::editor::kSuccess, MaybeGuardPendingSessionAction(), RETURN_IF_ERROR, RevertRomToSavedInternal(), yaze::editor::ToastManager::Show(), and toast_manager_.
| bool yaze::editor::EditorManager::CanRevertRom | ( | ) | const |
Definition at line 4328 of file editor_manager.cc.
References session_coordinator_.
Referenced by yaze::editor::MenuOrchestrator::AddFileMenuItems(), RevertRomToSaved(), and RevertRomToSavedInternal().
| void yaze::editor::EditorManager::SwitchToSession | ( | size_t | index | ) |
Definition at line 413 of file editor_manager_sessions.cc.
References GetCurrentSessionId(), GetCurrentSessionIndex(), yaze::editor::EditorManager::PendingUnsavedSessionAction::kSwitchSession, MaybeGuardPendingSessionAction(), and session_coordinator_.
Referenced by yaze::editor::UICoordinator::DrawGlobalSearch(), yaze::editor::UICoordinator::DrawSessionButton(), yaze::editor::PopupManager::DrawSessionManagerPopup(), and RequestSwitchToSession().

|
inlineoverridevirtual |
Implements yaze::editor::ISessionConfigurator.
Definition at line 340 of file editor_manager.h.
References SwitchToSession().

|
inlineoverridevirtual |
Implements yaze::editor::ISessionConfigurator.
Definition at line 341 of file editor_manager.h.
References RemoveSession().

| size_t yaze::editor::EditorManager::GetActiveSessionCount | ( | ) | const |
Definition at line 5052 of file editor_manager.cc.
References session_coordinator_.
Referenced by yaze::editor::PopupManager::DrawSessionManagerPopup().
|
inline |
Definition at line 346 of file editor_manager.h.
References yaze::editor::WorkspaceManager::SaveWorkspaceLayout(), and workspace_manager_.

|
inline |
Definition at line 347 of file editor_manager.h.
References yaze::editor::WorkspaceManager::LoadWorkspaceLayout(), and workspace_manager_.

| void yaze::editor::EditorManager::ResetWorkspaceLayout | ( | ) |
Definition at line 331 of file editor_manager.cc.
References layout_coordinator_, and yaze::editor::LayoutCoordinator::ResetWorkspaceLayout().
Referenced by HandleUIActionRequest(), and Initialize().

|
inline |
Definition at line 349 of file editor_manager.h.
References ui_coordinator_.
|
inline |
Definition at line 353 of file editor_manager.h.
References ui_coordinator_.
|
inline |
Definition at line 359 of file editor_manager.h.
References yaze::editor::WindowDelegate::LoadDeveloperLayout(), and window_delegate_.

|
inline |
Definition at line 360 of file editor_manager.h.
References yaze::editor::WindowDelegate::LoadDesignerLayout(), and window_delegate_.

|
inline |
Definition at line 361 of file editor_manager.h.
References yaze::editor::WindowDelegate::LoadModderLayout(), and window_delegate_.

| void yaze::editor::EditorManager::ApplyLayoutPreset | ( | const std::string & | preset_name | ) |
Definition at line 335 of file editor_manager.cc.
References yaze::editor::LayoutCoordinator::ApplyLayoutPreset(), GetCurrentSessionId(), and layout_coordinator_.
Referenced by yaze::editor::UICoordinator::InitializeCommandPalette(), and InitializeSubsystems().

| bool yaze::editor::EditorManager::ApplyLayoutProfile | ( | const std::string & | profile_id | ) |
Definition at line 339 of file editor_manager.cc.
References current_editor_, GetCurrentSessionId(), yaze::editor::RightDrawerManager::GetDefaultDrawerWidth(), yaze::editor::RightDrawerManager::kAgentChat, yaze::editor::kSuccess, yaze::editor::kUnknown, yaze::editor::LayoutProfile::label, layout_manager_, yaze::editor::LayoutProfile::open_agent_chat, right_drawer_manager_, yaze::editor::ToastManager::Show(), toast_manager_, and yaze::editor::Editor::type().
Referenced by yaze::editor::UICoordinator::InitializeCommandPalette().

| void yaze::editor::EditorManager::CaptureTemporaryLayoutSnapshot | ( | ) |
Definition at line 370 of file editor_manager.cc.
References GetCurrentSessionId(), yaze::editor::kInfo, layout_manager_, yaze::editor::ToastManager::Show(), and toast_manager_.
Referenced by yaze::editor::UICoordinator::InitializeCommandPalette().

| void yaze::editor::EditorManager::RestoreTemporaryLayoutSnapshot | ( | bool | clear_after_restore = false | ) |
Definition at line 378 of file editor_manager.cc.
References GetCurrentSessionId(), yaze::editor::kSuccess, yaze::editor::kWarning, layout_manager_, yaze::editor::ToastManager::Show(), and toast_manager_.
Referenced by yaze::editor::UICoordinator::InitializeCommandPalette().

| void yaze::editor::EditorManager::ClearTemporaryLayoutSnapshot | ( | ) |
Definition at line 393 of file editor_manager.cc.
References yaze::editor::kInfo, layout_manager_, yaze::editor::ToastManager::Show(), and toast_manager_.
Referenced by yaze::editor::UICoordinator::InitializeCommandPalette().

| bool yaze::editor::EditorManager::SaveLayoutSnapshotAs | ( | const std::string & | name | ) |
Definition at line 401 of file editor_manager.cc.
References GetCurrentSessionId(), yaze::editor::kError, yaze::editor::kSuccess, yaze::editor::kWarning, layout_manager_, yaze::editor::ToastManager::Show(), and toast_manager_.
Referenced by yaze::editor::MenuOrchestrator::BuildMainMenu().

| bool yaze::editor::EditorManager::RestoreLayoutSnapshot | ( | const std::string & | name, |
| bool | remove_after_restore = false ) |
Definition at line 420 of file editor_manager.cc.
References GetCurrentSessionId(), yaze::editor::kSuccess, yaze::editor::kWarning, layout_manager_, yaze::editor::ToastManager::Show(), and toast_manager_.

| bool yaze::editor::EditorManager::DeleteLayoutSnapshot | ( | const std::string & | name | ) |
Definition at line 436 of file editor_manager.cc.
References yaze::editor::kInfo, layout_manager_, yaze::editor::ToastManager::Show(), and toast_manager_.

| std::vector< std::string > yaze::editor::EditorManager::ListLayoutSnapshots | ( | ) | const |
Definition at line 447 of file editor_manager.cc.
References GetCurrentSessionId(), and layout_manager_.

| void yaze::editor::EditorManager::ResetCurrentEditorLayout | ( | ) |
Definition at line 477 of file editor_manager.cc.
References current_editor_, yaze::TimingManager::Get(), GetCurrentSessionId(), yaze::TimingManager::GetElapsedTime(), yaze::editor::kWarning, yaze::editor::UserSettings::Preferences::last_applied_layout_name, layout_coordinator_, yaze::editor::UserSettings::prefs(), yaze::editor::LayoutCoordinator::ResetCurrentEditorLayout(), settings_dirty_, settings_dirty_timestamp_, yaze::editor::ToastManager::Show(), toast_manager_, yaze::editor::Editor::type(), and user_settings_.
| bool yaze::editor::EditorManager::HasPreviousEditorLayout | ( | ) | const |
Definition at line 466 of file editor_manager.cc.
References current_editor_, yaze::editor::LayoutCoordinator::HasPreviousEditorLayout(), layout_coordinator_, and yaze::editor::Editor::type().

| void yaze::editor::EditorManager::RestorePreviousEditorLayout | ( | ) |
Definition at line 471 of file editor_manager.cc.
References current_editor_, layout_coordinator_, yaze::editor::LayoutCoordinator::RestorePreviousEditorLayout(), and yaze::editor::Editor::type().

| std::string yaze::editor::EditorManager::GenerateUniqueEditorTitle | ( | EditorType | type, |
| size_t | session_index ) const |
Definition at line 5057 of file editor_manager.cc.
References yaze::editor::kEditorNames, and session_coordinator_.
| bool yaze::editor::EditorManager::HasDuplicateSession | ( | const std::string & | filepath | ) |
Definition at line 5140 of file editor_manager.cc.
References session_coordinator_.
| void yaze::editor::EditorManager::RenameSession | ( | size_t | index, |
| const std::string & | new_name ) |
| void yaze::editor::EditorManager::Quit | ( | ) |
Definition at line 4410 of file editor_manager.cc.
References yaze::editor::EditorManager::PendingUnsavedSessionAction::kQuit, MaybeGuardPendingSessionAction(), and quit_.
Referenced by yaze::Controller::OnInput().

| bool yaze::editor::EditorManager::HasPendingUnsavedSessionAction | ( | ) | const |
Definition at line 4419 of file editor_manager.cc.
References pending_unsaved_session_action_.
Referenced by yaze::editor::PopupManager::DrawUnsavedSessionChangesPopup().
| std::string yaze::editor::EditorManager::GetPendingUnsavedSessionActionPrompt | ( | ) | const |
Definition at line 4438 of file editor_manager.cc.
References DescribeAllPendingUnsavedWork(), DescribePendingUnsavedWork(), yaze::editor::EditorManager::PendingUnsavedSessionAction::kCloseRom, yaze::editor::EditorManager::PendingUnsavedSessionAction::kCloseSession, yaze::editor::EditorManager::PendingUnsavedSessionAction::kOpenProjectDialog, yaze::editor::EditorManager::PendingUnsavedSessionAction::kOpenRomDialog, yaze::editor::EditorManager::PendingUnsavedSessionAction::kOpenRomOrProjectPath, yaze::editor::EditorManager::PendingUnsavedSessionAction::kQuit, yaze::editor::EditorManager::PendingUnsavedSessionAction::kRevertRom, yaze::editor::EditorManager::PendingUnsavedSessionAction::kSwitchSession, pending_unsaved_session_action_, ResolveSessionIndexById(), and session_coordinator_.
Referenced by yaze::editor::PopupManager::DrawUnsavedSessionChangesPopup().

| std::string yaze::editor::EditorManager::GetPendingUnsavedSessionActionSaveLabel | ( | ) | const |
Definition at line 4495 of file editor_manager.cc.
References yaze::editor::EditorManager::PendingUnsavedSessionAction::kCloseRom, yaze::editor::EditorManager::PendingUnsavedSessionAction::kCloseSession, yaze::editor::EditorManager::PendingUnsavedSessionAction::kOpenProjectDialog, yaze::editor::EditorManager::PendingUnsavedSessionAction::kOpenRomDialog, yaze::editor::EditorManager::PendingUnsavedSessionAction::kOpenRomOrProjectPath, yaze::editor::EditorManager::PendingUnsavedSessionAction::kQuit, yaze::editor::EditorManager::PendingUnsavedSessionAction::kRevertRom, yaze::editor::EditorManager::PendingUnsavedSessionAction::kSwitchSession, ModifiedSessionCount(), and pending_unsaved_session_action_.
Referenced by yaze::editor::PopupManager::DrawUnsavedSessionChangesPopup().

| std::string yaze::editor::EditorManager::GetPendingUnsavedSessionActionContinueLabel | ( | ) | const |
Definition at line 4524 of file editor_manager.cc.
References yaze::editor::EditorManager::PendingUnsavedSessionAction::kCloseRom, yaze::editor::EditorManager::PendingUnsavedSessionAction::kCloseSession, yaze::editor::EditorManager::PendingUnsavedSessionAction::kOpenProjectDialog, yaze::editor::EditorManager::PendingUnsavedSessionAction::kOpenRomDialog, yaze::editor::EditorManager::PendingUnsavedSessionAction::kOpenRomOrProjectPath, yaze::editor::EditorManager::PendingUnsavedSessionAction::kQuit, yaze::editor::EditorManager::PendingUnsavedSessionAction::kRevertRom, yaze::editor::EditorManager::PendingUnsavedSessionAction::kSwitchSession, and pending_unsaved_session_action_.
Referenced by yaze::editor::PopupManager::DrawUnsavedSessionChangesPopup().
| void yaze::editor::EditorManager::ConfirmPendingUnsavedSessionActionSaveAndContinue | ( | ) |
Definition at line 4549 of file editor_manager.cc.
References DescribePendingUnsavedWork(), ExecutePendingUnsavedSessionAction(), GetCurrentSessionId(), HasPendingRomSaveConfirmation(), yaze::editor::EditorManager::PendingUnsavedSessionAction::kCloseSession, yaze::editor::kError, yaze::editor::kInfo, yaze::editor::EditorManager::PendingUnsavedSessionAction::kQuit, yaze::editor::PopupID::kUnsavedSessionChanges, pending_unsaved_session_action_, PendingRomSaveMatchesActiveSession(), popup_manager_, ResolveSessionIndexById(), RETURN_IF_ERROR, SaveActiveProjectEditingWork(), SaveRom(), session_coordinator_, SessionHasPendingRomWork(), SessionHasPendingUnsavedWork(), yaze::editor::ToastManager::Show(), and toast_manager_.
Referenced by yaze::editor::PopupManager::DrawUnsavedSessionChangesPopup().
| void yaze::editor::EditorManager::ConfirmPendingUnsavedSessionActionDiscardAndContinue | ( | ) |
Definition at line 4647 of file editor_manager.cc.
References ExecutePendingUnsavedSessionAction(), yaze::editor::PopupID::kUnsavedSessionChanges, pending_unsaved_session_action_, and popup_manager_.
Referenced by yaze::editor::PopupManager::DrawUnsavedSessionChangesPopup().

| void yaze::editor::EditorManager::CancelPendingUnsavedSessionAction | ( | ) |
Definition at line 4660 of file editor_manager.cc.
References yaze::editor::PopupID::kUnsavedSessionChanges, pending_unsaved_session_action_, and popup_manager_.
Referenced by yaze::editor::PopupManager::DrawUnsavedSessionChangesPopup().
|
inline |
Definition at line 398 of file editor_manager.h.
References deferred_actions_, and pending_editor_deferred_actions_.
Referenced by InitializeSubsystems().
| EditorManager::UiSyncState yaze::editor::EditorManager::GetUiSyncStateSnapshot | ( | ) | const |
Definition at line 5031 of file editor_manager.cc.
References yaze::editor::EditorManager::UiSyncState::frame_id, layout_coordinator_, layout_manager_, yaze::editor::EditorManager::UiSyncState::layout_rebuild_pending, yaze::editor::EditorManager::UiSyncState::pending_editor_actions, pending_editor_deferred_actions_, yaze::editor::EditorManager::UiSyncState::pending_layout_actions, yaze::editor::LayoutCoordinator::PendingDeferredActionCount(), and ui_sync_frame_id_.
Referenced by yaze::Controller::DoRender().

|
overridevirtual |
Implements yaze::editor::ISessionConfigurator.
Definition at line 435 of file editor_manager_sessions.cc.
References ConfigureEditorDependencies(), yaze::editor::RomSession::editors, yaze::editor::RomSession::rom, yaze::editor::EditorSet::session_id(), yaze::editor::EditorSet::set_user_settings(), and user_settings_.
Referenced by BindProjectContextToSession(), ReplaceActiveSessionRom(), and RestoreProjectContextForSession().

|
inline |
Definition at line 417 of file editor_manager.h.
References ui_coordinator_.
|
inline |
Definition at line 421 of file editor_manager.h.
References ui_coordinator_.
|
inline |
Definition at line 436 of file editor_manager.h.
|
inline |
Definition at line 437 of file editor_manager.h.
| absl::Status yaze::editor::EditorManager::LoadRom | ( | ) |
Load a ROM file into a new or existing session.
DELEGATION:
FLOW:
Definition at line 2583 of file editor_manager.cc.
References GetCurrentSessionId(), yaze::editor::EditorManager::PendingUnsavedSessionAction::kOpenRomDialog, LoadRomInternal(), and MaybeGuardPendingSessionAction().
Referenced by HandleUIActionRequest(), and yaze::editor::UICoordinator::UICoordinator().

| absl::Status yaze::editor::EditorManager::SaveRom | ( | ) |
Definition at line 2897 of file editor_manager.cc.
References FinishPendingRomSaveAttempt(), yaze::editor::RomLifecycleManager::HasPendingPotItemSaveConfirmation(), yaze::editor::RomLifecycleManager::IsRomWriteConfirmPending(), pending_rom_save_, yaze::editor::RomLifecycleManager::pending_write_conflicts(), ResumePendingRomSave(), RETURN_IF_ERROR, rom_lifecycle_, SaveRomInternal(), yaze::editor::RomLifecycleManager::ShouldBypassWriteConflict(), and StartPendingRomSave().
Referenced by AutosaveActiveSession(), ConfirmPendingUnsavedSessionActionSaveAndContinue(), DrawInterface(), and HandleUIActionRequest().
| absl::Status yaze::editor::EditorManager::SaveRomAs | ( | const std::string & | filename | ) |
Definition at line 2920 of file editor_manager.cc.
References FinishPendingRomSaveAttempt(), HasPendingRomSaveConfirmation(), pending_rom_save_, RETURN_IF_ERROR, SaveRomInternal(), and StartPendingRomSave().
Referenced by yaze::editor::PopupManager::DrawSaveAsPopup().

| absl::Status yaze::editor::EditorManager::ResumePendingRomSave | ( | ) |
Definition at line 2933 of file editor_manager.cc.
References CancelPendingRomSave(), FinishPendingRomSaveAttempt(), pending_rom_save_, PendingRomSaveMatchesActiveSession(), yaze::editor::RomLifecycleManager::ResetPendingSaveState(), rom_lifecycle_, and SaveRomInternal().
Referenced by yaze::editor::PopupManager::DrawRomWriteConfirmPopup(), yaze::editor::PopupManager::DrawWriteConflictWarningPopup(), ResolvePotItemSaveConfirmation(), and SaveRom().
| absl::Status yaze::editor::EditorManager::OpenRomOrProject | ( | const std::string & | filename | ) |
Definition at line 2950 of file editor_manager.cc.
References GetCurrentSessionId(), yaze::editor::EditorManager::PendingUnsavedSessionAction::kOpenRomOrProjectPath, MaybeGuardPendingSessionAction(), and OpenRomOrProjectInternal().
Referenced by yaze::editor::UICoordinator::DrawGlobalSearch(), yaze::editor::PopupManager::DrawRomBackupManagerPopup(), Initialize(), yaze::editor::UICoordinator::InitializeCommandPalette(), yaze::Controller::LoadRomForTesting(), and yaze::editor::UICoordinator::UICoordinator().

| absl::Status yaze::editor::EditorManager::CreateNewProject | ( | const std::string & | template_name = "Basic ROM Hack" | ) |
Definition at line 3100 of file editor_manager.cc.
References HasAnySessionPendingUnsavedWork(), and ui_coordinator_.
Referenced by SaveProject().

| absl::Status yaze::editor::EditorManager::CreateNewProjectFromRom | ( | const std::string & | template_name, |
| const std::string & | rom_path, | ||
| const std::string & | project_name, | ||
| const std::string & | project_path = std::string() ) |
Definition at line 3115 of file editor_manager.cc.
References active_project_context_session_id_, yaze::editor::ProjectManager::CancelPendingProject(), yaze::editor::ProjectManager::CreateNewProject(), current_project_, DetachActiveProjectContext(), DiscardProvisionalSessionCreatedSince(), FinalizeNewProject(), yaze::editor::ProjectManager::GetCurrentProject(), HasAnySessionPendingUnsavedWork(), yaze::editor::ProjectManager::IsPendingRomSelection(), OpenRomOrProjectInternal(), yaze::editor::SessionCoordinator::PathsReferToSameBackingFile(), project_manager_, yaze::project::YazeProject::project_opened(), RestoreProjectContextAfterFailedOpen(), RETURN_IF_ERROR, session_coordinator_, yaze::editor::ProjectManager::SetProjectRom(), SyncLayoutScopeFromCurrentProject(), and yaze::editor::ProjectManager::ValidateProjectCreationTarget().
Referenced by yaze::editor::PopupManager::DrawNewProjectPopup(), and yaze::editor::UICoordinator::UICoordinator().
| absl::Status yaze::editor::EditorManager::FinalizeNewProject | ( | const std::string & | project_name, |
| const std::string & | project_path = std::string() ) |
Definition at line 3187 of file editor_manager.cc.
References active_project_context_session_id_, yaze::core::VersionManager::AdoptExistingRepository(), ApplyCurrentProjectRuntimeContext(), yaze::editor::UserSettings::Preferences::autosave_enabled, yaze::editor::UserSettings::Preferences::autosave_interval, yaze::editor::UserSettings::Preferences::backup_before_save, BindProjectContextToSession(), yaze::editor::ProjectManager::CancelPendingProject(), CaptureActiveProjectContext(), yaze::editor::ProjectManager::CreateNewProject(), current_project_, yaze::project::YazeProject::feature_flags, yaze::project::YazeProject::filepath, yaze::editor::ProjectManager::FinalizeProjectCreation(), yaze::editor::UserSettings::Preferences::font_global_scale, yaze::editor::ProjectManager::GetCurrentProject(), yaze::project::YazeProject::git_repository, yaze::editor::ProjectManager::IsPendingRomSelection(), yaze::editor::UserSettings::prefs(), project_manager_, RebaseCleanProjectFileDraft(), RestoreProjectContextForSession(), RETURN_IF_ERROR, runtime_feature_flags_session_id_, session_coordinator_, yaze::editor::ProjectManager::SetProjectRom(), user_settings_, and version_manager_.
Referenced by CreateNewProjectFromRom(), and SetupDialogCallbacks().
| absl::Status yaze::editor::EditorManager::OpenProject | ( | ) |
Definition at line 3254 of file editor_manager.cc.
References GetCurrentSessionId(), yaze::editor::EditorManager::PendingUnsavedSessionAction::kOpenProjectDialog, MaybeGuardPendingSessionAction(), and OpenProjectInternal().

| absl::Status yaze::editor::EditorManager::SaveProject | ( | ) |
Definition at line 3451 of file editor_manager.cc.
References yaze::editor::UserSettings::Preferences::autosave_enabled, yaze::project::WorkspaceSettings::autosave_enabled, yaze::editor::UserSettings::Preferences::autosave_interval, yaze::project::WorkspaceSettings::autosave_interval_secs, yaze::editor::UserSettings::Preferences::backup_before_save, yaze::project::WorkspaceSettings::backup_on_save, CaptureActiveProjectContext(), CaptureActiveProjectEditingState(), CreateNewProject(), current_project_, yaze::project::YazeProject::feature_flags, yaze::project::YazeProject::filepath, yaze::editor::UserSettings::Preferences::font_global_scale, yaze::project::WorkspaceSettings::font_global_scale, GetCurrentEditorSet(), GetCurrentRom(), yaze::project::RecentFilesManager::GetInstance(), yaze::editor::UserSettings::prefs(), PrepareActiveProjectEditorDraftsForSave(), project_management_panel_, yaze::project::YazeProject::project_opened(), ProjectFileDraftTargetsCurrentProject(), RebaseCleanProjectFileDraft(), yaze::project::WorkspaceSettings::recent_files, RETURN_IF_ERROR, yaze::project::YazeProject::Save(), session_coordinator_, user_settings_, and yaze::project::YazeProject::workspace_settings.
Referenced by yaze::editor::PopupManager::DrawNewProjectPopup(), InitializeSubsystems(), and SaveActiveProjectEditingWork().
| absl::Status yaze::editor::EditorManager::SaveProjectAs | ( | ) |
Definition at line 3620 of file editor_manager.cc.
References current_project_, yaze::project::YazeProject::GetDisplayName(), yaze::project::YazeProject::project_opened(), SaveProjectAs(), and yaze::util::FileDialogWrapper::ShowSaveFileDialog().
Referenced by SaveProjectAs().

| absl::Status yaze::editor::EditorManager::SaveProjectAs | ( | const std::string & | filepath | ) |
Definition at line 3635 of file editor_manager.cc.
References CaptureActiveProjectContext(), CaptureActiveProjectEditingState(), current_project_, yaze::project::YazeProject::filepath, yaze::project::RecentFilesManager::GetInstance(), yaze::editor::kError, yaze::editor::kSuccess, yaze::editor::kWarning, yaze::project::YazeProject::palette_catalog_file, yaze::editor::SessionCoordinator::PathsReferToSameBackingFile(), PrepareActiveProjectEditorDraftsForSave(), project_management_panel_, RebaseCleanProjectFileDraft(), yaze::core::PaletteCatalog::ResolvePathForProject(), RETURN_IF_ERROR, yaze::project::YazeProject::Save(), session_coordinator_, yaze::editor::ToastManager::Show(), SyncLayoutScopeFromCurrentProject(), and toast_manager_.
| absl::Status yaze::editor::EditorManager::AutosaveActiveSession | ( | ) |
Definition at line 3577 of file editor_manager.cc.
References GetCurrentSessionIndex(), RETURN_IF_ERROR, SaveActiveProjectEditingWork(), SaveRom(), session_coordinator_, SessionHasPendingRomWork(), and SessionHasPendingUnsavedWork().
Referenced by UpdateEditorState().
| absl::Status yaze::editor::EditorManager::BuildCurrentProject | ( | ) |
Definition at line 3855 of file editor_manager.cc.
References yaze::editor::kFailure, yaze::editor::kRunning, yaze::editor::kSuccess, yaze::editor::kWarning, LOG_INFO, MakeBuildStatus(), project_management_panel_, RunProjectBuildCommand(), yaze::editor::ToastManager::Show(), status_bar_, and toast_manager_.

| void yaze::editor::EditorManager::QueueBuildCurrentProject | ( | ) |
Definition at line 3893 of file editor_manager.cc.
References active_project_build_, active_project_build_reported_, current_project_, yaze::project::YazeProject::filepath, yaze::editor::kFailure, yaze::editor::kInfo, yaze::editor::kRunning, yaze::editor::kWarning, MakeBuildStatus(), project_management_panel_, ResolveProjectBuildCommand(), yaze::editor::ContentRegistry::Context::SetBuildWorkflowLog(), yaze::editor::ToastManager::Show(), status_bar_, and toast_manager_.
Referenced by InitializeSubsystems(), and yaze::editor::UICoordinator::RefreshWorkflowActions().

| void yaze::editor::EditorManager::CancelQueuedProjectBuild | ( | ) |
Definition at line 3946 of file editor_manager.cc.
References active_project_build_, yaze::editor::kRunning, MakeBuildStatus(), project_management_panel_, and status_bar_.
Referenced by InitializeSubsystems().

| absl::Status yaze::editor::EditorManager::RunCurrentProject | ( | ) |
Definition at line 3964 of file editor_manager.cc.
References emulator_, yaze::Application::Instance(), yaze::editor::kError, yaze::editor::kFailure, yaze::editor::kInfo, yaze::editor::kRunning, yaze::editor::kSuccess, yaze::editor::kWarning, yaze::editor::RomFileManager::LoadRom(), MakeRunStatus(), project_management_panel_, yaze::emu::Emulator::ReloadRuntimeRom(), ResolveProjectRunTarget(), rom_file_manager_, yaze::editor::ToastManager::Show(), status_bar_, toast_manager_, ui_coordinator_, and yaze::Rom::vector().
Referenced by InitializeSubsystems(), and yaze::editor::UICoordinator::RefreshWorkflowActions().
|
inline |
Definition at line 468 of file editor_manager.h.
References yaze::editor::RomLifecycleManager::HasPendingPotItemSaveConfirmation(), and rom_lifecycle_.

|
inline |
Definition at line 471 of file editor_manager.h.
References yaze::editor::RomLifecycleManager::pending_pot_item_unloaded_rooms(), and rom_lifecycle_.
Referenced by yaze::editor::PopupManager::DrawDungeonPotItemSaveConfirmPopup().

|
inline |
Definition at line 474 of file editor_manager.h.
References yaze::editor::RomLifecycleManager::pending_pot_item_total_rooms(), and rom_lifecycle_.
Referenced by yaze::editor::PopupManager::DrawDungeonPotItemSaveConfirmPopup().

| void yaze::editor::EditorManager::ResolvePotItemSaveConfirmation | ( | PotItemSaveDecision | decision | ) |
Definition at line 3598 of file editor_manager.cc.
References CancelPendingRomSave(), kCancel, yaze::editor::kError, yaze::editor::kInfo, yaze::editor::RomLifecycleManager::ResolvePotItemSaveConfirmation(), ResumePendingRomSave(), rom_lifecycle_, yaze::editor::ToastManager::Show(), and toast_manager_.
Referenced by yaze::editor::PopupManager::DrawDungeonPotItemSaveConfirmPopup().

| absl::Status yaze::editor::EditorManager::ImportProject | ( | const std::string & | project_path | ) |
Definition at line 4058 of file editor_manager.cc.
References BindProjectContextToSession(), current_project_, DetachActiveProjectContext(), yaze::editor::ProjectManager::GetCurrentProject(), yaze::editor::ProjectManager::ImportProject(), project_manager_, RefreshHackWorkflowBackend(), RestoreProjectContextForSession(), RETURN_IF_ERROR, session_coordinator_, and SyncLayoutScopeFromCurrentProject().
| absl::Status yaze::editor::EditorManager::RepairCurrentProject | ( | ) |
Definition at line 4075 of file editor_manager.cc.
References CaptureActiveProjectContext(), current_project_, yaze::editor::kSuccess, yaze::project::YazeProject::project_opened(), yaze::project::YazeProject::RepairProject(), RETURN_IF_ERROR, yaze::editor::ToastManager::Show(), and toast_manager_.

| absl::Status yaze::editor::EditorManager::LoadProjectWithRom | ( | ) |
Definition at line 828 of file editor_manager_project_io.cc.
References active_project_build_, active_project_build_reported_, active_project_context_session_id_, yaze::core::VersionManager::AdoptExistingRepository(), yaze::editor::UserSettings::Preferences::autosave_enabled, yaze::project::WorkspaceSettings::autosave_enabled, yaze::editor::UserSettings::Preferences::autosave_interval, yaze::project::WorkspaceSettings::autosave_interval_secs, yaze::editor::UserSettings::Preferences::backup_before_save, yaze::project::WorkspaceSettings::backup_on_save, BindProjectContextToSession(), CaptureActiveProjectContext(), yaze::editor::RomLifecycleManager::CheckRomOpenPolicy(), yaze::editor::StatusBar::ClearProjectWorkflowStatus(), yaze::editor::ContentRegistry::Context::ClearWorkflowHistory(), yaze::project::YazeProject::code_folder, ConfigureEditorDependencies(), current_project_, yaze::project::YazeProject::custom_object_files, yaze::project::YazeProject::custom_objects_folder, DiscardProvisionalSessionCreatedSince(), yaze::editor::RomSession::feature_flags, yaze::project::YazeProject::feature_flags, yaze::project::YazeProject::filepath, yaze::editor::UserSettings::Preferences::font_global_scale, yaze::project::WorkspaceSettings::font_global_scale, yaze::test::TestManager::Get(), yaze::core::FeatureFlags::get(), yaze::zelda3::DrawRoutineRegistry::Get(), yaze::project::YazeProject::GetAbsolutePath(), GetCurrentEditorSet(), GetCurrentRom(), GetCurrentSessionId(), yaze::project::YazeProject::GetDisplayName(), yaze::project::RecentFilesManager::GetInstance(), yaze::project::YazeProject::git_repository, yaze::Rom::is_loaded(), IsRomHashMismatch(), yaze::core::FeatureFlags::Flags::kEnableCustomObjects, yaze::editor::kError, yaze::editor::kInfo, yaze::editor::kSuccess, yaze::editor::kWarning, LoadAssetsForMode(), LoadProjectWithRom(), yaze::editor::RomFileManager::LoadRom(), LOG_DEBUG, LOG_INFO, LOG_WARN, yaze::util::MakeRomFileDialogOptions(), MaybeEmitZScreamRomLoadHints(), pending_project_open_previous_session_id_, pending_project_open_transition_, pending_project_rom_selection_, yaze::editor::UserSettings::prefs(), yaze::editor::RomSession::project_context, project_management_panel_, project_rom_selection_generation_, yaze::zelda3::DrawRoutineRegistry::RefreshFeatureFlagMappings(), RefreshHackWorkflowBackend(), RefreshResourceLabelProvider(), RestoreCurrentRomIdentity(), RestoreProjectContextAfterFailedOpen(), RestoreProjectContextForSession(), RETURN_IF_ERROR, yaze::project::YazeProject::rom_address_overrides, rom_file_manager_, yaze::project::YazeProject::rom_filename, rom_lifecycle_, yaze::project::YazeProject::Save(), session_coordinator_, yaze::editor::ContentRegistry::Context::SetBuildWorkflowLog(), yaze::editor::ContentRegistry::Context::SetBuildWorkflowStatus(), yaze::editor::ContentRegistry::Context::SetCurrentProject(), yaze::test::TestManager::SetCurrentRom(), yaze::editor::WorkspaceWindowManager::SetFileBrowserPath(), yaze::editor::ContentRegistry::Context::SetRunWorkflowStatus(), yaze::editor::ToastManager::Show(), yaze::util::FileDialogWrapper::ShowOpenFileDialog(), yaze::util::FileDialogWrapper::ShowOpenFileDialogAsync(), ShowPostLoadSurface(), status_bar_, toast_manager_, user_settings_, ValidateProjectRomSelection(), version_manager_, window_manager_, and yaze::project::YazeProject::workspace_settings.
Referenced by LoadProjectWithRom(), OpenProjectInternal(), and OpenRomOrProjectInternal().
| absl::Status yaze::editor::EditorManager::SwapProjectRom | ( | const std::string & | rom_path | ) |
Definition at line 3331 of file editor_manager.cc.
References ApplyCurrentProjectRuntimeContext(), BindProjectContextToSession(), yaze::core::HackManifest::build_pipeline(), CaptureActiveProjectContext(), CaptureActiveProjectEditingState(), yaze::editor::RomLifecycleManager::CheckRomRebindPolicy(), current_project_, yaze::project::YazeProject::custom_collision_json, yaze::core::BuildPipeline::dev_rom, yaze::project::YazeProject::filepath, yaze::project::YazeProject::GetAbsolutePath(), GetCurrentSessionIndex(), yaze::project::YazeProject::hack_manifest, yaze::project::kAllow, yaze::core::HackManifest::loaded(), yaze::editor::RomFileManager::LoadRom(), project_management_panel_, yaze::project::YazeProject::project_opened(), ProjectFileDraftTargetsCurrentProject(), RebaseCleanProjectFileDraft(), ReplaceActiveSessionRom(), RETURN_IF_ERROR, rom_file_manager_, yaze::project::YazeProject::rom_filename, rom_lifecycle_, yaze::project::YazeProject::rom_metadata, yaze::project::YazeProject::Save(), session_coordinator_, SessionHasPendingRomWork(), yaze::Rom::set_filename(), yaze::editor::ValidateRomCollisionSourceBinding(), and yaze::project::RomMetadata::write_policy.
Referenced by InitializeSubsystems().
| absl::Status yaze::editor::EditorManager::ReloadProjectRom | ( | ) |
Definition at line 3426 of file editor_manager.cc.
References yaze::editor::RomLifecycleManager::CheckRomOpenPolicy(), current_project_, GetCurrentSessionIndex(), yaze::editor::RomFileManager::LoadRom(), yaze::project::YazeProject::project_opened(), ReplaceActiveSessionRom(), RETURN_IF_ERROR, rom_file_manager_, yaze::project::YazeProject::rom_filename, rom_lifecycle_, session_coordinator_, and SessionHasPendingRomWork().
Referenced by InitializeSubsystems().
|
inline |
Definition at line 485 of file editor_manager.h.
References current_project_.
Referenced by yaze::editor::PopupManager::DrawNewProjectPopup(), yaze::editor::PopupManager::DrawRomBackupManagerPopup(), yaze::editor::PopupManager::DrawRomInfoPopup(), yaze::editor::PopupManager::DrawRomWriteConfirmPopup(), and yaze::editor::UICoordinator::RefreshWorkflowActions().
|
inline |
Definition at line 486 of file editor_manager.h.
References current_project_.
|
inline |
Definition at line 493 of file editor_manager.h.
References active_project_context_session_id_.
Referenced by ConfigureEditorDependencies(), and PrepareActiveProjectEditorDraftsForSave().
| void yaze::editor::EditorManager::MarkCurrentProjectDirty | ( | ) |
Definition at line 3511 of file editor_manager.cc.
References project_management_panel_, and session_coordinator_.
Referenced by yaze::editor::PopupManager::DrawNewProjectPopup(), and InitializeSubsystems().
| bool yaze::editor::EditorManager::IsCurrentProjectDirty | ( | ) | const |
Definition at line 3522 of file editor_manager.cc.
References project_management_panel_, and session_coordinator_.
Referenced by PrepareRawProjectFileSave(), and ShowProjectManagement().
|
inline |
Definition at line 499 of file editor_manager.h.
References version_manager_.
| void yaze::editor::EditorManager::ShowProjectManagement | ( | ) |
Injects dependencies into all editors within an EditorSet.
This function is called whenever a new session is created or a ROM is loaded into an existing session. It configures the EditorDependencies struct with pointers to all the managers and services that editors need, then applies them to the editor set.
| editor_set | The set of editors to configure |
| rom | The ROM instance for this session |
| session_id | The unique ID for this session |
Dependencies injected:
Definition at line 5169 of file editor_manager.cc.
References CaptureActiveProjectEditingState(), current_project_, GetCurrentRom(), IsCurrentProjectDirty(), yaze::editor::RightDrawerManager::kProject, project_management_panel_, right_drawer_manager_, and version_manager_.
Referenced by yaze::editor::UICoordinator::UICoordinator().

| void yaze::editor::EditorManager::ShowProjectFileEditor | ( | ) |
Definition at line 5186 of file editor_manager.cc.
References CaptureActiveProjectEditingState(), yaze::editor::ProjectFileEditor::CaptureState(), current_project_, yaze::project::YazeProject::filepath, yaze::editor::kError, yaze::editor::ProjectFileEditor::LoadFile(), yaze::editor::SessionCoordinator::PathsReferToSameBackingFile(), project_file_editor_, RebaseCleanProjectFileDraft(), yaze::editor::ProjectFileEditor::ResetForProject(), yaze::editor::ProjectFileEditor::RestoreState(), session_coordinator_, yaze::editor::ProjectFileEditor::set_active(), yaze::editor::ProjectFileEditor::SetProject(), yaze::editor::ToastManager::Show(), and toast_manager_.
|
inline |
Definition at line 506 of file editor_manager.h.
References project_file_editor_.
|
inline |
Definition at line 507 of file editor_manager.h.
References project_management_panel_.
|
privatedelete |
|
private |
Definition at line 2593 of file editor_manager.cc.
References CollectEditorsToPreload(), emulator_, yaze::gfx::PerformanceProfiler::Get(), yaze::gfx::PaletteManager::Get(), GetCurrentEditorSet(), GetCurrentRom(), yaze::gfx::PaletteManager::Initialize(), yaze::editor::kAssembly, yaze::editor::kDungeon, yaze::editor::kGraphics, yaze::editor::kMessage, yaze::editor::kMusic, yaze::editor::kOverworld, yaze::editor::kPalette, yaze::editor::kScreen, yaze::editor::kSprite, yaze::zelda3::LoadGameData(), LOG_DEBUG, MarkEditorInitialized(), MarkEditorLoaded(), yaze::editor::UserSettings::prefs(), yaze::gfx::PerformanceProfiler::PrintSummary(), yaze::gfx::PaletteManager::ReleaseSession(), renderer_, ResetAssetState(), RestoreActiveEditorLayoutAfterAssets(), RETURN_IF_ERROR, right_drawer_manager_, session_coordinator_, yaze::emu::Emulator::set_renderer(), yaze::editor::StatusBar::SetEnabled(), yaze::editor::UserSettings::Preferences::show_status_bar, status_bar_, and user_settings_.
Referenced by LoadAssetsForMode().
|
private |
Definition at line 2153 of file editor_manager.cc.
References asset_load_mode_, yaze::kAuto, yaze::kFull, yaze::kLazy, LoadAssets(), and LoadAssetsLazy().
Referenced by LoadProjectWithRom(), LoadRomInternal(), OpenRomOrProjectInternal(), and ReplaceActiveSessionRom().

|
private |
Definition at line 2757 of file editor_manager.cc.
References emulator_, GetCurrentEditorSet(), GetCurrentRom(), LOG_INFO, yaze::editor::UserSettings::prefs(), renderer_, ResetAssetState(), right_drawer_manager_, session_coordinator_, yaze::emu::Emulator::set_renderer(), yaze::editor::StatusBar::SetEnabled(), yaze::editor::UserSettings::Preferences::show_status_bar, status_bar_, and user_settings_.
Referenced by LoadAssetsForMode().
|
private |
Definition at line 2437 of file editor_manager.cc.
References GetEditorByType().
Referenced by EnsureEditorAssetsLoaded().

|
private |
Definition at line 2164 of file editor_manager.cc.
References yaze::editor::RomSession::editor_assets_loaded, yaze::editor::RomSession::editor_initialized, yaze::editor::RomSession::game_data_loaded, and yaze::editor::RomSession::ResetGraphicsDisplay().
Referenced by HandleSessionRomLoaded(), LoadAssets(), LoadAssetsLazy(), and ReplaceActiveSessionRom().

|
private |
Definition at line 2174 of file editor_manager.cc.
References yaze::editor::RomSession::editor_initialized, and yaze::editor::EditorTypeIndex().
Referenced by EnsureEditorAssetsLoaded(), and LoadAssets().

|
private |
Definition at line 2185 of file editor_manager.cc.
References yaze::editor::RomSession::editor_assets_loaded, and yaze::editor::EditorTypeIndex().
Referenced by EnsureEditorAssetsLoaded(), and LoadAssets().

|
private |
Definition at line 2195 of file editor_manager.cc.
References editor_activator_, yaze::editor::RomSession::editor_initialized, yaze::editor::EditorTypeIndex(), yaze::editor::WorkspaceWindowManager::GetActiveCategory(), yaze::editor::WorkspaceWindowManager::GetActiveSessionId(), yaze::editor::EditorRegistry::GetEditorCategory(), yaze::editor::EditorActivator::InitializeEditorLayout(), yaze::editor::EditorRegistry::IsPanelBasedEditor(), layout_manager_, yaze::editor::UserSettings::Preferences::panel_visibility_state, yaze::editor::UserSettings::prefs(), yaze::editor::WorkspaceWindowManager::RestoreVisibilityState(), yaze::editor::RomSession::session_id(), user_settings_, and window_manager_.
Referenced by EnsureEditorAssetsLoaded(), and RestoreActiveEditorLayoutAfterAssets().
|
private |
Definition at line 2227 of file editor_manager.cc.
References yaze::editor::WorkspaceWindowManager::GetActiveCategory(), yaze::editor::EditorRegistry::GetEditorTypeFromCategory(), RestoreEditorLayoutAfterAssets(), and window_manager_.
Referenced by LoadAssets().

|
private |
Definition at line 2347 of file editor_manager.cc.
References yaze::editor::EditorSet::GetEditor().
Referenced by EnsureEditorAssetsLoaded(), InitializeEditorForType(), and ResolveEditorForCategory().

|
private |
Definition at line 2352 of file editor_manager.cc.
References agent_ui_, yaze::editor::AgentUiController::GetAgentEditor(), GetCurrentEditorSet(), GetEditorByType(), yaze::editor::EditorRegistry::GetEditorTypeFromCategory(), yaze::editor::kAgent, yaze::editor::WorkspaceWindowManager::kDashboardCategory, yaze::editor::kEmulator, yaze::editor::kSettings, and yaze::editor::kUnknown.
Referenced by GetEditorContextSnapshot(), HandleSessionSwitched(), SetupSidebarCallbacks(), and SyncEditorContextForCategory().

|
private |
Definition at line 2427 of file editor_manager.cc.
References yaze::editor::WorkspaceWindowManager::kDashboardCategory, LOG_DEBUG, ResolveEditorForCategory(), and SetCurrentEditor().
Referenced by DrawInterface(), Initialize(), and SetupSidebarCallbacks().

|
private |
Definition at line 2233 of file editor_manager.cc.
References yaze::editor::kDungeon, yaze::editor::kGraphics, yaze::editor::kMessage, yaze::editor::kOverworld, yaze::editor::kPalette, yaze::editor::kScreen, and yaze::editor::kSprite.
Referenced by EnsureEditorAssetsLoaded().
|
private |
Definition at line 2248 of file editor_manager.cc.
References yaze::editor::kMessage.
Referenced by EnsureEditorAssetsLoaded().
|
private |
Definition at line 2252 of file editor_manager.cc.
References yaze::editor::EditorSet::active_editors_, current_editor_, dashboard_mode_override_, yaze::editor::WorkspaceWindowManager::GetActiveCategory(), yaze::editor::WorkspaceWindowManager::GetAllWindowDescriptors(), GetCurrentSessionId(), yaze::editor::EditorRegistry::GetEditorTypeFromCategory(), yaze::editor::WorkspaceWindowManager::GetVisibleWindowIds(), yaze::editor::WorkspaceWindowManager::GetWindowDescriptor(), yaze::editor::kAgent, yaze::editor::WorkspaceWindowManager::kDashboardCategory, yaze::editor::kEmulator, yaze::editor::kSettings, yaze::kShow, yaze::editor::kUnknown, yaze::editor::ParseEditorTypeFromString(), startup_editor_hint_, startup_panel_hints_, yaze::editor::Editor::type(), and window_manager_.
Referenced by LoadAssets().
|
private |
Definition at line 1460 of file editor_manager.cc.
References yaze::test::TestManager::Get(), and yaze::test::RegisterZ3edTestSuites().
Referenced by Initialize().

|
private |
Definition at line 2091 of file editor_manager.cc.
References dashboard_mode_override_, dashboard_panel_, yaze::kAuto, yaze::kHide, yaze::kShow, yaze::editor::WorkspaceWindowManager::SetSidebarExpanded(), yaze::editor::WorkspaceWindowManager::SetSidebarVisible(), sidebar_mode_override_, ui_coordinator_, welcome_mode_override_, and window_manager_.
Referenced by ApplyStartupVisibility(), and Initialize().

|
private |
Definition at line 2049 of file editor_manager.cc.
References yaze::editor::UserSettings::ApplyPanelLayoutDefaultsRevision(), yaze::TimingManager::Get(), yaze::TimingManager::GetElapsedTime(), yaze::editor::UserSettings::kLastWorkspaceResetPanelLayoutDefaultsRevision, yaze::editor::UserSettings::kLatestPanelLayoutDefaultsRevision, LOG_INFO, yaze::editor::UserSettings::Preferences::panel_layout_defaults_revision, pending_layout_defaults_reset_, yaze::editor::UserSettings::prefs(), settings_dirty_, settings_dirty_timestamp_, and user_settings_.
Referenced by InitializeServices().

|
private |
Definition at line 2075 of file editor_manager.cc.
References yaze::editor::PreferStartupCategory().
Referenced by DrawInterface(), and Initialize().

|
private |
Definition at line 167 of file editor_manager_sessions.cc.
References yaze::editor::RomSession::ActivateGraphicsDisplay(), yaze::zelda3::CustomObjectManager::ActivateRuntimeContext(), yaze::gfx::PaletteManager::ActivateSession(), yaze::zelda3::CustomObjectManager::ActivateStandaloneContext(), yaze::gfx::Arena::BindGraphicsSheets(), CancelPendingRomSave(), CaptureActiveProjectContext(), CaptureRuntimeFeatureFlags(), yaze::editor::SelectionPropertiesPanel::ClearSelection(), yaze::gfx::PaletteManager::CommitColorEdit(), editor_activator_, yaze::editor::RomSession::editor_initialized, yaze::editor::RomSession::editors, yaze::editor::EditorTypeIndex(), yaze::editor::RomSession::feature_flags, yaze::editor::RomSession::game_data, yaze::gfx::Arena::Get(), yaze::gfx::PaletteManager::Get(), yaze::test::TestManager::Get(), yaze::core::FeatureFlags::get(), yaze::zelda3::CustomObjectManager::Get(), yaze::zelda3::DrawRoutineRegistry::Get(), yaze::editor::WorkspaceWindowManager::GetActiveCategory(), yaze::editor::EditorSet::GetSettingsPanel(), yaze::editor::EditorActivator::InitializeEditorLayout(), yaze::editor::EditorRegistry::IsPanelBasedEditor(), yaze::editor::WorkspaceWindowManager::kDashboardCategory, yaze::editor::kUnknown, layout_manager_, LOG_DEBUG, LOG_ERROR, yaze::editor::UserSettings::Preferences::panel_visibility_state, pending_project_open_previous_session_id_, pending_project_open_transition_, pending_project_rom_selection_, yaze::editor::UserSettings::prefs(), yaze::editor::RomSession::project_context, project_rom_selection_generation_, yaze::zelda3::DrawRoutineRegistry::RefreshFeatureFlagMappings(), RefreshResourceLabelProvider(), ResolveEditorForCategory(), RestoreCurrentRomIdentity(), RestoreProjectContextForSession(), yaze::editor::WorkspaceWindowManager::RestoreVisibilityState(), right_drawer_manager_, yaze::editor::RomSession::rom, runtime_feature_flags_session_id_, selection_properties_panel_, yaze::editor::RomSession::session_id(), SetCurrentEditor(), yaze::test::TestManager::SetCurrentRom(), yaze::editor::ContentRegistry::Context::SetEditorWindowContext(), yaze::editor::ContentRegistry::Context::SetGameData(), yaze::editor::ContentRegistry::Context::SetRom(), yaze::editor::SelectionPropertiesPanel::SetRom(), yaze::editor::Editor::type(), user_settings_, and window_manager_.
Referenced by SubscribeToEvents().
|
private |
Definition at line 298 of file editor_manager_sessions.cc.
References yaze::gfx::PaletteManager::ActivateSession(), active_project_context_session_id_, BindProjectContextToSession(), CancelPendingRomSave(), CaptureActiveProjectContext(), current_project_, yaze::editor::RomSession::game_data, yaze::gfx::PaletteManager::Get(), LOG_INFO, pending_rom_save_, PendingRomSaveMatchesActiveSession(), yaze::editor::UserSettings::Preferences::pinned_panels, yaze::editor::UserSettings::prefs(), yaze::editor::RomSession::project_context, yaze::project::YazeProject::project_opened(), yaze::editor::WorkspaceWindowManager::RegisterRegistryWindowContentsForSession(), RestoreCurrentRomIdentity(), yaze::editor::WorkspaceWindowManager::RestorePinnedState(), RestoreProjectContextForSession(), session_coordinator_, yaze::editor::RomSession::session_id(), user_settings_, and window_manager_.
Referenced by SubscribeToEvents().
|
private |
Definition at line 329 of file editor_manager_sessions.cc.
References yaze::gfx::PaletteManager::ActivateSession(), active_project_context_session_id_, CancelPendingRomSave(), CaptureActiveProjectContext(), yaze::editor::ContentRegistry::Context::Clear(), yaze::editor::RomSession::game_data, yaze::gfx::PaletteManager::Get(), yaze::test::TestManager::Get(), yaze::zelda3::CustomObjectManager::Get(), GetCurrentRom(), LOG_INFO, project_management_panel_, RefreshResourceLabelProvider(), yaze::zelda3::CustomObjectManager::RemoveRuntimeContext(), runtime_feature_flags_session_id_, session_coordinator_, yaze::test::TestManager::SetCurrentRom(), and version_manager_.
Referenced by SubscribeToEvents().
|
private |
Definition at line 880 of file editor_manager.cc.
References deferred_actions_, event_bus_, yaze::TimingManager::Get(), yaze::TimingManager::GetElapsedTime(), HandleSessionClosed(), HandleSessionCreated(), HandleSessionRomLoaded(), HandleSessionSwitched(), HandleUIActionRequest(), yaze::editor::IsTransientPanelVisibilityId(), yaze::editor::WorkspaceWindowManager::kDashboardCategory, layout_coordinator_, layout_manager_, yaze::editor::UserSettings::Preferences::panel_visibility_state, pending_editor_deferred_actions_, yaze::editor::UserSettings::prefs(), yaze::editor::LayoutCoordinator::ProcessDeferredActions(), settings_dirty_, settings_dirty_timestamp_, yaze::EventBus::Subscribe(), ui_sync_frame_id_, and user_settings_.
Referenced by EditorManager().
|
private |
Definition at line 538 of file editor_manager.cc.
References activity_bar_, agent_ui_, ApplyLayoutPreset(), yaze::project::YazeProject::assets_folder, CancelQueuedProjectBuild(), yaze::project::YazeProject::code_folder, CommitRawProjectFileSave(), current_project_, editor_activator_, editor_registry_, yaze::editor::EditorActivator::Dependencies::ensure_editor_assets_loaded, EnsureEditorAssetsLoaded(), yaze::editor::EditorActivator::Dependencies::event_bus, event_bus_, yaze::editor::EditorActivator::Dependencies::get_current_editor_set, yaze::editor::EditorActivator::Dependencies::get_current_session_id, yaze::editor::AgentEditor::GetAgentChat(), yaze::editor::AgentUiController::GetAgentEditor(), GetCurrentEditorSet(), GetCurrentSessionId(), GetEditorContextSnapshot(), ICON_MD_FOLDER_OPEN, ICON_MD_KEYBOARD, ICON_MD_SETTINGS, ICON_MD_TERMINAL, yaze::editor::LayoutCoordinator::Initialize(), yaze::editor::EditorActivator::Initialize(), yaze::editor::RomLifecycleManager::Initialize(), yaze::editor::RightDrawerManager::kAgentChat, yaze::editor::kDungeon, yaze::editor::kError, yaze::editor::kSuccess, layout_coordinator_, yaze::editor::LayoutCoordinator::Dependencies::layout_manager, yaze::editor::EditorActivator::Dependencies::layout_manager, layout_manager_, yaze::util::MakeRomFileDialogOptions(), MarkCurrentProjectDirty(), yaze::editor::WorkspaceWindowManager::MarkWindowRecentlyUsed(), menu_builder_, menu_orchestrator_, yaze::editor::WorkspaceWindowManager::OpenWindow(), popup_manager(), popup_manager_, PrepareRawProjectFileSave(), project_file_editor_, project_management_panel_, project_manager_, yaze::project::YazeProject::project_opened(), proposal_drawer_, yaze::editor::EditorActivator::Dependencies::queue_deferred_action, QueueBuildCurrentProject(), QueueDeferredAction(), RefreshHackWorkflowBackend(), yaze::editor::WorkspaceWindowManager::RegisterWindowContent(), ReloadProjectRom(), yaze::editor::LayoutCoordinator::Dependencies::right_drawer_manager, yaze::editor::EditorActivator::Dependencies::right_drawer_manager, right_drawer_manager_, rom_file_manager_, yaze::project::YazeProject::rom_filename, rom_lifecycle_, RunCurrentProject(), SaveProject(), selection_properties_panel_, session_coordinator_, yaze::editor::AgentChat::set_active(), yaze::editor::WindowDelegate::set_apply_preset_callback(), yaze::editor::WorkspaceManager::set_apply_preset_callback(), yaze::editor::WorkspaceManager::set_layout_manager(), yaze::editor::SelectionPropertiesPanel::SetAgentCallbacks(), yaze::editor::StatusBar::SetAgentToggleCallback(), yaze::editor::ContentRegistry::Context::SetCancelBuildWorkflowCallback(), yaze::editor::ContentRegistry::Context::SetEventBus(), yaze::editor::WorkspaceWindowManager::SetEventBus(), yaze::editor::WorkspaceWindowManager::SetFileBrowserPath(), yaze::editor::ContentRegistry::Context::SetLayoutManager(), yaze::editor::ContentRegistry::Context::SetRunProjectWorkflowCallback(), yaze::editor::ProjectFileEditor::SetSaveCompleteCallback(), yaze::editor::ProjectFileEditor::SetSaveGuardCallback(), yaze::editor::ContentRegistry::Context::SetShowWorkflowOutputCallback(), yaze::editor::ContentRegistry::Context::SetStartBuildWorkflowCallback(), yaze::editor::ContentRegistry::Context::SetUserSettings(), shortcut_manager_, yaze::editor::ToastManager::Show(), yaze::editor::AgentUiController::ShowAgent(), yaze::util::FileDialogWrapper::ShowOpenFileDialog(), yaze::util::FileDialogWrapper::ShowOpenFolderDialog(), yaze::editor::LayoutCoordinator::Dependencies::status_bar, status_bar_, SwapProjectRom(), toast_manager(), yaze::editor::LayoutCoordinator::Dependencies::toast_manager, yaze::editor::EditorActivator::Dependencies::toast_manager, toast_manager_, yaze::editor::WorkspaceWindowManager::TriggerOpenRom(), yaze::editor::WorkspaceWindowManager::TriggerShowCommandPalette(), yaze::editor::WorkspaceWindowManager::TriggerShowSettings(), yaze::editor::WorkspaceWindowManager::TriggerShowShortcuts(), yaze::editor::LayoutCoordinator::Dependencies::ui_coordinator, yaze::editor::EditorActivator::Dependencies::ui_coordinator, ui_coordinator_, user_settings_, window_delegate_, window_host_, yaze::editor::LayoutCoordinator::Dependencies::window_manager, yaze::editor::EditorActivator::Dependencies::window_manager, window_manager_, and workspace_manager_.
Referenced by EditorManager().
|
private |
Definition at line 843 of file editor_manager.cc.
References yaze::editor::WindowDefinition::category, yaze::editor::WindowPresentationPolicy::CoreWorkspace(), yaze::editor::ContentRegistry::Panels::CreateAll(), dashboard_panel_, yaze::editor::WindowDefinition::display_name, yaze::editor::WindowDefinition::icon, ICON_MD_DASHBOARD, yaze::editor::WindowDefinition::id, yaze::editor::WindowDefinition::presentation, yaze::editor::WindowDefinition::priority, yaze::editor::WorkspaceWindowManager::RegisterRegistryWindowContent(), yaze::editor::WorkspaceWindowManager::RegisterWindow(), yaze::editor::WindowDefinition::shortcut_hint, yaze::editor::WindowDefinition::visibility_flag, window_host_, window_manager_, and yaze::editor::WindowDefinition::window_title.
Referenced by EditorManager().

|
private |
Definition at line 1580 of file editor_manager.cc.
References yaze::editor::WindowDescriptor::card_id, yaze::editor::WindowDescriptor::category, yaze::editor::WindowDescriptor::context_scope, yaze::editor::WindowPresentationPolicy::CoreWorkspace(), yaze::editor::WindowPresentationPolicy::Diagnostic(), yaze::editor::WindowDescriptor::display_name, yaze::editor::WindowDescriptor::icon, ICON_MD_AUDIO_FILE, ICON_MD_AUDIOTRACK, ICON_MD_BUG_REPORT, ICON_MD_KEYBOARD, ICON_MD_MEMORY, ICON_MD_SAVE, ICON_MD_SMART_TOY, ICON_MD_SPEED, ICON_MD_SPORTS_ESPORTS, ICON_MD_STOP, ICON_MD_VIDEOGAME_ASSET, yaze::editor::WindowDescriptor::on_hide, yaze::editor::WindowDescriptor::on_show, yaze::editor::WorkspaceWindowManager::OpenWindow(), yaze::editor::WindowPresentationPolicy::OptionalPopOut(), yaze::editor::WindowDescriptor::presentation, yaze::editor::WindowDescriptor::priority, yaze::editor::WorkspaceWindowManager::RegisterPanelAlias(), yaze::editor::WorkspaceWindowManager::RegisterWindow(), yaze::editor::WindowDescriptor::scope, yaze::editor::WindowDescriptor::shortcut_hint, yaze::editor::WindowDescriptor::visibility_flag, window_host_, yaze::editor::WindowDescriptor::window_lifecycle, window_manager_, yaze::editor::WindowDescriptor::window_title, and yaze::editor::WindowPresentationPolicy::WithHost().
Referenced by Initialize().
|
private |
Definition at line 1693 of file editor_manager.cc.
References agent_ui_, ApplyLayoutDefaultsMigrationIfNeeded(), yaze::gui::ThemeManager::ApplyTheme(), yaze::editor::AgentUiController::ApplyUserSettingsDefaults(), yaze::gui::Animator::ClampMotionProfile(), feature_hint_manager_, yaze::editor::UserSettings::Preferences::font_global_scale, yaze::gui::ThemeManager::Get(), yaze::TimingManager::Get(), yaze::i18n::LanguageManager::Get(), yaze::gui::GetAnimator(), yaze::TimingManager::GetElapsedTime(), yaze::app::platform::WasmControlApi::Initialize(), yaze::app::platform::WasmSessionBridge::Initialize(), yaze::editor::AgentUiController::Initialize(), yaze::editor::PopupID::kComingFromZScream, yaze::editor::UserSettings::Preferences::last_theme_name, yaze::editor::UserSettings::Load(), LOG_INFO, LOG_WARN, yaze::editor::UserSettings::Preferences::pinned_panels, popup_manager_, yaze::editor::UserSettings::Preferences::prefer_hmagic_sprite_names, yaze::editor::UserSettings::prefs(), project_file_editor_, proposal_drawer_, yaze::editor::FeatureHintManager::RegisterBuiltinHints(), yaze::editor::WorkspaceWindowManager::RestorePinnedState(), right_drawer_manager_, yaze::editor::UserSettings::Preferences::right_panel_widths, yaze::SetActiveFontIndex(), yaze::editor::FeatureHintManager::SetGuideCallback(), yaze::i18n::LanguageManager::SetLanguage(), yaze::gui::Animator::SetMotionPreferences(), yaze::i18n::LanguageManager::SetOnLanguageChangedCallback(), yaze::gui::ThemeManager::SetOnThemeChangedCallback(), yaze::zelda3::SetPreferHmagicSpriteNames(), settings_dirty_, settings_dirty_timestamp_, yaze::editor::ProjectFileEditor::SetToastManager(), yaze::editor::FeatureHintManager::SetToastManager(), yaze::editor::FeatureHintManager::SetUserSettings(), status_, toast_manager_, user_settings_, and window_manager_.
Referenced by Initialize().
|
private |
Definition at line 1810 of file editor_manager.cc.
References yaze::editor::UserSettings::prefs(), SetupDialogCallbacks(), SetupSidebarCallbacks(), yaze::editor::UserSettings::Preferences::show_welcome_on_startup, ui_coordinator_, and user_settings_.
Referenced by Initialize().

|
private |
Definition at line 1831 of file editor_manager.cc.
References current_editor_, dashboard_panel_, yaze::editor::UserSettings::Preferences::default_editor, HasOpenEditor(), yaze::editor::WorkspaceWindowManager::kDashboardCategory, yaze::editor::kDungeon, yaze::editor::kEditor, yaze::editor::kGraphics, yaze::editor::kOverworld, yaze::editor::UserSettings::prefs(), yaze::editor::WorkspaceWindowManager::SetActiveCategory(), SwitchToEditor(), yaze::editor::Editor::type(), ui_coordinator_, user_settings_, and window_manager_.
Referenced by LoadProjectWithRom(), OpenRomOrProjectInternal(), and SetupDialogCallbacks().
|
private |
Definition at line 260 of file editor_manager_project_io.cc.
References yaze::editor::RomLoadOptionsDialog::LoadOptions::create_project, yaze::editor::RomLoadOptionsDialog::LoadOptions::enable_custom_overworld, FinalizeNewProject(), yaze::core::FeatureFlags::get(), yaze::editor::kError, yaze::editor::kSuccess, LOG_INFO, yaze::editor::RomLoadOptionsDialog::LoadOptions::project_name, yaze::editor::RomLoadOptionsDialog::LoadOptions::project_path, rom_load_options_dialog_, yaze::editor::RomLoadOptionsDialog::LoadOptions::save_all_palettes, yaze::editor::RomLoadOptionsDialog::LoadOptions::save_dungeon_maps, yaze::editor::RomLoadOptionsDialog::LoadOptions::save_gfx_groups, yaze::editor::RomLoadOptionsDialog::LoadOptions::save_overworld_entrances, yaze::editor::RomLoadOptionsDialog::LoadOptions::save_overworld_exits, yaze::editor::RomLoadOptionsDialog::LoadOptions::save_overworld_items, yaze::editor::RomLoadOptionsDialog::LoadOptions::save_overworld_maps, yaze::editor::RomLoadOptionsDialog::LoadOptions::selected_preset, session_coordinator_, yaze::editor::RomLoadOptionsDialog::SetConfirmCallback(), yaze::editor::ToastManager::Show(), show_rom_load_options_, ShowPostLoadSurface(), and toast_manager_.
Referenced by SetupComponentCallbacks().
|
private |
Definition at line 1384 of file editor_manager_project_io.cc.
References feature_hint_manager_, GetCurrentRom(), yaze::zelda3::OverworldVersionHelper::GetVersion(), yaze::Rom::is_loaded(), yaze::zelda3::kVanilla, yaze::editor::FeatureHintId::kZScreamProjects, yaze::editor::FeatureHintId::kZScreamWelcome, yaze::editor::FeatureHintId::kZScreamZso, yaze::editor::FeatureHintManager::MaybeShow(), and version().
Referenced by LoadProjectWithRom(), and OpenRomOrProjectInternal().
|
private |
Definition at line 305 of file editor_manager_project_io.cc.
References yaze::editor::WorkspaceWindowManager::EnableFileBrowser(), yaze::TimingManager::Get(), yaze::editor::WorkspaceWindowManager::GetActiveSessionId(), GetCurrentEditorSet(), yaze::editor::LayoutPresets::GetDefaultWindows(), yaze::editor::EditorRegistry::GetEditorTypeFromCategory(), yaze::TimingManager::GetElapsedTime(), yaze::editor::WorkspaceWindowManager::GetWindowsInCategory(), yaze::editor::kAssembly, yaze::editor::WorkspaceWindowManager::kDashboardCategory, yaze::editor::kEditor, yaze::editor::kSettings, yaze::editor::kUnknown, yaze::editor::WorkspaceWindowManager::OpenWindow(), yaze::editor::UserSettings::Preferences::panel_browser_category_width, yaze::editor::UserSettings::Preferences::panel_visibility_state, yaze::editor::UserSettings::prefs(), ResolveEditorForCategory(), yaze::editor::WorkspaceWindowManager::RestoreVisibilityState(), yaze::editor::WorkspaceWindowManager::SetCategoryChangedCallback(), yaze::editor::WorkspaceWindowManager::SetEditorResolver(), yaze::editor::ContentRegistry::Context::SetEditorWindowContext(), yaze::editor::WorkspaceWindowManager::SetFileClickedCallback(), yaze::editor::WorkspaceWindowManager::SetOnWindowCategorySelectedCallback(), yaze::editor::WorkspaceWindowManager::SetOnWindowClickedCallback(), yaze::editor::WorkspaceWindowManager::SetPanelBrowserCategoryWidthChangedCallback(), yaze::editor::WorkspaceWindowManager::SetSidebarStateChangedCallback(), yaze::editor::WorkspaceWindowManager::SetSidePanelWidthChangedCallback(), settings_dirty_, settings_dirty_timestamp_, yaze::editor::UserSettings::Preferences::sidebar_active_category, yaze::editor::UserSettings::Preferences::sidebar_panel_width, SwitchToEditor(), SyncEditorContextForCategory(), ui_coordinator_, user_settings_, and window_manager_.
Referenced by SetupComponentCallbacks().
|
private |
Definition at line 1884 of file editor_manager.cc.
References yaze::editor::ConfigureEditorShortcuts(), yaze::editor::ConfigureMenuShortcuts(), yaze::editor::ConfigurePanelShortcuts(), yaze::editor::ShortcutDependencies::editor_manager, yaze::editor::ShortcutDependencies::editor_registry, editor_registry_, yaze::editor::ShortcutDependencies::menu_orchestrator, menu_orchestrator_, yaze::editor::ShortcutDependencies::popup_manager, popup_manager_, yaze::editor::ShortcutDependencies::project_manager, project_manager_, yaze::editor::ShortcutDependencies::rom_file_manager, rom_file_manager_, yaze::editor::ShortcutDependencies::session_coordinator, session_coordinator_, shortcut_manager_, yaze::editor::ShortcutDependencies::toast_manager, toast_manager_, yaze::editor::ShortcutDependencies::ui_coordinator, ui_coordinator_, yaze::editor::ShortcutDependencies::user_settings, user_settings_, yaze::editor::ShortcutDependencies::window_manager, window_manager_, yaze::editor::ShortcutDependencies::workspace_manager, and workspace_manager_.
Referenced by Initialize().

|
private |
Definition at line 84 of file editor_manager_frame.cc.
References yaze::editor::ExecuteShortcuts(), yaze::TimingManager::Get(), shortcut_manager_, and yaze::TimingManager::Update().
Referenced by Update().

|
private |
Definition at line 92 of file editor_manager_frame.cc.
References agent_ui_, yaze::editor::UserSettings::Preferences::autosave_enabled, yaze::editor::UserSettings::Preferences::autosave_interval, autosave_timer_, AutosaveActiveSession(), current_editor_, current_project_, yaze::TimingManager::Get(), yaze::test::TestManager::Get(), GetCurrentEditorSet(), GetCurrentRom(), GetCurrentSessionIndex(), yaze::TimingManager::GetElapsedTime(), yaze::editor::kError, yaze::editor::kSuccess, yaze::editor::kUnknown, yaze::editor::kWarning, layout_coordinator_, LOG_DEBUG, LOG_WARN, PollProjectWorkflowTasks(), yaze::editor::UserSettings::prefs(), yaze::editor::LayoutCoordinator::ProcessLayoutRebuild(), yaze::editor::UserSettings::Save(), session_coordinator_, SessionHasPendingUnsavedWork(), yaze::editor::AgentUiController::SetAsarWrapperContext(), yaze::editor::AgentUiController::SetAssemblySymbolTableContext(), yaze::test::TestManager::SetCurrentRom(), yaze::editor::AgentUiController::SetProjectContext(), yaze::editor::AgentUiController::SetRomContext(), settings_dirty_, settings_dirty_timestamp_, yaze::editor::ToastManager::Show(), status_, toast_manager_, yaze::editor::Editor::type(), ui_coordinator_, yaze::editor::AgentUiController::Update(), and user_settings_.
Referenced by Update().
|
private |
Definition at line 185 of file editor_manager_frame.cc.
References active_project_build_, active_project_build_reported_, yaze::editor::kError, yaze::editor::kFailure, yaze::editor::kInfo, yaze::editor::kRunning, yaze::editor::kSuccess, MakeBuildStatus(), project_management_panel_, yaze::editor::ContentRegistry::Context::SetBuildWorkflowLog(), yaze::editor::ToastManager::Show(), status_bar_, and toast_manager_.
Referenced by UpdateEditorState().

|
private |
Definition at line 248 of file editor_manager_frame.cc.
References activity_bar_, yaze::editor::AgentUIContext::agent_config(), agent_ui_, yaze::editor::StatusBar::ClearActiveEditor(), yaze::editor::StatusBar::ClearAgentInfo(), yaze::editor::StatusBar::ClearDirtyScope(), yaze::editor::StatusBar::ClearEditorContributions(), yaze::editor::StatusBar::ClearProjectWorkflowStatus(), CompactPendingUnsavedWorkLabel(), yaze::editor::Editor::ContributeStatus(), current_editor_, current_project_, dashboard_mode_override_, dashboard_panel_, DescribePendingUnsavedWork(), yaze::Rom::dirty(), yaze::editor::StatusBar::Draw(), yaze::editor::RomLoadOptionsDialog::Draw(), DrawSecondaryWindows(), yaze::editor::WorkspaceWindowManager::DrawVisibleWindows(), yaze::editor::WorkspaceWindowManager::GetActiveCategory(), yaze::editor::WorkspaceWindowManager::GetActiveSessionId(), yaze::editor::AgentUiController::GetAgentEditor(), yaze::editor::EditorRegistry::GetAllEditorCategories(), yaze::editor::AgentUiController::GetContext(), GetCurrentEditorSet(), GetCurrentRom(), GetCurrentSessionId(), GetCurrentSessionIndex(), yaze::editor::GetDrawerTypeName(), yaze::editor::EditorRegistry::GetEditorCategory(), GetPreferredStartupCategory(), yaze::Rom::is_loaded(), IsPanelBasedEditor(), yaze::editor::kDungeon, yaze::editor::kError, yaze::editor::RightDrawerManager::kNone, yaze::editor::RightDrawerManager::kProject, yaze::kShow, yaze::editor::StatusBarSegmentOptions::on_click, yaze::editor::UserSettings::Preferences::panel_visibility_state, yaze::editor::UserSettings::prefs(), yaze::project::YazeProject::project_opened(), yaze::editor::WorkspaceWindowManager::RestoreVisibilityState(), right_drawer_manager_, rom_load_options_dialog_, RunEmulator(), SaveRom(), session_coordinator_, SessionHasPendingRomWork(), SessionHasPendingUnsavedWork(), yaze::editor::WorkspaceWindowManager::SetActiveCategory(), yaze::editor::StatusBar::SetActiveEditor(), yaze::editor::StatusBar::SetAgentInfo(), yaze::editor::StatusBar::SetCustomSegment(), yaze::editor::StatusBar::SetDirtyScope(), yaze::editor::StatusBar::SetRom(), yaze::editor::StatusBar::SetSessionInfo(), yaze::editor::ToastManager::Show(), show_rom_load_options_, startup_editor_hint_, startup_panel_hints_, status_bar_, SyncEditorContextForCategory(), toast_manager_, yaze::editor::StatusBarSegmentOptions::tooltip, yaze::editor::Editor::type(), ui_coordinator_, UpdateSystemUIs(), user_settings_, welcome_was_shown_, and window_manager_.
Referenced by Update().
|
private |
Definition at line 530 of file editor_manager_frame.cc.
References CaptureActiveProjectEditingState(), yaze::editor::ProjectFileEditor::Draw(), yaze::test::TestManager::DrawTestDashboard(), yaze::gfx::PerformanceDashboard::Get(), yaze::test::TestManager::Get(), GetCurrentEditorSet(), yaze::editor::WorkspaceWindowManager::GetWindowVisibilityFlag(), yaze::editor::kAssembly, yaze::editor::kHex, project_file_editor_, yaze::gfx::PerformanceDashboard::Render(), yaze::gfx::PerformanceDashboard::SetVisible(), ui_coordinator_, yaze::gfx::PerformanceDashboard::Update(), yaze::test::TestManager::UpdateResourceStats(), and window_manager_.
Referenced by DrawInterface().
|
private |
Definition at line 595 of file editor_manager_frame.cc.
References agent_ui_, current_project_, yaze::project::ResourceLabelManager::DisplayLabels(), yaze::editor::AgentUiController::DrawPopups(), yaze::project::ResourceLabelManager::filename_, GetCurrentRom(), yaze::project::YazeProject::labels_filename, yaze::project::YazeProject::project_opened(), proposal_drawer_, yaze::Rom::resource_label(), yaze::editor::ProposalDrawer::SetRom(), and ui_coordinator_.
Referenced by DrawInterface().
|
private |
Definition at line 622 of file editor_manager_frame.cc.
References emulator_, yaze::editor::UserSettings::Preferences::emulator_keep_running_in_background, GetCurrentRom(), yaze::emu::Emulator::is_audio_focus_mode(), yaze::emu::Emulator::is_snes_initialized(), yaze::editor::UserSettings::prefs(), yaze::emu::Emulator::Run(), yaze::emu::Emulator::RunAudioFrame(), yaze::emu::Emulator::RunFrameOnly(), yaze::emu::Emulator::running(), yaze::editor::ShouldTickEmulatorWhenHidden(), ui_coordinator_, and user_settings_.
Referenced by DrawInterface().
|
private |
Definition at line 2554 of file editor_manager.cc.
References yaze::editor::workflow::CreateHackWorkflowBackendForProject(), current_project_, hack_workflow_backend_, and yaze::editor::ContentRegistry::Context::SetHackWorkflowBackend().
Referenced by ApplyCurrentProjectRuntimeContext(), ImportProject(), InitializeSubsystems(), LoadProjectWithRom(), and OpenRomOrProjectInternal().

|
private |
Definition at line 388 of file editor_manager_sessions.cc.
References yaze::test::TestManager::Get(), LOG_INFO, RefreshResourceLabelProvider(), ResetAssetState(), session_coordinator_, yaze::test::TestManager::SetCurrentRom(), yaze::editor::ContentRegistry::Context::SetGameData(), and yaze::editor::ContentRegistry::Context::SetRom().
Referenced by ReplaceActiveSessionRom(), and SubscribeToEvents().
|
private |
Definition at line 986 of file editor_manager.cc.
References yaze::core::ProjectRegistry::all_resource_labels, current_project_, GetCurrentRom(), yaze::zelda3::GetResourceLabels(), yaze::project::YazeProject::hack_manifest, yaze::core::HackManifest::HasProjectRegistry(), yaze::project::ResourceLabelManager::labels_, yaze::core::HackManifest::loaded(), LOG_DEBUG, yaze::project::WorkspaceSettings::prefer_hmagic_names, yaze::editor::UserSettings::Preferences::prefer_hmagic_sprite_names, yaze::editor::UserSettings::prefs(), yaze::project::YazeProject::project_opened(), yaze::core::HackManifest::project_registry(), yaze::Rom::resource_label(), yaze::project::YazeProject::resource_labels, user_settings_, and yaze::project::YazeProject::workspace_settings.
Referenced by HandleSessionClosed(), HandleSessionRomLoaded(), HandleSessionSwitched(), LoadProjectWithRom(), LoadRomInternal(), OpenRomOrProjectInternal(), and SetCurrentRom().
|
private |
Definition at line 1342 of file editor_manager.cc.
References GetCurrentEditor(), GetCurrentRom(), yaze::editor::PopupID::kAbout, yaze::editor::kAgent, yaze::editor::RightDrawerManager::kAgentChat, yaze::editor::kError, yaze::editor::RightDrawerManager::kHelp, yaze::editor::RightDrawerManager::kProposals, yaze::editor::kSettings, yaze::editor::RightDrawerManager::kSettings, LoadRom(), popup_manager_, yaze::editor::Editor::Redo(), ResetWorkspaceLayout(), right_drawer_manager_, SaveRom(), yaze::editor::ToastManager::Show(), SwitchToEditor(), toast_manager_, ui_coordinator_, and yaze::editor::Editor::Undo().
Referenced by SubscribeToEvents().
|
private |
|
private |
|
private |
Definition at line 4126 of file editor_manager.cc.
References RestoreCurrentRomIdentity(), and session_coordinator_.
Referenced by ReplaceActiveSessionRom(), and SaveRomInternal().

|
private |
Definition at line 4135 of file editor_manager.cc.
References yaze::editor::RomLifecycleManager::ActivateRomIdentity(), rom_lifecycle_, and session_coordinator_.
Referenced by CaptureCurrentRomIdentity(), CloseCurrentSession(), ExecutePendingUnsavedSessionAction(), HandleSessionCreated(), HandleSessionSwitched(), LoadProjectWithRom(), LoadRomInternal(), OpenRomOrProjectInternal(), RemoveSession(), ReplaceActiveSessionRom(), and SetCurrentRom().

|
private |
Definition at line 4121 of file editor_manager.cc.
References yaze::editor::RomLifecycleManager::ApplyDefaultBackupPolicy(), yaze::editor::UserSettings::Preferences::backup_before_save, yaze::editor::UserSettings::prefs(), rom_lifecycle_, and user_settings_.
Referenced by ApplyCurrentProjectRuntimeContext().

|
private |
Definition at line 1051 of file editor_manager.cc.
References active_project_context_session_id_, current_project_, yaze::editor::RomSession::feature_flags, yaze::project::YazeProject::feature_flags, yaze::core::FeatureFlags::get(), ResolveSessionIndexById(), runtime_feature_flags_session_id_, and session_coordinator_.
Referenced by CaptureActiveProjectContext(), HandleSessionSwitched(), and PrepareActiveProjectContextForSave().

|
private |
Definition at line 1122 of file editor_manager.cc.
References active_project_context_session_id_, yaze::editor::ProjectFileEditor::CaptureState(), yaze::editor::RomSession::project_dirty, project_file_editor_, project_management_panel_, ResolveSessionIndexById(), and session_coordinator_.
Referenced by CaptureActiveProjectContext(), DrawSecondaryWindows(), MaybeGuardPendingSessionAction(), PrepareRawProjectFileSave(), ResolveProjectBuildCommand(), SaveActiveProjectEditingWork(), SaveProject(), SaveProjectAs(), ShowProjectFileEditor(), ShowProjectManagement(), and SwapProjectRom().

|
private |
Definition at line 1079 of file editor_manager.cc.
References active_project_context_session_id_, yaze::editor::UserSettings::Preferences::autosave_enabled, yaze::project::WorkspaceSettings::autosave_enabled, yaze::editor::UserSettings::Preferences::autosave_interval, yaze::project::WorkspaceSettings::autosave_interval_secs, yaze::editor::UserSettings::Preferences::backup_before_save, yaze::project::WorkspaceSettings::backup_on_save, BindProjectContextToSession(), CaptureActiveProjectEditingState(), CaptureRuntimeFeatureFlags(), current_project_, yaze::editor::RomSession::feature_flags, yaze::project::YazeProject::feature_flags, yaze::editor::UserSettings::Preferences::font_global_scale, yaze::project::WorkspaceSettings::font_global_scale, yaze::core::FeatureFlags::get(), yaze::editor::UserSettings::prefs(), ResolveSessionIndexById(), runtime_feature_flags_session_id_, session_coordinator_, user_settings_, and yaze::project::YazeProject::workspace_settings.
Referenced by DetachActiveProjectContext(), FinalizeNewProject(), HandleSessionClosed(), HandleSessionCreated(), HandleSessionSwitched(), LoadProjectWithRom(), LoadRomInternal(), OpenRomOrProjectInternal(), PrepareActiveProjectContextForSave(), RepairCurrentProject(), SaveProject(), SaveProjectAs(), and SwapProjectRom().
|
private |
Definition at line 1145 of file editor_manager.cc.
References IsCurrentProjectContextOwnedBySession(), and session_coordinator_.
Referenced by SaveProject(), and SaveProjectAs().

|
private |
Definition at line 1160 of file editor_manager.cc.
References active_project_context_session_id_, CaptureActiveProjectContext(), project_management_panel_, runtime_feature_flags_session_id_, and version_manager_.
Referenced by CreateNewProjectFromRom(), ImportProject(), OpenProjectInternal(), and OpenRomOrProjectInternal().

|
private |
Definition at line 36 of file editor_manager_sessions.cc.
References ConfigureSession(), yaze::editor::RomSession::feature_flags, yaze::project::YazeProject::feature_flags, yaze::editor::RomSession::project_context, and yaze::editor::RomSession::version_manager.
Referenced by CaptureActiveProjectContext(), CommitRawProjectFileSave(), FinalizeNewProject(), HandleSessionCreated(), ImportProject(), LoadProjectWithRom(), and SwapProjectRom().

|
private |
Definition at line 115 of file editor_manager_sessions.cc.
References active_project_context_session_id_, ApplyCurrentProjectRuntimeContext(), ConfigureSession(), current_project_, yaze::editor::RomSession::feature_flags, yaze::project::YazeProject::feature_flags, yaze::editor::RomSession::project_context, project_management_panel_, RestoreProjectEditingStateForSession(), rom_lifecycle_, runtime_feature_flags_session_id_, yaze::editor::RomSession::session_id(), yaze::editor::RomLifecycleManager::SetProjectContext(), yaze::editor::RomSession::version_manager, and version_manager_.
Referenced by FinalizeNewProject(), HandleSessionCreated(), HandleSessionSwitched(), ImportProject(), LoadProjectWithRom(), and RestoreProjectContextAfterFailedOpen().
|
private |
Definition at line 146 of file editor_manager_sessions.cc.
References current_project_, yaze::editor::ProjectFileEditorState::initialized, yaze::editor::RomSession::project_dirty, project_file_editor_, yaze::editor::RomSession::project_file_editor_state, project_management_panel_, yaze::editor::ProjectFileEditor::ResetForProject(), and yaze::editor::ProjectFileEditor::RestoreState().
Referenced by RestoreProjectContextForSession().

|
private |
Definition at line 3533 of file editor_manager.cc.
References CaptureActiveProjectEditingState(), yaze::editor::ProjectFileEditor::CaptureState(), current_project_, yaze::editor::ProjectFileEditor::filepath(), yaze::project::YazeProject::filepath, project_file_editor_, yaze::project::YazeProject::project_opened(), ProjectFileDraftTargetsCurrentProject(), RETURN_IF_ERROR, yaze::editor::ProjectFileEditor::SaveFile(), SaveProject(), and session_coordinator_.
Referenced by AutosaveActiveSession(), and ConfirmPendingUnsavedSessionActionSaveAndContinue().
|
private |
Definition at line 1222 of file editor_manager.cc.
References CaptureActiveProjectEditingState(), current_project_, yaze::project::YazeProject::filepath, IsCurrentProjectDirty(), yaze::project::YazeProject::LoadFromString(), yaze::editor::SessionCoordinator::PathsReferToSameBackingFile(), yaze::project::YazeProject::project_opened(), RETURN_IF_ERROR, yaze::project::YazeProject::rom_filename, and session_coordinator_.
Referenced by InitializeSubsystems().
|
private |
Definition at line 1266 of file editor_manager.cc.
References active_project_context_session_id_, ApplyCurrentProjectRuntimeContext(), BindProjectContextToSession(), current_project_, yaze::project::YazeProject::filepath, yaze::project::YazeProject::LoadFromString(), yaze::editor::SessionCoordinator::PathsReferToSameBackingFile(), project_management_panel_, RETURN_IF_ERROR, runtime_feature_flags_session_id_, session_coordinator_, and version_manager_.
Referenced by InitializeSubsystems().

|
private |
Definition at line 1236 of file editor_manager_project_io.cc.
References yaze::gfx::PaletteManager::ActivateSession(), ApplyCurrentProjectRuntimeContext(), asset_load_mode_, CaptureCurrentRomIdentity(), ConfigureSession(), yaze::editor::EditorTypeIndex(), EnsureGameDataLoaded(), yaze::zelda3::LoadOptions::expand_rom, yaze::gfx::PaletteManager::Get(), GetCurrentSessionIndex(), HandleSessionRomLoaded(), yaze::editor::kDungeon, yaze::kLazy, yaze::editor::kOverworld, yaze::editor::kScreen, yaze::zelda3::LoadOptions::load_graphics, LoadAssetsForMode(), yaze::zelda3::LoadGameData(), yaze::gfx::PaletteManager::ReleaseSession(), ResetAssetState(), RestoreCurrentRomIdentity(), RETURN_IF_ERROR, and session_coordinator_.
Referenced by DiscardPendingRomBackupRestore(), ReloadProjectRom(), RestoreRomBackup(), RevertRomToSavedInternal(), and SwapProjectRom().
|
private |
Definition at line 1213 of file editor_manager.cc.
References current_project_, yaze::editor::ProjectFileEditor::filepath(), yaze::project::YazeProject::filepath, yaze::editor::SessionCoordinator::PathsReferToSameBackingFile(), and project_file_editor_.
Referenced by SaveActiveProjectEditingWork(), SaveProject(), and SwapProjectRom().

|
private |
Definition at line 1296 of file editor_manager.cc.
References yaze::editor::ProjectFileEditor::CaptureState(), current_project_, yaze::editor::ProjectFileEditor::is_active(), yaze::editor::ProjectFileEditor::LoadFile(), LOG_WARN, project_file_editor_, session_coordinator_, yaze::editor::ProjectFileEditor::set_active(), and yaze::editor::ProjectFileEditor::SetProject().
Referenced by FinalizeNewProject(), SaveProject(), SaveProjectAs(), ShowProjectFileEditor(), and SwapProjectRom().
|
private |
Definition at line 1170 of file editor_manager.cc.
References active_project_context_session_id_, ApplyCurrentProjectRuntimeContext(), current_project_, pending_project_open_previous_session_id_, pending_project_open_transition_, project_file_editor_, yaze::editor::ProjectFileEditor::ResetForProject(), ResolveSessionIndexById(), RestoreProjectContextForSession(), runtime_feature_flags_session_id_, session_coordinator_, and version_manager_.
Referenced by CreateNewProjectFromRom(), LoadProjectWithRom(), LoadRomInternal(), OpenProjectInternal(), and OpenRomOrProjectInternal().

|
private |
Definition at line 1198 of file editor_manager.cc.
References session_coordinator_.
Referenced by CreateNewProjectFromRom(), LoadProjectWithRom(), LoadRomInternal(), and OpenRomOrProjectInternal().
|
private |
Definition at line 59 of file editor_manager_sessions.cc.
References ApplyDefaultBackupPolicy(), yaze::editor::RomLifecycleManager::ApplyDefaultBackupPolicy(), yaze::editor::UserSettings::Preferences::autosave_enabled, yaze::project::WorkspaceSettings::autosave_enabled, yaze::editor::UserSettings::Preferences::autosave_interval, yaze::project::WorkspaceSettings::autosave_interval_secs, yaze::editor::UserSettings::Preferences::backup_before_save, yaze::project::WorkspaceSettings::backup_keep_daily, yaze::project::WorkspaceSettings::backup_keep_daily_days, yaze::project::WorkspaceSettings::backup_on_save, yaze::project::WorkspaceSettings::backup_retention_count, current_project_, yaze::project::YazeProject::feature_flags, yaze::editor::UserSettings::Preferences::font_global_scale, yaze::project::WorkspaceSettings::font_global_scale, yaze::core::FeatureFlags::get(), yaze::core::RomSettings::Get(), yaze::zelda3::CustomObjectManager::Get(), yaze::zelda3::DrawRoutineRegistry::Get(), yaze::project::YazeProject::GetAbsolutePath(), GetCurrentRom(), yaze::editor::UserSettings::prefs(), project_management_panel_, yaze::project::YazeProject::project_opened(), yaze::zelda3::DrawRoutineRegistry::RefreshFeatureFlagMappings(), RefreshHackWorkflowBackend(), yaze::project::YazeProject::rom_address_overrides, yaze::project::YazeProject::rom_backup_folder, rom_lifecycle_, session_coordinator_, yaze::core::RomSettings::SetAddressOverrides(), yaze::editor::ContentRegistry::Context::SetCurrentProject(), yaze::editor::RomLifecycleManager::SetProjectContext(), SyncLayoutScopeFromCurrentProject(), user_settings_, version_manager_, and yaze::project::YazeProject::workspace_settings.
Referenced by CommitRawProjectFileSave(), FinalizeNewProject(), LoadRomInternal(), ReplaceActiveSessionRom(), RestoreProjectContextAfterFailedOpen(), RestoreProjectContextForSession(), and SwapProjectRom().
|
private |
Definition at line 1319 of file editor_manager.cc.
References active_project_context_session_id_, CaptureActiveProjectContext(), CaptureRuntimeFeatureFlags(), and session_coordinator_.
Referenced by SaveRomInternal().

|
private |
Definition at line 3809 of file editor_manager.cc.
References yaze::editor::ProjectWorkflowStatus::visible.
Referenced by BuildCurrentProject(), CancelQueuedProjectBuild(), PollProjectWorkflowTasks(), and QueueBuildCurrentProject().
|
private |
Definition at line 3822 of file editor_manager.cc.
References yaze::editor::ProjectWorkflowStatus::visible.
Referenced by RunCurrentProject().
|
private |
Definition at line 3832 of file editor_manager.cc.
References current_project_, yaze::project::YazeProject::filepath, yaze::editor::BackgroundCommandTask::GetSnapshot(), ResolveProjectBuildCommand(), yaze::editor::BackgroundCommandTask::Start(), and yaze::editor::BackgroundCommandTask::Wait().
Referenced by BuildCurrentProject().

|
private |
Definition at line 3713 of file editor_manager.cc.
References yaze::core::HackManifest::build_pipeline(), yaze::project::YazeProject::build_script, CaptureActiveProjectEditingState(), current_project_, DescribePendingUnsavedWork(), yaze::Rom::filename(), yaze::project::YazeProject::GetAbsolutePath(), GetCurrentEditorSet(), GetCurrentRom(), GetCurrentSessionIndex(), yaze::project::YazeProject::hack_manifest, yaze::Rom::is_loaded(), yaze::editor::kDungeon, yaze::core::HackManifest::loaded(), yaze::editor::SessionCoordinator::PathsReferToSameBackingFile(), yaze::project::YazeProject::project_opened(), yaze::project::YazeProject::rom_filename, and SessionHasPendingUnsavedWork().
Referenced by QueueBuildCurrentProject(), and RunProjectBuildCommand().
|
private |
Definition at line 3791 of file editor_manager.cc.
References yaze::core::HackManifest::build_pipeline(), yaze::project::YazeProject::build_target, current_project_, yaze::project::YazeProject::GetAbsolutePath(), yaze::project::YazeProject::hack_manifest, yaze::core::HackManifest::loaded(), yaze::core::BuildPipeline::patched_rom, and yaze::project::YazeProject::project_opened().
Referenced by RunCurrentProject().

|
private |
Save the current ROM file.
DELEGATION:
RESPONSIBILITIES STILL IN EDITORMANAGER:
This stays in EditorManager because it requires knowledge of all editors and the order in which they must be saved to maintain ROM integrity.
Definition at line 2833 of file editor_manager.cc.
References yaze::editor::RomLifecycleManager::CheckRomWritePolicy(), GetCurrentRom(), and rom_lifecycle_.
Referenced by SaveRomInternal().

|
private |
Definition at line 2838 of file editor_manager.cc.
References yaze::editor::RomLifecycleManager::CheckOracleRomSafetyPreSave(), and rom_lifecycle_.
Referenced by SaveRomInternal().

|
private |
Definition at line 516 of file editor_manager_project_io.cc.
References yaze::core::HackManifest::AnalyzePcWriteRanges(), yaze::editor::RomLifecycleManager::ApplyDefaultBackupPolicy(), ASSIGN_OR_RETURN, yaze::editor::UserSettings::Preferences::backup_before_save, yaze::project::WorkspaceSettings::backup_keep_daily, yaze::project::WorkspaceSettings::backup_keep_daily_days, yaze::project::WorkspaceSettings::backup_on_save, yaze::project::WorkspaceSettings::backup_retention_count, yaze::editor::RomLifecycleManager::CancelRomWriteConfirm(), CaptureCurrentRomIdentity(), CheckOracleRomSafetyPreSave(), CheckRomWritePolicy(), yaze::ScopedRomTransaction::Commit(), yaze::rom::ComputeDiffRanges(), yaze::editor::RomLifecycleManager::ConsumeWriteConflictBypass(), current_editor_, current_project_, yaze::project::YazeProject::custom_collision_json, yaze::core::FeatureFlags::Flags::dungeon, EnsureEditorAssetsLoaded(), yaze::gfx::PaletteManager::Get(), yaze::core::FeatureFlags::get(), yaze::project::YazeProject::GetAbsolutePath(), GetCurrentEditorSet(), GetCurrentRom(), GetCurrentSessionId(), yaze::editor::EditorRegistry::GetExperimentPolicy(), yaze::project::RecentFilesManager::GetInstance(), yaze::project::YazeProject::hack_manifest, yaze::editor::RomLifecycleManager::IsRomWriteConfirmPending(), yaze::editor::kDefensiveBackup, yaze::editor::kDungeon, yaze::editor::kGraphics, yaze::editor::kMessage, yaze::editor::kOverworld, yaze::editor::kPalette, yaze::core::FeatureFlags::Flags::kSaveAllPalettes, yaze::editor::PopupID::kSaveAs, yaze::core::FeatureFlags::Flags::kSaveGraphicsSheet, yaze::core::FeatureFlags::Flags::Dungeon::kSavePalettes, yaze::editor::kScreen, yaze::editor::kWarning, yaze::editor::PopupID::kWriteConflictWarning, yaze::core::HackManifest::loaded(), LOG_DEBUG, yaze::editor::RomLifecycleManager::pending_write_conflicts(), popup_manager_, yaze::editor::UserSettings::prefs(), PrepareActiveProjectContextForSave(), yaze::project::YazeProject::project_opened(), RETURN_IF_ERROR, yaze::project::YazeProject::rom_backup_folder, rom_file_manager_, yaze::project::YazeProject::rom_filename, rom_lifecycle_, yaze::zelda3::SaveGfxGroups(), yaze::editor::RomFileManager::SaveRom(), yaze::editor::RomFileManager::SaveRomAs(), session_coordinator_, yaze::editor::RomLifecycleManager::SetPendingWriteConflicts(), yaze::editor::RomLifecycleManager::SetProjectContext(), yaze::editor::RomLifecycleManager::ShouldBypassWriteConflict(), yaze::editor::ToastManager::Show(), yaze::editor::UserSettings::Preferences::show_experimental_editors, toast_manager_, yaze::editor::Editor::type(), user_settings_, and yaze::project::YazeProject::workspace_settings.
Referenced by ResumePendingRomSave(), SaveRom(), and SaveRomAs().
|
private |
Definition at line 2842 of file editor_manager.cc.
References yaze::editor::RomLifecycleManager::HasPendingPotItemSaveConfirmation(), yaze::editor::RomLifecycleManager::IsRomWriteConfirmPending(), yaze::editor::RomLifecycleManager::pending_write_conflicts(), and rom_lifecycle_.
Referenced by ConfirmPendingUnsavedSessionActionSaveAndContinue(), FinishPendingRomSaveAttempt(), and SaveRomAs().

|
private |
Definition at line 2848 of file editor_manager.cc.
References GetCurrentRom(), GetCurrentSessionIndex(), pending_rom_save_, and session_coordinator_.
Referenced by ConfirmPendingUnsavedSessionActionSaveAndContinue(), ConfirmRomWrite(), HandleSessionCreated(), and ResumePendingRomSave().

|
private |
Definition at line 2887 of file editor_manager.cc.
References CancelPendingRomSave(), and HasPendingRomSaveConfirmation().
Referenced by ResumePendingRomSave(), SaveRom(), and SaveRomAs().

|
private |
Definition at line 2857 of file editor_manager.cc.
References yaze::editor::PopupID::kDungeonPotItemSaveConfirm, yaze::editor::PopupID::kRomWriteConfirm, yaze::editor::PopupID::kSaveAs, yaze::editor::PopupID::kWriteConflictWarning, pending_rom_save_, popup_manager_, yaze::editor::RomLifecycleManager::ResetPendingSaveState(), and rom_lifecycle_.
Referenced by CancelRomWriteConfirm(), ClearPendingWriteConflicts(), FinishPendingRomSaveAttempt(), HandleSessionClosed(), HandleSessionCreated(), HandleSessionSwitched(), ResolvePotItemSaveConfirmation(), ResumePendingRomSave(), and StartPendingRomSave().

|
private |
Definition at line 2873 of file editor_manager.cc.
References CancelPendingRomSave(), GetCurrentRom(), GetCurrentSessionIndex(), pending_rom_save_, and session_coordinator_.
Referenced by SaveRom(), and SaveRomAs().

|
private |
Definition at line 417 of file editor_manager_project_io.cc.
References active_project_context_session_id_, ApplyCurrentProjectRuntimeContext(), CaptureActiveProjectContext(), ConfigureEditorDependencies(), DiscardProvisionalSessionCreatedSince(), yaze::test::TestManager::Get(), GetCurrentEditorSet(), GetCurrentRom(), GetCurrentSessionId(), yaze::project::RecentFilesManager::GetInstance(), yaze::editor::kWarning, LoadAssetsForMode(), yaze::editor::RomFileManager::LoadRom(), yaze::util::MakeRomFileDialogOptions(), yaze::editor::RomLoadOptionsDialog::Open(), OpenRomOrProjectInternal(), yaze::platform::ios::PostOverlayCommand(), RefreshResourceLabelProvider(), RestoreCurrentRomIdentity(), RestoreProjectContextAfterFailedOpen(), RETURN_IF_ERROR, rom_file_manager_, rom_load_options_dialog_, session_coordinator_, yaze::test::TestManager::SetCurrentRom(), yaze::editor::ToastManager::Show(), show_rom_load_options_, yaze::util::FileDialogWrapper::ShowOpenFileDialog(), toast_manager_, and ui_coordinator_.
Referenced by ExecutePendingUnsavedSessionAction(), and LoadRom().
|
private |
Definition at line 2960 of file editor_manager.cc.
References active_project_context_session_id_, CaptureActiveProjectContext(), yaze::editor::RomLifecycleManager::CheckRomOpenPolicy(), yaze::project::YazeProject::code_folder, ConfigureEditorDependencies(), current_project_, DetachActiveProjectContext(), DiscardProvisionalSessionCreatedSince(), yaze::editor::RomSession::feature_flags, yaze::project::YazeProject::feature_flags, yaze::test::TestManager::Get(), yaze::core::FeatureFlags::get(), yaze::project::YazeProject::GetAbsolutePath(), GetCurrentEditorSet(), GetCurrentRom(), GetCurrentSessionId(), LoadAssetsForMode(), LoadProjectWithRom(), yaze::editor::RomFileManager::LoadRom(), LOG_DEBUG, LOG_INFO, MaybeEmitZScreamRomLoadHints(), yaze::project::YazeProject::Open(), pending_project_open_previous_session_id_, pending_project_open_transition_, RefreshHackWorkflowBackend(), RefreshResourceLabelProvider(), RestoreCurrentRomIdentity(), RestoreProjectContextAfterFailedOpen(), RETURN_IF_ERROR, rom_file_manager_, yaze::project::YazeProject::rom_filename, rom_lifecycle_, session_coordinator_, yaze::test::TestManager::SetCurrentRom(), yaze::editor::WorkspaceWindowManager::SetFileBrowserPath(), ShowPostLoadSurface(), SyncLayoutScopeFromCurrentProject(), and window_manager_.
Referenced by CreateNewProjectFromRom(), ExecutePendingUnsavedSessionAction(), LoadRomInternal(), and OpenRomOrProject().
|
private |
Definition at line 3264 of file editor_manager.cc.
References active_project_context_session_id_, current_project_, DetachActiveProjectContext(), yaze::editor::kWarning, LoadProjectWithRom(), yaze::project::YazeProject::Open(), pending_project_open_previous_session_id_, pending_project_open_transition_, popup_manager_, yaze::platform::ios::PostOverlayCommand(), RestoreProjectContextAfterFailedOpen(), RETURN_IF_ERROR, yaze::project::YazeProject::rom_filename, session_coordinator_, yaze::editor::ToastManager::Show(), yaze::util::FileDialogWrapper::ShowOpenFileDialog(), SyncLayoutScopeFromCurrentProject(), toast_manager_, and yaze::project::YazeProject::Validate().
Referenced by ExecutePendingUnsavedSessionAction(), and OpenProject().
|
private |
Definition at line 3316 of file editor_manager.cc.
References yaze::editor::RomLifecycleManager::CheckRomOpenPolicy(), current_project_, yaze::editor::RomFileManager::LoadRom(), pending_project_rom_selection_, yaze::editor::EditorManager::PendingProjectRomSelection::previous_path, RETURN_IF_ERROR, rom_file_manager_, yaze::project::YazeProject::rom_filename, rom_lifecycle_, and session_coordinator_.
Referenced by LoadProjectWithRom().

|
private |
Definition at line 4423 of file editor_manager.cc.
References session_coordinator_.
Referenced by CaptureActiveProjectContext(), CaptureActiveProjectEditingState(), CaptureRuntimeFeatureFlags(), ConfigureEditorDependencies(), ConfirmPendingUnsavedSessionActionSaveAndContinue(), ExecutePendingUnsavedSessionAction(), GetPendingUnsavedSessionActionPrompt(), MaybeGuardPendingSessionAction(), and RestoreProjectContextAfterFailedOpen().
|
private |
Definition at line 4667 of file editor_manager.cc.
References CaptureActiveProjectEditingState(), HasAnySessionPendingUnsavedWork(), yaze::editor::EditorManager::PendingUnsavedSessionAction::kQuit, yaze::editor::EditorManager::PendingUnsavedSessionAction::kRevertRom, yaze::editor::PopupID::kUnsavedSessionChanges, pending_unsaved_session_action_, popup_manager_, ResolveSessionIndexById(), SessionHasPendingRomWork(), SessionHasPendingUnsavedWork(), yaze::editor::EditorManager::PendingUnsavedSessionAction::source_session_id, and yaze::editor::EditorManager::PendingUnsavedSessionAction::type.
Referenced by CloseCurrentSession(), CloseRom(), LoadRom(), OpenProject(), OpenRomOrProject(), Quit(), RemoveSession(), RevertRomToSaved(), and SwitchToSession().
|
private |
Definition at line 4693 of file editor_manager.cc.
References yaze::editor::EditorManager::PendingUnsavedSessionAction::kCloseRom, yaze::editor::EditorManager::PendingUnsavedSessionAction::kCloseSession, yaze::editor::kError, yaze::editor::EditorManager::PendingUnsavedSessionAction::kOpenProjectDialog, yaze::editor::EditorManager::PendingUnsavedSessionAction::kOpenRomDialog, yaze::editor::EditorManager::PendingUnsavedSessionAction::kOpenRomOrProjectPath, yaze::editor::EditorManager::PendingUnsavedSessionAction::kQuit, yaze::editor::EditorManager::PendingUnsavedSessionAction::kRevertRom, yaze::editor::kSuccess, yaze::editor::EditorManager::PendingUnsavedSessionAction::kSwitchSession, LoadRomInternal(), OpenProjectInternal(), OpenRomOrProjectInternal(), yaze::editor::EditorManager::PendingUnsavedSessionAction::path, quit_, ResolveSessionIndexById(), RestoreCurrentRomIdentity(), RevertRomToSavedInternal(), session_coordinator_, yaze::editor::ToastManager::Show(), yaze::editor::EditorManager::PendingUnsavedSessionAction::target_session_id, toast_manager_, and yaze::editor::EditorManager::PendingUnsavedSessionAction::type.
Referenced by CloseRom(), ConfirmPendingUnsavedSessionActionDiscardAndContinue(), and ConfirmPendingUnsavedSessionActionSaveAndContinue().
|
private |
Definition at line 4352 of file editor_manager.cc.
References CanRevertRom(), DescribePendingUnsavedWork(), GetCurrentSessionIndex(), yaze::editor::RomFileManager::LoadRom(), ReplaceActiveSessionRom(), yaze::Rom::resource_label(), RETURN_IF_ERROR, rom_file_manager_, session_coordinator_, and SessionHasPendingRomWork().
Referenced by ExecutePendingUnsavedSessionAction(), and RevertRomToSaved().
|
private |
Definition at line 4779 of file editor_manager.cc.
References session_coordinator_, and SessionHasPendingRomWork().
Referenced by AutosaveActiveSession(), ConfirmPendingUnsavedSessionActionSaveAndContinue(), DescribeAllPendingUnsavedWork(), DrawInterface(), MaybeGuardPendingSessionAction(), ModifiedSessionCount(), ResolveProjectBuildCommand(), and UpdateEditorState().

|
private |
Definition at line 4794 of file editor_manager.cc.
References yaze::gfx::PaletteManager::Get(), HasPendingDungeonChangesForSession(), yaze::gfx::PaletteManager::HasUnsavedChanges(), and session_coordinator_.
Referenced by AutosaveActiveSession(), ConfirmPendingUnsavedSessionActionSaveAndContinue(), DrawInterface(), MaybeGuardPendingSessionAction(), ReloadProjectRom(), RestoreRomBackup(), RevertRomToSavedInternal(), SessionHasPendingUnsavedWork(), and SwapProjectRom().

|
private |
Definition at line 4811 of file editor_manager.cc.
References ModifiedSessionCount().
Referenced by CreateNewProject(), CreateNewProjectFromRom(), and MaybeGuardPendingSessionAction().

|
private |
Definition at line 4815 of file editor_manager.cc.
References yaze::editor::kDungeon, and session_coordinator_.
Referenced by CompactPendingUnsavedWorkLabel(), DescribePendingUnsavedWork(), DiscardPendingRomBackupRestore(), and SessionHasPendingRomWork().
|
private |
Definition at line 4835 of file editor_manager.cc.
References yaze::editor::kDungeon, and session_coordinator_.
Referenced by CompactPendingUnsavedWorkLabel(), and DescribePendingUnsavedWork().
|
private |
Definition at line 4855 of file editor_manager.cc.
References yaze::gfx::PaletteManager::Get(), yaze::gfx::PaletteManager::GetModifiedColorCount(), and session_coordinator_.
Referenced by CompactPendingUnsavedWorkLabel(), and DescribePendingUnsavedWork().

|
private |
Definition at line 4869 of file editor_manager.cc.
References session_coordinator_, and SessionHasPendingUnsavedWork().
Referenced by DescribeAllPendingUnsavedWork(), GetPendingUnsavedSessionActionSaveLabel(), and HasAnySessionPendingUnsavedWork().

|
private |
Definition at line 4883 of file editor_manager.cc.
References HasPendingDungeonChangesForSession(), yaze::Rom::is_loaded(), PendingDungeonRoomCountForSession(), PendingPaletteColorCountForSession(), yaze::editor::RomSession::rom, and session_coordinator_.
Referenced by ConfirmPendingUnsavedSessionActionSaveAndContinue(), DescribeAllPendingUnsavedWork(), DrawInterface(), GetPendingUnsavedSessionActionPrompt(), ResolveProjectBuildCommand(), and RevertRomToSavedInternal().

|
private |
Definition at line 4948 of file editor_manager.cc.
References HasPendingDungeonChangesForSession(), yaze::Rom::is_loaded(), PendingDungeonRoomCountForSession(), PendingPaletteColorCountForSession(), yaze::editor::RomSession::rom, and session_coordinator_.
Referenced by DrawInterface().

|
private |
Definition at line 5004 of file editor_manager.cc.
References DescribePendingUnsavedWork(), ModifiedSessionCount(), session_coordinator_, and SessionHasPendingUnsavedWork().
Referenced by GetPendingUnsavedSessionActionPrompt().

|
private |
Definition at line 5226 of file editor_manager.cc.
References yaze::editor::EditorSet::ApplyDependencies(), current_project_, yaze::editor::EditorDependencies::custom_data, editor_context_, yaze::editor::EditorDependencies::emulator, emulator_, EnsureEditorAssetsLoaded(), yaze::editor::EditorDependencies::game_data, GetCurrentEditorSet(), GetCurrentRomHash(), GetCurrentSessionId(), yaze::editor::EditorSet::GetSettingsPanel(), yaze::editor::EditorDependencies::gfx_group_workspace, yaze::editor::EditorSet::gfx_group_workspace(), yaze::editor::EditorDependencies::global_context, IsCurrentProjectContextOwnedBySession(), yaze::editor::kDungeon, yaze::editor::DungeonEditorV2::kMinecartTrackEditorId, yaze::editor::WorkspaceWindowManager::OpenWindow(), yaze::editor::EditorDependencies::popup_manager, popup_manager_, yaze::editor::EditorDependencies::project, yaze::editor::EditorDependencies::renderer, renderer_, ResolveSessionIndexById(), RETURN_IF_ERROR, yaze::editor::EditorDependencies::rom, selection_properties_panel_, session_coordinator_, yaze::editor::EditorDependencies::session_id, yaze::editor::SelectionPropertiesPanel::SetRom(), yaze::editor::EditorDependencies::shared_clipboard, shared_clipboard_, yaze::editor::EditorDependencies::shortcut_manager, shortcut_manager_, yaze::editor::EditorDependencies::status_bar, status_bar_, SwitchToEditor(), yaze::editor::EditorDependencies::toast_manager, toast_manager_, yaze::editor::EditorDependencies::user_settings, user_settings_, yaze::editor::EditorDependencies::version_manager, yaze::editor::EditorDependencies::window_manager, and window_manager_.
Referenced by ConfigureSession(), LoadProjectWithRom(), LoadRomInternal(), and OpenRomOrProjectInternal().
|
private |
Definition at line 453 of file editor_manager.cc.
References current_project_, layout_manager_, yaze::project::YazeProject::MakeStorageKey(), and yaze::project::YazeProject::project_opened().
Referenced by ApplyCurrentProjectRuntimeContext(), CreateNewProjectFromRom(), ImportProject(), OpenProjectInternal(), OpenRomOrProjectInternal(), and SaveProjectAs().

|
friend |
Definition at line 100 of file editor_manager.h.
|
private |
Definition at line 577 of file editor_manager.h.
Referenced by ExecutePendingUnsavedSessionAction(), Quit(), and quit().
|
private |
Definition at line 583 of file editor_manager.h.
|
private |
Definition at line 584 of file editor_manager.h.
|
private |
Definition at line 585 of file editor_manager.h.
|
private |
Definition at line 591 of file editor_manager.h.
Referenced by InitializeServices(), InitializeSubsystems(), and UpdateSystemUIs().
|
private |
Definition at line 592 of file editor_manager.h.
|
private |
Definition at line 595 of file editor_manager.h.
Referenced by DrawInterface(), InitializeServices(), InitializeSubsystems(), ResolveEditorForCategory(), UpdateEditorState(), and UpdateSystemUIs().
|
private |
Definition at line 598 of file editor_manager.h.
Referenced by CaptureActiveProjectEditingState(), DrawSecondaryWindows(), InitializeServices(), InitializeSubsystems(), project_file_editor(), ProjectFileDraftTargetsCurrentProject(), RebaseCleanProjectFileDraft(), RestoreProjectContextAfterFailedOpen(), RestoreProjectEditingStateForSession(), SaveActiveProjectEditingWork(), and ShowProjectFileEditor().
|
private |
Definition at line 601 of file editor_manager.h.
Referenced by ApplyStartupVisibilityOverrides(), DrawInterface(), OpenEditorAndPanelsFromFlags(), RegisterEditors(), and ShowPostLoadSurface().
|
private |
Definition at line 602 of file editor_manager.h.
Referenced by DrawInterface(), LoadRomInternal(), and SetupDialogCallbacks().
|
private |
Definition at line 603 of file editor_manager.h.
Referenced by DrawInterface(), LoadRomInternal(), and SetupDialogCallbacks().
|
private |
Definition at line 604 of file editor_manager.h.
Referenced by ApplyStartupVisibility(), ApplyStartupVisibilityOverrides(), Initialize(), and SetStartupLoadHints().
|
private |
Definition at line 610 of file editor_manager.h.
Referenced by DrawInterface().
|
private |
Definition at line 611 of file editor_manager.h.
Referenced by ApplyStartupVisibility(), ApplyStartupVisibilityOverrides(), CollectEditorsToPreload(), DrawInterface(), Initialize(), and SetStartupLoadHints().
|
private |
Definition at line 612 of file editor_manager.h.
Referenced by ApplyStartupVisibility(), ApplyStartupVisibilityOverrides(), and SetStartupLoadHints().
|
private |
Definition at line 613 of file editor_manager.h.
Referenced by asset_load_mode(), LoadAssetsForMode(), ReplaceActiveSessionRom(), and SetAssetLoadMode().
|
private |
Definition at line 614 of file editor_manager.h.
Referenced by CollectEditorsToPreload(), DrawInterface(), Initialize(), and SetStartupLoadHints().
|
private |
Definition at line 615 of file editor_manager.h.
Referenced by CollectEditorsToPreload(), DrawInterface(), Initialize(), and SetStartupLoadHints().
|
private |
Definition at line 618 of file editor_manager.h.
Referenced by ConfigureEditorDependencies(), HandleSessionSwitched(), and InitializeSubsystems().
|
private |
Definition at line 621 of file editor_manager.h.
Referenced by ApplyCurrentProjectRuntimeContext(), BuildCurrentProject(), CancelQueuedProjectBuild(), CaptureActiveProjectEditingState(), CommitRawProjectFileSave(), DetachActiveProjectContext(), HandleSessionClosed(), InitializeSubsystems(), IsCurrentProjectDirty(), LoadProjectWithRom(), MarkCurrentProjectDirty(), PollProjectWorkflowTasks(), project_management_panel(), QueueBuildCurrentProject(), RestoreProjectContextForSession(), RestoreProjectEditingStateForSession(), RunCurrentProject(), SaveProject(), SaveProjectAs(), ShowProjectManagement(), and SwapProjectRom().
|
private |
Definition at line 623 of file editor_manager.h.
Referenced by EditorManager(), and version().
|
private |
Definition at line 624 of file editor_manager.h.
Referenced by InitializeServices(), Update(), and UpdateEditorState().
|
private |
Definition at line 625 of file editor_manager.h.
Referenced by ConfigureEditorDependencies(), emulator(), Initialize(), LoadAssets(), LoadAssetsLazy(), RunCurrentProject(), RunEmulator(), and WantsContinuousFrames().
|
private |
Definition at line 629 of file editor_manager.h.
Referenced by ApplyLayoutProfile(), CollectEditorsToPreload(), DrawInterface(), GetCurrentEditor(), HasOpenEditor(), HasPreviousEditorLayout(), ResetCurrentEditorLayout(), RestorePreviousEditorLayout(), SaveRomInternal(), SetCurrentEditor(), ShowPostLoadSurface(), SwitchToEditor(), and UpdateEditorState().
|
private |
Definition at line 633 of file editor_manager.h.
Referenced by ConfigureEditorDependencies(), Initialize(), LoadAssets(), and LoadAssetsLazy().
|
private |
Definition at line 635 of file editor_manager.h.
Referenced by ApplyCurrentProjectRuntimeContext(), CaptureActiveProjectContext(), CaptureRuntimeFeatureFlags(), CommitRawProjectFileSave(), ConfigureEditorDependencies(), CreateNewProjectFromRom(), DrawInterface(), FinalizeNewProject(), GetCurrentProject(), GetCurrentProject(), GetProjectExpectedRomHash(), GetProjectRomRole(), GetProjectRomWritePolicy(), HandleSessionCreated(), ImportProject(), InitializeSubsystems(), LoadProjectWithRom(), OpenProjectInternal(), OpenRomOrProjectInternal(), PrepareRawProjectFileSave(), ProjectFileDraftTargetsCurrentProject(), QueueBuildCurrentProject(), RebaseCleanProjectFileDraft(), RefreshHackWorkflowBackend(), RefreshResourceLabelProvider(), ReloadProjectRom(), RepairCurrentProject(), ResolveProjectBuildCommand(), ResolveProjectRunTarget(), RestoreProjectContextAfterFailedOpen(), RestoreProjectContextForSession(), RestoreProjectEditingStateForSession(), RunProjectBuildCommand(), SaveActiveProjectEditingWork(), SaveProject(), SaveProjectAs(), SaveProjectAs(), SaveRomInternal(), ShowProjectFileEditor(), ShowProjectManagement(), SwapProjectRom(), SyncLayoutScopeFromCurrentProject(), UpdateEditorState(), UpdateSystemUIs(), and ValidateProjectRomSelection().
|
private |
Definition at line 640 of file editor_manager.h.
Referenced by HandleSessionSwitched(), LoadProjectWithRom(), and ValidateProjectRomSelection().
|
private |
Definition at line 641 of file editor_manager.h.
Referenced by HandleSessionSwitched(), and LoadProjectWithRom().
|
private |
Definition at line 642 of file editor_manager.h.
Referenced by HandleSessionSwitched(), LoadProjectWithRom(), OpenProjectInternal(), OpenRomOrProjectInternal(), and RestoreProjectContextAfterFailedOpen().
|
private |
Definition at line 643 of file editor_manager.h.
Referenced by HandleSessionSwitched(), LoadProjectWithRom(), OpenProjectInternal(), OpenRomOrProjectInternal(), and RestoreProjectContextAfterFailedOpen().
|
private |
Definition at line 646 of file editor_manager.h.
Referenced by CaptureActiveProjectContext(), CaptureActiveProjectEditingState(), CaptureRuntimeFeatureFlags(), CommitRawProjectFileSave(), CreateNewProjectFromRom(), DetachActiveProjectContext(), FinalizeNewProject(), HandleSessionClosed(), HandleSessionCreated(), IsCurrentProjectContextOwnedBySession(), LoadProjectWithRom(), LoadRomInternal(), OpenProjectInternal(), OpenRomOrProjectInternal(), PrepareActiveProjectContextForSave(), RestoreProjectContextAfterFailedOpen(), and RestoreProjectContextForSession().
|
private |
Definition at line 649 of file editor_manager.h.
Referenced by CaptureActiveProjectContext(), CaptureRuntimeFeatureFlags(), CommitRawProjectFileSave(), DetachActiveProjectContext(), FinalizeNewProject(), HandleSessionClosed(), HandleSessionSwitched(), RestoreProjectContextAfterFailedOpen(), and RestoreProjectContextForSession().
|
private |
Definition at line 653 of file editor_manager.h.
Referenced by ApplyCurrentProjectRuntimeContext(), CommitRawProjectFileSave(), DetachActiveProjectContext(), FinalizeNewProject(), GetVersionManager(), HandleSessionClosed(), LoadProjectWithRom(), RestoreProjectContextAfterFailedOpen(), RestoreProjectContextForSession(), and ShowProjectManagement().
|
private |
Definition at line 654 of file editor_manager.h.
Referenced by ConfigureEditorDependencies().
|
private |
Definition at line 655 of file editor_manager.h.
Referenced by CancelPendingRomSave(), CancelPendingUnsavedSessionAction(), ConfigureEditorDependencies(), ConfirmPendingUnsavedSessionActionDiscardAndContinue(), ConfirmPendingUnsavedSessionActionSaveAndContinue(), HandleUIActionRequest(), InitializeServices(), InitializeShortcutSystem(), InitializeSubsystems(), MaybeGuardPendingSessionAction(), OpenProjectInternal(), popup_manager(), and SaveRomInternal().
|
private |
Definition at line 656 of file editor_manager.h.
Referenced by ApplyLayoutProfile(), BuildCurrentProject(), CaptureTemporaryLayoutSnapshot(), ClearTemporaryLayoutSnapshot(), ConfigureEditorDependencies(), ConfirmPendingUnsavedSessionActionSaveAndContinue(), DeleteLayoutSnapshot(), DrawInterface(), ExecutePendingUnsavedSessionAction(), HandleUIActionRequest(), InitializeServices(), InitializeShortcutSystem(), InitializeSubsystems(), LoadProjectWithRom(), LoadRomInternal(), OpenProjectInternal(), PollProjectWorkflowTasks(), ProcessStartupActions(), QueueBuildCurrentProject(), RepairCurrentProject(), ResetCurrentEditorLayout(), ResolvePotItemSaveConfirmation(), RestoreLayoutSnapshot(), RestoreTemporaryLayoutSnapshot(), RevertRomToSaved(), RunCurrentProject(), SaveLayoutSnapshotAs(), SaveProjectAs(), SaveRomInternal(), SetupDialogCallbacks(), ShowProjectFileEditor(), SwitchToEditor(), toast_manager(), and UpdateEditorState().
|
private |
Definition at line 657 of file editor_manager.h.
Referenced by feature_hint_manager(), InitializeServices(), MaybeEmitZScreamRomLoadHints(), and SwitchToEditor().
|
private |
Definition at line 658 of file editor_manager.h.
Referenced by InitializeSubsystems(), and menu_builder().
|
private |
Definition at line 659 of file editor_manager.h.
Referenced by ConfigureEditorDependencies(), InitializeShortcutSystem(), InitializeSubsystems(), ProcessInput(), and shortcut_manager().
|
private |
Definition at line 660 of file editor_manager.h.
Referenced by ApplyCurrentProjectRuntimeContext(), ApplyDefaultBackupPolicy(), ApplyLayoutDefaultsMigrationIfNeeded(), CaptureActiveProjectContext(), ConfigureEditorDependencies(), ConfigureSession(), DrawInterface(), FinalizeNewProject(), GetEditorContextSnapshot(), HandleSessionCreated(), HandleSessionSwitched(), Initialize(), InitializeServices(), InitializeShortcutSystem(), InitializeSubsystems(), LoadAssets(), LoadAssetsLazy(), LoadProjectWithRom(), RefreshResourceLabelProvider(), ResetCurrentEditorLayout(), RestoreEditorLayoutAfterAssets(), RunEmulator(), SaveProject(), SaveRomInternal(), SetFontGlobalScale(), SetupComponentCallbacks(), SetupSidebarCallbacks(), ShowPostLoadSurface(), SubscribeToEvents(), SwitchToEditor(), UpdateEditorState(), user_settings(), and user_settings().
|
private |
Definition at line 664 of file editor_manager.h.
Referenced by ApplyStartupVisibilityOverrides(), CollectEditorsToPreload(), ConfigureEditorDependencies(), DrawInterface(), DrawMainMenuBar(), DrawSecondaryWindows(), GetWindowManager(), HandleSessionCreated(), HandleSessionSwitched(), HasOpenEditor(), Initialize(), InitializeServices(), InitializeShortcutSystem(), InitializeSubsystems(), LoadProjectWithRom(), OpenEditorAndPanelsFromFlags(), OpenRomOrProjectInternal(), RegisterEditors(), RegisterEmulatorPanels(), RestoreActiveEditorLayoutAfterAssets(), RestoreEditorLayoutAfterAssets(), SetupSidebarCallbacks(), ShowPostLoadSurface(), window_manager(), and window_manager().
|
private |
Definition at line 665 of file editor_manager.h.
Referenced by InitializeSubsystems(), panel_host(), panel_host(), RegisterEditors(), RegisterEmulatorPanels(), window_host(), and window_host().
|
private |
Definition at line 666 of file editor_manager.h.
Referenced by Initialize(), InitializeShortcutSystem(), and InitializeSubsystems().
|
private |
Definition at line 667 of file editor_manager.h.
Referenced by DrawMainMenuBar(), InitializeShortcutSystem(), and InitializeSubsystems().
|
private |
Definition at line 668 of file editor_manager.h.
Referenced by CreateNewProjectFromRom(), FinalizeNewProject(), ImportProject(), InitializeShortcutSystem(), and InitializeSubsystems().
|
private |
Definition at line 669 of file editor_manager.h.
Referenced by DiscardPendingRomBackupRestore(), InitializeShortcutSystem(), InitializeSubsystems(), LoadProjectWithRom(), LoadRomInternal(), OpenRomOrProjectInternal(), ReloadProjectRom(), RestoreRomBackup(), RevertRomToSavedInternal(), RunCurrentProject(), SaveRomInternal(), SwapProjectRom(), and ValidateProjectRomSelection().
|
private |
Definition at line 670 of file editor_manager.h.
Referenced by ApplyStartupVisibilityOverrides(), CreateNewProject(), DismissEditorSelection(), DrawInterface(), DrawMainMenuBar(), DrawSecondaryWindows(), HandleUIActionRequest(), HideAllWindows(), InitializeShortcutSystem(), InitializeSubsystems(), IsSidebarVisible(), LoadRomInternal(), OpenEditorAndPanelsFromFlags(), RunCurrentProject(), RunEmulator(), SetSidebarVisible(), SetupComponentCallbacks(), SetupSidebarCallbacks(), ShowAllWindows(), ShowImGuiDemo(), ShowImGuiMetrics(), ShowPostLoadSurface(), ui_coordinator(), UpdateEditorState(), and UpdateSystemUIs().
|
private |
Definition at line 671 of file editor_manager.h.
Referenced by InitializeSubsystems(), LoadDesignerLayout(), LoadDeveloperLayout(), and LoadModderLayout().
|
private |
Definition at line 672 of file editor_manager.h.
Referenced by HandleSessionSwitched(), InitializeSubsystems(), RestoreEditorLayoutAfterAssets(), and SwitchToEditor().
|
private |
Definition at line 673 of file editor_manager.h.
Referenced by ApplyCurrentProjectRuntimeContext(), AutosaveActiveSession(), CanCloseRom(), CanRevertRom(), CaptureActiveProjectContext(), CaptureActiveProjectEditingState(), CaptureCurrentRomIdentity(), CaptureRuntimeFeatureFlags(), CloseCurrentSession(), CommitRawProjectFileSave(), CompactPendingUnsavedWorkLabel(), ConfigureEditorDependencies(), ConfirmPendingUnsavedSessionActionSaveAndContinue(), CreateNewProjectFromRom(), CreateNewSession(), DescribeAllPendingUnsavedWork(), DescribePendingUnsavedWork(), DiscardPendingRomBackupRestore(), DiscardProvisionalSessionCreatedSince(), DrawInterface(), DuplicateCurrentSession(), EnsureEditorAssetsLoaded(), EnsureGameDataLoaded(), ExecutePendingUnsavedSessionAction(), FinalizeNewProject(), GenerateUniqueEditorTitle(), GetActiveSessionCount(), GetCurrentEditorSet(), GetCurrentFeatureFlags(), GetCurrentGameData(), GetCurrentRom(), GetCurrentSessionId(), GetCurrentSessionIndex(), GetPendingUnsavedSessionActionPrompt(), HandleSessionClosed(), HandleSessionCreated(), HandleSessionRomLoaded(), HasDuplicateSession(), HasPendingDungeonChangesForSession(), ImportProject(), InitializeShortcutSystem(), InitializeSubsystems(), IsCurrentProjectDirty(), IsRomBackupRestorePending(), LoadAssets(), LoadAssetsLazy(), LoadProjectWithRom(), LoadRomInternal(), MarkCurrentProjectDirty(), ModifiedSessionCount(), OpenProjectInternal(), OpenRomOrProjectInternal(), PendingDungeonRoomCountForSession(), PendingPaletteColorCountForSession(), PendingRomSaveMatchesActiveSession(), PrepareActiveProjectContextForSave(), PrepareActiveProjectEditorDraftsForSave(), PrepareRawProjectFileSave(), RebaseCleanProjectFileDraft(), ReloadProjectRom(), RemoveSession(), ReplaceActiveSessionRom(), ResolveSessionIndexById(), RestoreCurrentRomIdentity(), RestoreProjectContextAfterFailedOpen(), RestoreRomBackup(), RevertRomToSavedInternal(), SaveActiveProjectEditingWork(), SaveProject(), SaveProjectAs(), SaveRomInternal(), session_coordinator(), session_coordinator(), SessionHasPendingRomWork(), SessionHasPendingUnsavedWork(), yaze::editor::EditorManager::SessionScope::SessionScope(), SetCurrentRom(), SetupDialogCallbacks(), ShowProjectFileEditor(), StartPendingRomSave(), SwapProjectRom(), SwitchToEditor(), SwitchToSession(), UpdateEditorState(), and ValidateProjectRomSelection().
|
private |
Definition at line 675 of file editor_manager.h.
Referenced by ApplyLayoutProfile(), CaptureTemporaryLayoutSnapshot(), ClearTemporaryLayoutSnapshot(), DeleteLayoutSnapshot(), GetUiSyncStateSnapshot(), HandleSessionSwitched(), InitializeSubsystems(), ListLayoutSnapshots(), RestoreEditorLayoutAfterAssets(), RestoreLayoutSnapshot(), RestoreTemporaryLayoutSnapshot(), SaveLayoutSnapshotAs(), SubscribeToEvents(), and SyncLayoutScopeFromCurrentProject().
|
private |
Definition at line 676 of file editor_manager.h.
Referenced by ApplyLayoutPreset(), GetBottomLayoutOffset(), GetLeftLayoutOffset(), GetRightLayoutOffset(), GetUiSyncStateSnapshot(), HasPreviousEditorLayout(), InitializeSubsystems(), ResetCurrentEditorLayout(), ResetWorkspaceLayout(), RestorePreviousEditorLayout(), SubscribeToEvents(), and UpdateEditorState().
|
private |
Definition at line 678 of file editor_manager.h.
Referenced by ApplyLayoutProfile(), DrawInterface(), HandleHostVisibilityChanged(), HandleSessionSwitched(), HandleUIActionRequest(), InitializeServices(), InitializeSubsystems(), LoadAssets(), LoadAssetsLazy(), right_drawer_manager(), right_drawer_manager(), SetCurrentEditor(), and ShowProjectManagement().
|
private |
Definition at line 679 of file editor_manager.h.
Referenced by BuildCurrentProject(), CancelQueuedProjectBuild(), ConfigureEditorDependencies(), DrawInterface(), EditorManager(), InitializeSubsystems(), LoadAssets(), LoadAssetsLazy(), LoadProjectWithRom(), PollProjectWorkflowTasks(), QueueBuildCurrentProject(), RunCurrentProject(), and status_bar().
|
private |
Definition at line 680 of file editor_manager.h.
Referenced by DrawInterface(), and InitializeSubsystems().
|
private |
Definition at line 681 of file editor_manager.h.
Referenced by Initialize(), InitializeShortcutSystem(), InitializeSubsystems(), LoadWorkspaceLayout(), LoadWorkspacePreset(), RefreshWorkspacePresets(), SaveWorkspaceLayout(), SaveWorkspacePreset(), and workspace_manager().
|
private |
Definition at line 773 of file editor_manager.h.
Referenced by UpdateEditorState().
|
private |
Definition at line 774 of file editor_manager.h.
Referenced by ApplyLayoutDefaultsMigrationIfNeeded(), InitializeServices(), ResetCurrentEditorLayout(), SetupSidebarCallbacks(), SubscribeToEvents(), and UpdateEditorState().
|
private |
Definition at line 775 of file editor_manager.h.
Referenced by ApplyLayoutDefaultsMigrationIfNeeded(), InitializeServices(), ResetCurrentEditorLayout(), SetupSidebarCallbacks(), SubscribeToEvents(), and UpdateEditorState().
|
private |
Definition at line 776 of file editor_manager.h.
Referenced by ApplyLayoutDefaultsMigrationIfNeeded(), and Initialize().
|
private |
Definition at line 777 of file editor_manager.h.
Referenced by CancelPendingUnsavedSessionAction(), ConfirmPendingUnsavedSessionActionDiscardAndContinue(), ConfirmPendingUnsavedSessionActionSaveAndContinue(), GetPendingUnsavedSessionActionContinueLabel(), GetPendingUnsavedSessionActionPrompt(), GetPendingUnsavedSessionActionSaveLabel(), HasPendingUnsavedSessionAction(), and MaybeGuardPendingSessionAction().
|
mutableprivate |
Definition at line 781 of file editor_manager.h.
Referenced by ApplyCurrentProjectRuntimeContext(), ApplyDefaultBackupPolicy(), BypassWriteConflictOnce(), CancelPendingRomSave(), CheckOracleRomSafetyPreSave(), CheckRomWritePolicy(), ConfirmRomWrite(), GetCurrentRomHash(), GetRomBackups(), HasPendingPotItemSaveConfirmation(), HasPendingRomSaveConfirmation(), InitializeSubsystems(), IsRomHashMismatch(), IsRomWriteConfirmPending(), LoadProjectWithRom(), OpenRomOrProjectInternal(), pending_pot_item_total_rooms(), pending_pot_item_unloaded_rooms(), pending_write_conflicts(), PruneRomBackups(), ReloadProjectRom(), ResolvePotItemSaveConfirmation(), RestoreCurrentRomIdentity(), RestoreProjectContextForSession(), RestoreRomBackup(), ResumePendingRomSave(), SaveRom(), SaveRomInternal(), SwapProjectRom(), and ValidateProjectRomSelection().
|
private |
Definition at line 787 of file editor_manager.h.
Referenced by CancelPendingRomSave(), HandleSessionCreated(), PendingRomSaveMatchesActiveSession(), ResumePendingRomSave(), SaveRom(), SaveRomAs(), and StartPendingRomSave().
|
private |
Definition at line 790 of file editor_manager.h.
Referenced by QueueDeferredAction(), and SubscribeToEvents().
|
private |
Definition at line 791 of file editor_manager.h.
Referenced by GetUiSyncStateSnapshot(), QueueDeferredAction(), SubscribeToEvents(), and WantsContinuousFrames().
|
private |
Definition at line 792 of file editor_manager.h.
Referenced by GetUiSyncStateSnapshot(), and SubscribeToEvents().
|
private |
Definition at line 793 of file editor_manager.h.
Referenced by CancelQueuedProjectBuild(), LoadProjectWithRom(), PollProjectWorkflowTasks(), and QueueBuildCurrentProject().
|
private |
Definition at line 794 of file editor_manager.h.
Referenced by LoadProjectWithRom(), PollProjectWorkflowTasks(), and QueueBuildCurrentProject().
|
private |
Definition at line 797 of file editor_manager.h.
Referenced by EditorManager(), InitializeSubsystems(), OpenEditorAndPanelsFromFlags(), ProcessStartupActions(), and SubscribeToEvents().
|
private |
Definition at line 798 of file editor_manager.h.
Referenced by ConfigureEditorDependencies(), and EditorManager().
|
private |
Definition at line 799 of file editor_manager.h.
Referenced by RefreshHackWorkflowBackend().