![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
BlueprintEditor Singleton Backend Manages all business logic, state, and data for the Blueprint Editor Completely separated from UI rendering (handled by BlueprintEditorGUI) More...
#include <blueprinteditor.h>
Collaboration diagram for Olympe::BlueprintEditor:Static Public Member Functions | |
| static BlueprintEditor & | Instance () |
| static BlueprintEditor & | Get () |
Private Member Functions | |
| BlueprintEditor () | |
| ~BlueprintEditor () | |
| BlueprintEditor (const BlueprintEditor &)=delete | |
| BlueprintEditor & | operator= (const BlueprintEditor &)=delete |
| std::shared_ptr< AssetNode > | ScanDirectory (const std::string &path) |
| void | ParseAssetMetadata (const std::string &filepath, AssetMetadata &metadata) |
| void | ParseEntityBlueprint (const json &j, AssetMetadata &metadata) |
| void | ParseBehaviorTree (const json &j, AssetMetadata &metadata) |
| void | ParseHFSM (const json &j, AssetMetadata &metadata) |
| void | CollectAllAssets (const std::shared_ptr< AssetNode > &node, std::vector< AssetMetadata > &assets) const |
Private Attributes | |
| bool | m_IsActive |
| bool | m_HasUnsavedChanges |
| Blueprint::EntityBlueprint | m_CurrentBlueprint |
| std::string | m_CurrentFilepath |
| std::string | m_AssetRootPath |
| std::string | m_GamedataRootPath |
| std::shared_ptr< AssetNode > | m_AssetTreeRoot |
| std::string | m_LastError |
| std::vector< uint64_t > | m_RuntimeEntities |
| uint64_t | m_SelectedEntity |
| std::string | m_SelectedAssetPath |
| std::map< std::string, AssetMetadata > | m_AssetMetadataCache |
| std::string | m_LastCachedAssetPath |
| Blueprint::CommandStack * | m_CommandStack |
| std::map< std::string, std::unique_ptr< class BlueprintEditorPlugin > > | m_Plugins |
| bool | m_ShowMigrationDialog |
| std::vector< std::string > | m_BlueprintsToMigrate |
| json | m_Config |
BlueprintEditor Singleton Backend Manages all business logic, state, and data for the Blueprint Editor Completely separated from UI rendering (handled by BlueprintEditorGUI)
Definition at line 173 of file blueprinteditor.h.
|
private |
Definition at line 52 of file blueprinteditor.cpp.
|
private |
Definition at line 63 of file blueprinteditor.cpp.
References m_CommandStack.
|
privatedelete |
Definition at line 1120 of file blueprinteditor.cpp.
References Olympe::Blueprint::EntityBlueprint::FromJson(), Olympe::TemplateManager::Get(), GetComponentTypeID_Static(), Olympe::TemplateManager::GetLastError(), m_CurrentBlueprint, m_CurrentFilepath, m_HasUnsavedChanges, and m_LastError.
Here is the call graph for this function:| bool Olympe::BlueprintEditor::CanRedo | ( | ) | const |
Definition at line 1184 of file blueprinteditor.cpp.
References Olympe::Blueprint::CommandStack::CanRedo(), and m_CommandStack.
Here is the call graph for this function:| bool Olympe::BlueprintEditor::CanUndo | ( | ) | const |
Definition at line 1179 of file blueprinteditor.cpp.
References Olympe::Blueprint::CommandStack::CanUndo(), and m_CommandStack.
Here is the call graph for this function:
|
inline |
Definition at line 243 of file blueprinteditor.h.
References m_LastError.
|
inline |
Definition at line 211 of file blueprinteditor.h.
References m_HasUnsavedChanges.
|
private |
Definition at line 575 of file blueprinteditor.cpp.
References CollectAllAssets(), Olympe::AssetMetadata::filepath, GetComponentTypeID_Static(), Olympe::AssetMetadata::isDirectory, Olympe::AssetMetadata::name, ParseAssetMetadata(), and Olympe::AssetMetadata::type.
Referenced by CollectAllAssets(), and GetAllAssets().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 1139 of file blueprinteditor.cpp.
References DeleteTemplate(), Olympe::TemplateManager::Get(), GetComponentTypeID_Static(), Olympe::TemplateManager::GetLastError(), and m_LastError.
Referenced by DeleteTemplate().
Here is the call graph for this function:
Here is the caller graph for this function:| std::string Olympe::BlueprintEditor::DetectAssetType | ( | const std::string & | filepath | ) |
Definition at line 377 of file blueprinteditor.cpp.
References GetComponentTypeID_Static(), and JsonHelper::LoadJsonFromFile().
Referenced by GetAssetMetadata(), OpenGraphInEditor(), and ScanDirectory().
Here is the call graph for this function:
Here is the caller graph for this function:| BlueprintEditorPlugin * Olympe::BlueprintEditor::DetectPlugin | ( | const json & | blueprint | ) |
Definition at line 1249 of file blueprinteditor.cpp.
References GetComponentTypeID_Static(), GetPlugin(), and m_Plugins.
Here is the call graph for this function:
|
inlinestatic |
Definition at line 178 of file blueprinteditor.h.
References Instance().
Referenced by Olympe::BlueprintEditorGUI::AddComponent(), Olympe::NodeGraphPanel::CreateNewNode(), Olympe::InspectorPanel::DetermineContext(), Olympe::BlueprintEditorGUI::HandleKeyboardShortcuts(), Olympe::NodeGraphPanel::HandleKeyboardShortcuts(), Olympe::NodeGraphPanel::HandleNodeInteractions(), Olympe::BlueprintEditorGUI::Initialize(), Olympe::AssetBrowser::Initialize(), Olympe::AssetInfoPanel::LoadAsset(), Olympe::BlueprintEditorGUI::LoadBlueprint(), Olympe::BlueprintEditorGUI::NewBlueprint(), NotifyEditorEntityCreated(), NotifyEditorEntityDestroyed(), Olympe::AssetBrowser::Refresh(), Olympe::BlueprintEditorGUI::RemoveComponent(), Olympe::BlueprintEditorGUI::Render(), Olympe::HistoryPanel::Render(), Olympe::InspectorPanel::RenderAssetFileInspector(), Olympe::AssetBrowser::RenderContent(), Olympe::NodeGraphPanel::RenderContent(), Olympe::InspectorPanel::RenderEntityInspector(), Olympe::EntitiesPanel::RenderEntityItem(), Olympe::BlueprintEditorGUI::RenderEntityPanel(), Olympe::NodeGraphPanel::RenderGraph(), Olympe::BlueprintEditorGUI::RenderMigrationDialog(), Olympe::BlueprintEditorGUI::RenderNodeEditor(), Olympe::BlueprintEditorGUI::RenderPropertyPanel(), GameMenu::RenderRuntimeBlueprintPanel(), Olympe::TemplateBrowserPanel::RenderSaveAsTemplateModal(), Olympe::BlueprintEditorGUI::RenderStatusBar(), Olympe::TemplateBrowserPanel::RenderTemplateBrowser(), Olympe::AssetBrowser::RenderTreeNode(), Olympe::BlueprintEditorGUI::SaveBlueprint(), Olympe::BlueprintEditorGUI::SaveBlueprintAs(), SDL_AppEvent(), SDL_AppInit(), SDL_AppIterate(), SDL_AppQuit(), and Olympe::BlueprintEditorGUI::Shutdown().
Here is the call graph for this function:
Here is the caller graph for this function:| std::vector< AssetMetadata > Olympe::BlueprintEditor::GetAllAssets | ( | ) | const |
Definition at line 565 of file blueprinteditor.cpp.
References CollectAllAssets(), GetComponentTypeID_Static(), and m_AssetTreeRoot.
Referenced by GetAssetsByType(), and SearchAssets().
Here is the call graph for this function:
Here is the caller graph for this function:| AssetMetadata Olympe::BlueprintEditor::GetAssetMetadata | ( | const std::string & | filepath | ) |
Definition at line 644 of file blueprinteditor.cpp.
References DetectAssetType(), Olympe::AssetMetadata::errorMessage, Olympe::AssetMetadata::filepath, GetComponentTypeID_Static(), Olympe::AssetMetadata::isValid, m_AssetMetadataCache, Olympe::AssetMetadata::name, ParseAssetMetadata(), and Olympe::AssetMetadata::type.
Referenced by Olympe::AssetInfoPanel::LoadAsset(), and Olympe::InspectorPanel::RenderAssetFileInspector().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 214 of file blueprinteditor.h.
References m_AssetRootPath.
| std::vector< AssetMetadata > Olympe::BlueprintEditor::GetAssetsByType | ( | const std::string & | type | ) | const |
Definition at line 602 of file blueprinteditor.cpp.
References GetAllAssets(), and GetComponentTypeID_Static().
Here is the call graph for this function:
|
inline |
Definition at line 219 of file blueprinteditor.h.
References m_AssetTreeRoot.
Referenced by Olympe::AssetBrowser::RenderContent().
Here is the caller graph for this function:| CommandStack * Olympe::BlueprintEditor::GetCommandStack | ( | ) |
Definition at line 1207 of file blueprinteditor.cpp.
References m_CommandStack.
Referenced by Olympe::NodeGraphPanel::CreateNewNode(), Olympe::NodeGraphPanel::HandleKeyboardShortcuts(), Olympe::NodeGraphPanel::HandleNodeInteractions(), and Olympe::NodeGraphPanel::RenderGraph().
Here is the caller graph for this function:Definition at line 307 of file blueprinteditor.h.
References m_Config.
|
inline |
Definition at line 308 of file blueprinteditor.h.
References m_Config.
|
inline |
Definition at line 201 of file blueprinteditor.h.
References m_CurrentBlueprint.
|
inline |
Definition at line 202 of file blueprinteditor.h.
References m_CurrentBlueprint.
Referenced by Olympe::BlueprintEditorGUI::AddComponent(), and Olympe::BlueprintEditorGUI::RemoveComponent().
Here is the caller graph for this function:
|
inline |
Definition at line 207 of file blueprinteditor.h.
References m_CurrentFilepath.
| std::string Olympe::BlueprintEditor::GetLastCommandDescription | ( | ) | const |
Definition at line 1189 of file blueprinteditor.cpp.
References Olympe::Blueprint::CommandStack::GetLastCommandDescription(), and m_CommandStack.
Here is the call graph for this function:
|
inline |
Definition at line 241 of file blueprinteditor.h.
References m_LastError.
Referenced by Olympe::TemplateBrowserPanel::RenderSaveAsTemplateModal().
Here is the caller graph for this function:| std::string Olympe::BlueprintEditor::GetNextRedoDescription | ( | ) | const |
Definition at line 1198 of file blueprinteditor.cpp.
References Olympe::Blueprint::CommandStack::GetNextRedoDescription(), and m_CommandStack.
Here is the call graph for this function:| BlueprintEditorPlugin * Olympe::BlueprintEditor::GetPlugin | ( | const std::string & | type | ) |
Definition at line 1239 of file blueprinteditor.cpp.
References GetComponentTypeID_Static(), and m_Plugins.
Referenced by DetectPlugin().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 251 of file blueprinteditor.h.
References m_RuntimeEntities.
|
inline |
Definition at line 252 of file blueprinteditor.h.
References m_RuntimeEntities.
|
inline |
Definition at line 261 of file blueprinteditor.h.
References m_SelectedAssetPath.
Referenced by Olympe::InspectorPanel::RenderAssetFileInspector().
Here is the caller graph for this function:
|
inline |
Definition at line 256 of file blueprinteditor.h.
References m_SelectedEntity.
Referenced by Olympe::NodeGraphPanel::RenderContent(), Olympe::InspectorPanel::RenderEntityInspector(), and Olympe::EntitiesPanel::RenderEntityItem().
Here is the caller graph for this function:
|
inline |
Definition at line 205 of file blueprinteditor.h.
References m_CurrentBlueprint, and Olympe::Blueprint::EntityBlueprint::name.
Referenced by SaveCurrentAsTemplate().
Here is the caller graph for this function:
|
inline |
Definition at line 242 of file blueprinteditor.h.
References m_LastError.
Referenced by Olympe::AssetBrowser::RenderContent().
Here is the caller graph for this function:
|
inline |
Definition at line 262 of file blueprinteditor.h.
References m_SelectedAssetPath.
|
inline |
Definition at line 257 of file blueprinteditor.h.
References m_SelectedEntity.
|
inline |
Definition at line 206 of file blueprinteditor.h.
References m_HasUnsavedChanges.
| void Olympe::BlueprintEditor::Initialize | ( | ) |
Definition at line 72 of file blueprinteditor.cpp.
References Olympe::NodeGraphManager::Get(), Olympe::EntityInspectorManager::Get(), Olympe::EnumCatalogManager::Get(), Olympe::TemplateManager::Get(), Olympe::NodeGraphManager::Initialize(), Olympe::EntityInspectorManager::Initialize(), Olympe::EnumCatalogManager::Initialize(), Olympe::TemplateManager::Initialize(), InitializePlugins(), LoadConfig(), m_AssetTreeRoot, m_CommandStack, m_CurrentBlueprint, m_CurrentFilepath, m_HasUnsavedChanges, m_IsActive, m_LastError, and RefreshAssets().
Referenced by SDL_AppInit().
Here is the call graph for this function:
Here is the caller graph for this function:| void Olympe::BlueprintEditor::InitializePlugins | ( | ) |
Definition at line 1216 of file blueprinteditor.cpp.
References m_Plugins, and RegisterPlugin().
Referenced by Initialize().
Here is the call graph for this function:
Here is the caller graph for this function:| void Olympe::BlueprintEditor::InitializeRuntimeEditor | ( | ) |
Definition at line 109 of file blueprinteditor.cpp.
References Olympe::EditorContext::Get(), and Olympe::EditorContext::InitializeRuntime().
Referenced by SDL_AppInit().
Here is the call graph for this function:
Here is the caller graph for this function:| void Olympe::BlueprintEditor::InitializeStandaloneEditor | ( | ) |
Definition at line 116 of file blueprinteditor.cpp.
References Olympe::EditorContext::Get(), Olympe::EditorContext::InitializeStandalone(), and PreloadATSGraphs().
Referenced by SDL_AppInit().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 46 of file blueprinteditor.cpp.
References GetComponentTypeID_Static().
Referenced by Get().
Here is the call graph for this function:
Here is the caller graph for this function:| void Olympe::BlueprintEditor::InvalidateAssetMetadataCache | ( | ) |
Definition at line 1031 of file blueprinteditor.cpp.
References m_AssetMetadataCache.
Referenced by RefreshAssets(), and SelectAsset().
Here is the caller graph for this function:
|
inline |
Definition at line 190 of file blueprinteditor.h.
References m_IsActive.
Definition at line 949 of file blueprinteditor.cpp.
References GetComponentTypeID_Static(), and JsonHelper::LoadJsonFromFile().
Here is the call graph for this function:Definition at line 180 of file blueprinteditor.cpp.
References GetComponentTypeID_Static(), Olympe::Blueprint::EntityBlueprint::LoadFromFile(), m_CurrentBlueprint, m_CurrentFilepath, and m_HasUnsavedChanges.
Here is the call graph for this function:| bool Olympe::BlueprintEditor::LoadConfig | ( | const std::string & | configPath = "blueprint_editor_config.json" | ) |
Definition at line 1399 of file blueprinteditor.cpp.
References GetComponentTypeID_Static(), m_Config, and SaveConfig().
Referenced by Initialize().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 210 of file blueprinteditor.h.
References m_HasUnsavedChanges.
Referenced by Olympe::BlueprintEditorGUI::AddComponent(), and Olympe::BlueprintEditorGUI::RemoveComponent().
Here is the caller graph for this function:| void Olympe::BlueprintEditor::MigrateAllBlueprints | ( | ) |
Definition at line 1304 of file blueprinteditor.cpp.
References GetComponentTypeID_Static(), JsonHelper::LoadJsonFromFile(), m_AssetRootPath, RefreshAssets(), and ScanBlueprintFiles().
Here is the call graph for this function:| void Olympe::BlueprintEditor::NewBlueprint | ( | const std::string & | name, |
| const std::string & | description = "" |
||
| ) |
Definition at line 172 of file blueprinteditor.cpp.
References Olympe::Blueprint::EntityBlueprint::description, m_CurrentBlueprint, m_CurrentFilepath, and m_HasUnsavedChanges.
Referenced by Olympe::BlueprintEditorGUI::NewBlueprint().
Here is the caller graph for this function:Definition at line 966 of file blueprinteditor.cpp.
References GetComponentTypeID_Static(), and m_RuntimeEntities.
Referenced by NotifyEditorEntityCreated().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 978 of file blueprinteditor.cpp.
References GetComponentTypeID_Static(), m_RuntimeEntities, and m_SelectedEntity.
Referenced by NotifyEditorEntityDestroyed().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 1043 of file blueprinteditor.cpp.
References DetectAssetType(), Olympe::NodeGraphManager::Get(), Olympe::TabManager::Get(), GetComponentTypeID_Static(), Olympe::NodeGraphManager::LoadGraph(), m_LastError, Olympe::TabManager::OpenFileInTab(), and SYSTEM_LOG.
Referenced by Olympe::InspectorPanel::RenderAssetFileInspector(), and Olympe::AssetBrowser::RenderTreeNode().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privatedelete |
|
private |
Definition at line 683 of file blueprinteditor.cpp.
References Olympe::AssetMetadata::description, Olympe::AssetMetadata::errorMessage, GetComponentTypeID_Static(), JsonHelper::GetString(), Olympe::AssetMetadata::isValid, JsonHelper::LoadJsonFromFile(), Olympe::AssetMetadata::name, ParseBehaviorTree(), ParseEntityBlueprint(), ParseHFSM(), and Olympe::AssetMetadata::type.
Referenced by CollectAllAssets(), and GetAssetMetadata().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 841 of file blueprinteditor.cpp.
References Olympe::AssetMetadata::description, GetComponentTypeID_Static(), JsonHelper::GetString(), Olympe::AssetMetadata::name, Olympe::AssetMetadata::nodeCount, and Olympe::AssetMetadata::nodes.
Referenced by ParseAssetMetadata().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 800 of file blueprinteditor.cpp.
References Olympe::AssetMetadata::componentCount, Olympe::AssetMetadata::components, Olympe::AssetMetadata::description, GetComponentTypeID_Static(), JsonHelper::GetString(), and Olympe::AssetMetadata::name.
Referenced by ParseAssetMetadata().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 914 of file blueprinteditor.cpp.
References Olympe::AssetMetadata::description, GetComponentTypeID_Static(), JsonHelper::GetString(), Olympe::AssetMetadata::name, Olympe::AssetMetadata::nodeCount, and Olympe::AssetMetadata::nodes.
Referenced by ParseAssetMetadata().
Here is the call graph for this function:
Here is the caller graph for this function:| void Olympe::BlueprintEditor::PreloadATSGraphs | ( | ) |
Definition at line 505 of file blueprinteditor.cpp.
References Olympe::AssetManager::Get(), GetComponentTypeID_Static(), Olympe::INVALID_ASSET_ID, Olympe::AssetManager::LoadTaskGraph(), m_AssetRootPath, m_AssetTreeRoot, and m_GamedataRootPath.
Referenced by InitializeStandaloneEditor().
Here is the call graph for this function:
Here is the caller graph for this function:| void Olympe::BlueprintEditor::Redo | ( | ) |
Definition at line 1170 of file blueprinteditor.cpp.
References m_CommandStack, m_HasUnsavedChanges, and Olympe::Blueprint::CommandStack::Redo().
Referenced by Olympe::NodeGraphPanel::HandleKeyboardShortcuts().
Here is the call graph for this function:
Here is the caller graph for this function:| void Olympe::BlueprintEditor::RefreshAssets | ( | ) |
Definition at line 246 of file blueprinteditor.cpp.
References GetComponentTypeID_Static(), InvalidateAssetMetadataCache(), m_AssetRootPath, m_AssetTreeRoot, m_GamedataRootPath, m_LastError, and ScanDirectory().
Referenced by Initialize(), MigrateAllBlueprints(), Olympe::AssetBrowser::Refresh(), and SetAssetRootPath().
Here is the call graph for this function:
Here is the caller graph for this function:| void Olympe::BlueprintEditor::RegisterPlugin | ( | std::unique_ptr< class BlueprintEditorPlugin > | plugin | ) |
Definition at line 1232 of file blueprinteditor.cpp.
References GetComponentTypeID_Static(), and m_Plugins.
Referenced by InitializePlugins().
Here is the call graph for this function:
Here is the caller graph for this function:| void Olympe::BlueprintEditor::ReloadTemplates | ( | ) |
Definition at line 1151 of file blueprinteditor.cpp.
References Olympe::TemplateManager::Get(), and Olympe::TemplateManager::RefreshTemplates().
Referenced by Olympe::TemplateBrowserPanel::RenderTemplateBrowser().
Here is the call graph for this function:
Here is the caller graph for this function:| bool Olympe::BlueprintEditor::SaveBlueprint | ( | ) |
Definition at line 195 of file blueprinteditor.cpp.
References m_CurrentBlueprint, m_CurrentFilepath, m_HasUnsavedChanges, Olympe::Blueprint::EntityBlueprint::name, and Olympe::Blueprint::EntityBlueprint::SaveToFile().
Here is the call graph for this function:Definition at line 218 of file blueprinteditor.cpp.
References m_CurrentBlueprint, m_CurrentFilepath, m_HasUnsavedChanges, Olympe::Blueprint::EntityBlueprint::name, and Olympe::Blueprint::EntityBlueprint::SaveToFile().
Here is the call graph for this function:| bool Olympe::BlueprintEditor::SaveConfig | ( | const std::string & | configPath = "blueprint_editor_config.json" | ) |
Definition at line 1453 of file blueprinteditor.cpp.
References GetComponentTypeID_Static(), and m_Config.
Referenced by LoadConfig(), and Shutdown().
Here is the call graph for this function:
Here is the caller graph for this function:| bool Olympe::BlueprintEditor::SaveCurrentAsTemplate | ( | const std::string & | name, |
| const std::string & | description, | ||
| const std::string & | category | ||
| ) |
Definition at line 1087 of file blueprinteditor.cpp.
References Olympe::TemplateManager::CreateTemplateFromBlueprint(), Olympe::TemplateManager::Get(), GetComponentTypeID_Static(), Olympe::TemplateManager::GetLastError(), HasBlueprint(), m_CurrentBlueprint, m_LastError, and Olympe::Blueprint::EntityBlueprint::ToJson().
Here is the call graph for this function:| std::vector< std::string > Olympe::BlueprintEditor::ScanBlueprintFiles | ( | const std::string & | directory | ) |
Definition at line 1276 of file blueprinteditor.cpp.
References GetComponentTypeID_Static().
Referenced by MigrateAllBlueprints().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 315 of file blueprinteditor.cpp.
References DetectAssetType(), GetComponentTypeID_Static(), and ScanDirectory().
Referenced by RefreshAssets(), and ScanDirectory().
Here is the call graph for this function:
Here is the caller graph for this function:| std::vector< AssetMetadata > Olympe::BlueprintEditor::SearchAssets | ( | const std::string & | query | ) | const |
Definition at line 618 of file blueprinteditor.cpp.
References GetAllAssets(), and GetComponentTypeID_Static().
Here is the call graph for this function:Definition at line 1016 of file blueprinteditor.cpp.
References GetComponentTypeID_Static(), InvalidateAssetMetadataCache(), and m_SelectedAssetPath.
Referenced by Olympe::AssetBrowser::RenderTreeNode().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 192 of file blueprinteditor.h.
References GetComponentTypeID_Static(), and m_IsActive.
Referenced by SDL_AppInit().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 240 of file blueprinteditor.cpp.
References m_AssetRootPath, and RefreshAssets().
Referenced by Olympe::AssetBrowser::Initialize().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 1000 of file blueprinteditor.cpp.
References m_SelectedEntity.
Referenced by Olympe::EntitiesPanel::RenderEntityItem().
Here is the caller graph for this function:Definition at line 302 of file blueprinteditor.h.
References GetComponentTypeID_Static(), and m_ShowMigrationDialog.
Here is the call graph for this function:
|
inline |
Definition at line 301 of file blueprinteditor.h.
References m_ShowMigrationDialog.
| void Olympe::BlueprintEditor::Shutdown | ( | ) |
Definition at line 127 of file blueprinteditor.cpp.
References Olympe::NodeGraphManager::Get(), Olympe::EntityInspectorManager::Get(), Olympe::EnumCatalogManager::Get(), Olympe::TemplateManager::Get(), m_CommandStack, m_CurrentBlueprint, m_CurrentFilepath, m_HasUnsavedChanges, SaveConfig(), Olympe::NodeGraphManager::Shutdown(), Olympe::EntityInspectorManager::Shutdown(), Olympe::EnumCatalogManager::Shutdown(), Olympe::TemplateManager::Shutdown(), and Olympe::WorldBridge_UnregisterTaskCallback().
Referenced by SDL_AppQuit().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 191 of file blueprinteditor.h.
References m_IsActive.
| void Olympe::BlueprintEditor::Undo | ( | ) |
Definition at line 1161 of file blueprinteditor.cpp.
References m_CommandStack, m_HasUnsavedChanges, and Olympe::Blueprint::CommandStack::Undo().
Referenced by Olympe::NodeGraphPanel::HandleKeyboardShortcuts().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 154 of file blueprinteditor.cpp.
References Olympe::EntityInspectorManager::Get(), and Olympe::EntityInspectorManager::Update().
Referenced by SDL_AppIterate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 355 of file blueprinteditor.h.
Referenced by GetAssetMetadata(), and InvalidateAssetMetadataCache().
|
private |
Definition at line 337 of file blueprinteditor.h.
Referenced by GetAssetRootPath(), MigrateAllBlueprints(), PreloadATSGraphs(), RefreshAssets(), and SetAssetRootPath().
|
private |
Definition at line 339 of file blueprinteditor.h.
Referenced by GetAllAssets(), GetAssetTree(), Initialize(), PreloadATSGraphs(), and RefreshAssets().
|
private |
Definition at line 366 of file blueprinteditor.h.
|
private |
Definition at line 359 of file blueprinteditor.h.
Referenced by CanRedo(), CanUndo(), GetCommandStack(), GetLastCommandDescription(), GetNextRedoDescription(), Initialize(), Redo(), Shutdown(), Undo(), and ~BlueprintEditor().
|
private |
Definition at line 369 of file blueprinteditor.h.
Referenced by GetConfig(), GetConfigMutable(), LoadConfig(), and SaveConfig().
|
private |
Definition at line 333 of file blueprinteditor.h.
Referenced by ApplyTemplate(), GetCurrentBlueprint(), GetCurrentBlueprintMutable(), HasBlueprint(), Initialize(), LoadBlueprint(), NewBlueprint(), SaveBlueprint(), SaveBlueprintAs(), SaveCurrentAsTemplate(), and Shutdown().
|
private |
Definition at line 334 of file blueprinteditor.h.
Referenced by ApplyTemplate(), GetCurrentFilepath(), Initialize(), LoadBlueprint(), NewBlueprint(), SaveBlueprint(), SaveBlueprintAs(), and Shutdown().
|
private |
Definition at line 338 of file blueprinteditor.h.
Referenced by PreloadATSGraphs(), and RefreshAssets().
|
private |
Definition at line 330 of file blueprinteditor.h.
Referenced by ApplyTemplate(), ClearModified(), HasUnsavedChanges(), Initialize(), LoadBlueprint(), MarkAsModified(), NewBlueprint(), Redo(), SaveBlueprint(), SaveBlueprintAs(), Shutdown(), and Undo().
|
private |
Definition at line 329 of file blueprinteditor.h.
Referenced by Initialize(), IsActive(), SetActive(), and ToggleActive().
|
private |
Definition at line 356 of file blueprinteditor.h.
|
private |
Definition at line 342 of file blueprinteditor.h.
Referenced by ApplyTemplate(), ClearError(), DeleteTemplate(), GetLastError(), HasError(), Initialize(), OpenGraphInEditor(), RefreshAssets(), and SaveCurrentAsTemplate().
|
private |
Definition at line 362 of file blueprinteditor.h.
Referenced by DetectPlugin(), GetPlugin(), InitializePlugins(), and RegisterPlugin().
|
private |
Definition at line 345 of file blueprinteditor.h.
Referenced by GetRuntimeEntities(), GetRuntimeEntityCount(), NotifyEntityCreated(), and NotifyEntityDestroyed().
|
private |
Definition at line 351 of file blueprinteditor.h.
Referenced by GetSelectedAssetPath(), HasSelectedAsset(), and SelectAsset().
|
private |
Definition at line 348 of file blueprinteditor.h.
Referenced by GetSelectedEntity(), HasSelectedEntity(), NotifyEntityDestroyed(), and SetSelectedEntity().
|
private |
Definition at line 365 of file blueprinteditor.h.
Referenced by SetShowMigrationDialog(), and ShowMigrationDialog().