17#include "../../NodeGraphCore/NodeGraphCore.h"
18#include "../../NodeGraphCore/GraphDocument.h"
19#include "../../NodeGraphCore/NodeGraphManager.h"
20#include "../../NodeGraphCore/CommandSystem.h"
21#include "../../NodeGraphCore/Commands/ToggleNodeBreakpointCommand.h"
22#include "../../NodeGraphCore/BlackboardSystem.h"
23#include "../AIGraphPlugin_BT/BTNodeRegistry.h"
24#include "../AIGraphPlugin_BT/BTNodePalette.h"
69 void Update(
float deltaTime);
ImGui panel for editing blackboard variables (Phase 2.1)
ComponentTypeID GetComponentTypeID_Static()
Main AI Editor GUI class.
static std::string ExtractDirectory(const std::string &filepath)
Extract directory from filepath.
void MenuAction_AutoLayout()
void RenderInspector()
Render inspector panel (right)
void HandleNodeCreation()
Handle node creation from palette.
std::string m_lastOpenPath
void MenuAction_ShowNodePalette()
void RenderNodeGraphCanvas()
Render node graph with ImNodes.
std::unique_ptr< BTNodePalette > m_nodePalette
std::vector< int > m_selectedLinkIds
void MenuAction_ResetLayout()
void Shutdown()
Shutdown and cleanup.
std::vector< std::string > m_assetFiles
static bool EndsWith(const std::string &str, const std::string &suffix)
Check if string ends with suffix.
static std::string ExtractFilename(const std::string &filepath)
Extract filename from filepath.
void RenderRuntimeDebugPanel()
Render runtime debug panel (entity list + execution)
void Render()
Render the complete UI.
void MenuAction_ShowBlackboard()
void RenderNode(NodeGraph::NodeId nodeId)
Render a single node.
void HandleLinkCreation()
Handle link creation.
bool m_showRuntimeDebugPanel
void RenderBlackboardPanel()
Render blackboard inspector panel.
BlackboardPanel m_blackboardPanel
void RenderMenuBar()
Render main menu bar.
void MenuAction_NewHFSM()
void MenuAction_ShowSensesPanel()
bool m_showBlackboardPanel
void RenderSensesPanel()
Render AI senses debug panel.
NodeGraph::CommandStack & GetCommandStack()
Get command stack for undo/redo.
void MenuAction_SelectAll()
void HandleNodeSelection()
Handle node selection.
void SetActive(bool active)
Set editor active state.
void RenderNodeGraph()
Render node graph panel (center)
char m_assetSearchFilter[256]
std::string m_lastSavePath
void RenderConnections()
Render connections between nodes.
std::vector< int > m_selectedNodeIds
void RenderAssetEntry(const std::string &filename, const std::string &fullPath)
Render asset entry.
void ScanAIGraphDirectory(const std::string &directory)
Scan directory for AI graphs.
void Update(float deltaTime)
Update (called per frame)
bool Initialize()
Initialize the editor.
void MenuAction_ShowRuntimeDebug()
bool IsActive() const
Check if editor is active.
void RenderAssetBrowser()
Render asset browser panel (left)
NodeGraph::CommandStack m_commandStack
Full-featured ImGui panel for editing BlackboardSystem variables.
Manages undo/redo stacks for commands.
< Provides AssetID and INVALID_ASSET_ID