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

Functions

static uint32_t ToImU32_ABGR (uint32_t rgbaColor)
 Helper function to extract ImU32 color (ImGui format).
 

Variables

constexpr uint32_t EXEC_PIN_COLOR = 0xFFFFFFFF
 White color for execution flow (exec) pins and connections.
 
constexpr uint32_t DATA_PIN_COLOR = 0xB464C8FF
 Violet color for data pins and connections.
 
constexpr uint32_t EXEC_CONNECTION_COLOR = 0xFFFFFFFF
 Alternative white color for exec connections (Bezier curves).
 
constexpr uint32_t DATA_CONNECTION_COLOR = 0xB464C8FF
 Alternative violet color for data connections (Bezier curves).
 
constexpr uint32_t BT_ROOT_NODE_COLOR = 0x00FF00FF
 Green color for Root node (entry point of behavior tree).
 
constexpr uint32_t BT_ONEVENT_NODE_COLOR = 0xFF8844FF
 Orange color for OnEvent nodes (event-driven execution).
 
constexpr uint32_t BT_RANDOM_NODE_COLOR = 0xFFFF00FF
 Yellow color for RandomSelector composite nodes.
 
constexpr uint32_t BT_THRESHOLD_NODE_COLOR = 0xFF00FFFF
 Magenta color for ParallelThreshold composite nodes.
 
constexpr uint32_t BT_MONITOR_NODE_COLOR = 0x00FFFFFF
 Cyan color for Monitor decorator nodes.
 
constexpr uint32_t BT_SENDMESSAGE_ACTION_COLOR = 0xFF4422FF
 Orange-red color for SendMessage action nodes.
 

Function Documentation

◆ ToImU32_ABGR()

static uint32_t Olympe::SystemColors::ToImU32_ABGR ( uint32_t  rgbaColor)
inlinestatic

Helper function to extract ImU32 color (ImGui format).

ImGui uses ABGR format, so we need to swizzle RGBA to ABGR.

Definition at line 82 of file system_consts.h.

References GetComponentTypeID_Static().

Referenced by Olympe::NodeGraphPanel::RenderGraph().

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

Variable Documentation

◆ BT_MONITOR_NODE_COLOR

constexpr uint32_t Olympe::SystemColors::BT_MONITOR_NODE_COLOR = 0x00FFFFFF
constexpr

Cyan color for Monitor decorator nodes.

Indicates continuous condition monitoring during child execution.

Definition at line 70 of file system_consts.h.

◆ BT_ONEVENT_NODE_COLOR

constexpr uint32_t Olympe::SystemColors::BT_ONEVENT_NODE_COLOR = 0xFF8844FF
constexpr

Orange color for OnEvent nodes (event-driven execution).

Indicates nodes that execute in response to EventQueue messages.

Definition at line 52 of file system_consts.h.

◆ BT_RANDOM_NODE_COLOR

constexpr uint32_t Olympe::SystemColors::BT_RANDOM_NODE_COLOR = 0xFFFF00FF
constexpr

Yellow color for RandomSelector composite nodes.

Indicates non-deterministic execution (random child selection).

Definition at line 58 of file system_consts.h.

◆ BT_ROOT_NODE_COLOR

constexpr uint32_t Olympe::SystemColors::BT_ROOT_NODE_COLOR = 0x00FF00FF
constexpr

Green color for Root node (entry point of behavior tree).

Indicates the primary execution tree entry point.

Definition at line 46 of file system_consts.h.

Referenced by Olympe::NodeGraphPanel::RenderGraph().

◆ BT_SENDMESSAGE_ACTION_COLOR

constexpr uint32_t Olympe::SystemColors::BT_SENDMESSAGE_ACTION_COLOR = 0xFF4422FF
constexpr

Orange-red color for SendMessage action nodes.

Indicates nodes that emit events to the EventQueue system.

Definition at line 76 of file system_consts.h.

◆ BT_THRESHOLD_NODE_COLOR

constexpr uint32_t Olympe::SystemColors::BT_THRESHOLD_NODE_COLOR = 0xFF00FFFF
constexpr

Magenta color for ParallelThreshold composite nodes.

Indicates parallel execution with success/failure thresholds.

Definition at line 64 of file system_consts.h.

◆ DATA_CONNECTION_COLOR

constexpr uint32_t Olympe::SystemColors::DATA_CONNECTION_COLOR = 0xB464C8FF
constexpr

Alternative violet color for data connections (Bezier curves).

Same as DATA_PIN_COLOR but used explicitly for link rendering.

Definition at line 36 of file system_consts.h.

◆ DATA_PIN_COLOR

constexpr uint32_t Olympe::SystemColors::DATA_PIN_COLOR = 0xB464C8FF
constexpr

Violet color for data pins and connections.

Used for circle-shaped pins representing data flow.

Definition at line 24 of file system_consts.h.

Referenced by Olympe::GetDataPinColor(), and Olympe::VisualScriptNodeRenderer::RenderNode().

◆ EXEC_CONNECTION_COLOR

constexpr uint32_t Olympe::SystemColors::EXEC_CONNECTION_COLOR = 0xFFFFFFFF
constexpr

Alternative white color for exec connections (Bezier curves).

Same as EXEC_PIN_COLOR but used explicitly for link rendering.

Definition at line 30 of file system_consts.h.

◆ EXEC_PIN_COLOR

constexpr uint32_t Olympe::SystemColors::EXEC_PIN_COLOR = 0xFFFFFFFF
constexpr

White color for execution flow (exec) pins and connections.

Used for triangle-shaped pins representing control flow.

Definition at line 18 of file system_consts.h.

Referenced by Olympe::GetExecPinColor().