Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
Classes | Enumerations | Functions | Variables
Olympe::AI Namespace Reference

Classes

class  AIEditorClipboard
 Singleton clipboard manager for AI Editor. More...
 
class  AIEditorFileDialog
 Wrapper for native file dialog operations. More...
 
class  AIEditorGUI
 Main AI Editor GUI class. More...
 
class  AIEditorMenus
 Static menu helper functions. More...
 
class  AIEditorNodeRenderer
 Renders nodes with ImNodes using BT styling. More...
 
class  BlackboardInspectorPanel
 Panel for editing blackboard variables. More...
 
class  BlackboardPanel
 Full-featured ImGui panel for editing BlackboardSystem variables. More...
 
class  BTGraphCompiler
 Static compiler for BT graphs. More...
 
class  BTGraphValidator
 Static validator for BT graph documents. More...
 
class  BTNodePalette
 UI palette for BT node selection. More...
 
class  BTNodeRegistry
 Singleton registry for all BT node types. More...
 
struct  BTNodeTypeInfo
 Metadata for a behavior tree node type. More...
 
struct  BTValidationMessage
 Validation result message. More...
 
struct  ClipboardLink
 Represents a connection between nodes in the clipboard. More...
 
struct  ClipboardNode
 Represents a node in the clipboard. More...
 
class  RuntimeDebugPanel
 Panel for runtime execution debugging. More...
 
class  SensesDebugPanel
 Panel for debugging AI senses. More...
 

Enumerations

enum class  BTValidationSeverity { Info , Warning , Error }
 Severity level of validation message. More...
 
enum class  BTNodeCategory : uint8_t { Composite , Decorator , Condition , Action }
 Categories of behavior tree nodes. More...
 

Functions

uint32_t ConvertColorFormat (ImU32 imguiColor)
 

Variables

constexpr uint32_t PIN_ID_MULTIPLIER = 1000
 Multiplier for pin IDs from node IDs.
 
constexpr uint32_t PIN_ID_INPUT_OFFSET = 0
 Offset for input pin: nodeId * 1000 + 0.
 
constexpr uint32_t PIN_ID_OUTPUT_OFFSET = 1
 Offset for output pin: nodeId * 1000 + 1.
 
const char *const DEFAULT_AI_GRAPH_FILTER = "json,btree"
 
const char *const DEFAULT_AI_GRAPH_NAME = "new_ai_graph.json"
 
const char *const DEFAULT_AI_GRAPH_EXT = ".json"
 
static const chars_typeNames [] = { "Int", "Float", "Bool", "String", "Vector3" }
 
static const int s_typeCount = 5
 

Enumeration Type Documentation

◆ BTNodeCategory

Categories of behavior tree nodes.

Enumerator
Composite 

Flow control nodes (Selector, Sequence, Parallel)

Decorator 

Modifiers (Inverter, Repeater, Cooldown, etc.)

Condition 

Boolean checks (HasTarget, InRange, etc.)

Action 

Leaf execution nodes (Wait, Move, Attack, etc.)

Definition at line 27 of file BTNodeRegistry.h.

◆ BTValidationSeverity

Severity level of validation message.

Enumerator
Info 

Informational message.

Warning 

Warning (non-blocking)

Error 

Error (blocking compilation)

Definition at line 30 of file BTGraphValidator.h.

Function Documentation

◆ ConvertColorFormat()

uint32_t Olympe::AI::ConvertColorFormat ( ImU32  imguiColor)
inline

Definition at line 16 of file BTNodeRegistry.cpp.

References GetComponentTypeID_Static().

Referenced by Olympe::AI::BTNodeRegistry::InitializeBuiltInTypes().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ DEFAULT_AI_GRAPH_EXT

const char* const Olympe::AI::DEFAULT_AI_GRAPH_EXT = ".json"

Definition at line 22 of file AIEditorFileDialog.h.

◆ DEFAULT_AI_GRAPH_FILTER

const char* const Olympe::AI::DEFAULT_AI_GRAPH_FILTER = "json,btree"

Definition at line 20 of file AIEditorFileDialog.h.

◆ DEFAULT_AI_GRAPH_NAME

const char* const Olympe::AI::DEFAULT_AI_GRAPH_NAME = "new_ai_graph.json"

Definition at line 21 of file AIEditorFileDialog.h.

◆ PIN_ID_INPUT_OFFSET

constexpr uint32_t Olympe::AI::PIN_ID_INPUT_OFFSET = 0
constexpr

Offset for input pin: nodeId * 1000 + 0.

Definition at line 28 of file AIEditorClipboard.h.

Referenced by Olympe::AI::AIEditorClipboard::Paste().

◆ PIN_ID_MULTIPLIER

constexpr uint32_t Olympe::AI::PIN_ID_MULTIPLIER = 1000
constexpr

Multiplier for pin IDs from node IDs.

Definition at line 27 of file AIEditorClipboard.h.

Referenced by Olympe::AI::AIEditorClipboard::Copy(), and Olympe::AI::AIEditorClipboard::Paste().

◆ PIN_ID_OUTPUT_OFFSET

constexpr uint32_t Olympe::AI::PIN_ID_OUTPUT_OFFSET = 1
constexpr

Offset for output pin: nodeId * 1000 + 1.

Definition at line 29 of file AIEditorClipboard.h.

Referenced by Olympe::AI::AIEditorClipboard::Paste().

◆ s_typeCount

const int Olympe::AI::s_typeCount = 5
static

◆ s_typeNames

const char* Olympe::AI::s_typeNames[] = { "Int", "Float", "Bool", "String", "Vector3" }
static