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

Merge branch 'feat/modern-editor' of https://github.com/MaSzyna-EU07/maszyna into feat/modern-editor

This commit is contained in:
2026-10-04 21:58:19 +02:00
32 changed files with 7287 additions and 739 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