![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
Helper methods for VisualScriptEditorPanel (node/link allocation and UID generation). More...
#include "VisualScriptEditorPanel.h"#include "DebugController.h"#include "TabManager.h"#include "AtomicTaskUIRegistry.h"#include "ConditionRegistry.h"#include "OperatorRegistry.h"#include "BBVariableRegistry.h"#include "MathOpOperand.h"#include "../system/system_utils.h"#include "../system/system_consts.h"#include "../NodeGraphCore/GlobalTemplateBlackboard.h"#include "../third_party/imgui/imgui.h"#include "../third_party/imnodes/imnodes.h"#include "../json_helper.h"#include "../TaskSystem/TaskGraphLoader.h"#include <fstream>#include <iostream>#include <algorithm>#include <cmath>#include <cstring>#include <sstream>#include <iomanip>#include <cstdlib>#include <unordered_set>
Include dependency graph for VisualScriptEditorPanel_Helpers.cpp:Go to the source code of this file.
Namespaces | |
| namespace | Olympe |
| < Provides AssetID and INVALID_ASSET_ID | |
Helper methods for VisualScriptEditorPanel (node/link allocation and UID generation).
This file contains utility helper methods for:
UID Scheme: The attribute UID system uses a deterministic formula: nodeID * 10000 + offset This allows rapid attribute lookup and maintains unique IDs across node/pin combinations. Offsets: 0–99: Reserved for exec-in pin 100–199: Exec-out pins (index 0-99) 200–299: Data-in pins (index 0-99) 300–399: Data-out pins (index 0-99)
C++14 compliant — no std::optional, structured bindings, std::filesystem.
Definition in file VisualScriptEditorPanel_Helpers.cpp.