17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-10-17 01:39:20 +02:00

feat(editor): infrastructure bound to the paths follows their changes

This commit is contained in:
maj00r
2026-10-04 00:14:03 +02:00
parent 7371b18910
commit 8778353b22
15 changed files with 2083 additions and 1 deletions

View File

@@ -699,6 +699,14 @@ public:
// returns all eventlaunchers in radius ignoring height
std::vector<TEventLauncher *>
find_eventlaunchers(glm::vec2 center, float radius) const;
// all event launchers, global ones included
std::vector<TEventLauncher *>
launchers() const {
auto const &input { m_inputdrivenlaunchers.sequence() };
auto const &radio { m_radiodrivenlaunchers.sequence() };
std::vector<TEventLauncher *> result( input.begin(), input.end() );
result.insert( result.end(), radio.begin(), radio.end() );
return result; }
private:
// types