![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
Classes | |
| class | BehaviorTreeAdapter |
| class | BlueprintAdapter |
| class | BTDebugAdapter |
| Adapter for visualizing BehaviorTree runtime using unified renderer. More... | |
| class | BTGraphDocumentConverter |
| Converts a BehaviorTreeAsset into an Olympe::NodeGraph for display in the NodeGraphPanel (Blueprint Editor pipeline). More... | |
| class | CommandAdapter |
Typedefs | |
| using | json = nlohmann::json |
Definition at line 12 of file Serializer.h.
|
inline |
Compute the screen-space center position of a pin.
Calculates where a pin should be rendered on screen, accounting for:
| nodeId | The ImNodes node ID |
| layout | The node's layout information (optional, used for validation) |
| isOutput | True for output pin (right side), false for input pin (left side) |
| pinOffset | Horizontal offset from node edge (from ImNodes::GetStyle().PinOffset) |
| headerHeight | Height of the node header in pixels (pins are positioned below header) |
| zoom | Current zoom level (affects spacing) |
Definition at line 14 of file NodeGraphShared.h.
References GetComponentTypeID_Static().
Referenced by RenderNodeVisual().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 34 of file NodeGraphShared.h.
References GetComponentTypeID_Static().
Referenced by RenderNodeVisual().
Here is the call graph for this function:
Here is the caller graph for this function:| void Olympe::NodeGraphShared::DrawPinCircle | ( | ImDrawList * | drawList, |
| const ImVec2 & | center, | ||
| float | radius, | ||
| uint32_t | color, | ||
| uint32_t | outlineColor, | ||
| float | outlineThickness | ||
| ) |
Draw a pin circle with outline.
Renders a circular pin with two layers:
| drawList | ImGui draw list to render to |
| center | Center position of the pin in screen space |
| radius | Inner radius of the pin |
| color | Inner circle color (RGBA) |
| outlineColor | Outline color (RGBA) |
| outlineThickness | Thickness of the outline in pixels |
Definition at line 45 of file RenderHelpers.cpp.
References GetComponentTypeID_Static().
Here is the call graph for this function:
|
inline |
Definition at line 32 of file Renderer.h.
References Olympe::BT_Action, Olympe::BT_Condition, Olympe::BT_Cooldown, Olympe::BT_Inverter, Olympe::BT_Monitor, Olympe::BT_OnEvent, Olympe::BT_Parallel, Olympe::BT_ParallelThreshold, Olympe::BT_RandomSelector, Olympe::BT_Repeater, Olympe::BT_Root, Olympe::BT_Selector, Olympe::BT_SendMessage, Olympe::BT_Sequence, Olympe::BT_SubGraph, Olympe::BT_UntilFailure, Olympe::BT_UntilSuccess, and GetComponentTypeID_Static().
Here is the call graph for this function:
|
inlinestatic |
Definition at line 27 of file BTGraphDocumentConverter.cpp.
References Action, Olympe::BT_Action, Olympe::BT_Condition, Olympe::BT_Decorator, Olympe::BT_Selector, Olympe::BT_Sequence, Condition, GetComponentTypeID_Static(), Inverter, Repeater, Selector, and Sequence.
Referenced by Olympe::NodeGraphShared::BTGraphDocumentConverter::FromBehaviorTree(), and RenderBTNode().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 129 of file Renderer.h.
References GetComponentTypeID_Static(), MapBTToEditor(), and RenderNodeVisual().
Here is the call graph for this function:
|
inline |
Definition at line 141 of file Renderer.h.
References GetComponentTypeID_Static(), Inverter, Repeater, Selector, and Sequence.
Here is the call graph for this function:
|
inline |
Definition at line 41 of file NodeGraphShared.h.
References GetComponentTypeID_Static(), Olympe::NodeStyle::headerColor, Olympe::NodeStyle::headerHoveredColor, and Olympe::NodeStyle::headerSelectedColor.
Referenced by RenderNodeVisual().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 69 of file Renderer.h.
References ComputePinCenterScreen(), DrawPinCircle(), Olympe::NodeStyleRegistry::Get(), GetComponentTypeID_Static(), Olympe::NodeStyleRegistry::GetStyle(), Olympe::NodeStyle::icon, Olympe::NodeTypeToString(), and RenderNodeHeader().
Referenced by RenderBTNode().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 16 of file Serializer.h.
References Action, AttackIfClose, CanAttack, ChooseRandomNavigablePoint, ClearTarget, Condition, FollowPath, GetComponentTypeID_Static(), HasMoveGoal, HasNavigableDestination, HasReachedDestination, HasValidPath, HealthBelow, HeardNoise, Idle, Inverter, IsWaitTimerExpired, MoveToGoal, PatrolPickNextPoint, Olympe::BTNodeLayout::position, Repeater, RequestPathfinding, Selector, Sequence, SetMoveGoalToLastKnownTargetPos, SetMoveGoalToPatrolPoint, SetMoveGoalToTarget, TargetInRange, TargetVisible, WaitRandomTime, and Vector::x.
Here is the call graph for this function: