17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-10-29 09:17:28 +01:00

feat(editor): scripted mouse and keys for the self-tests and the launcher: mouse, mouseat, glide, button, wheel, press, release, tap, type and softcursor drive the window as the user does, EU07_LAUNCHER_SELFTEST runs a script in the launcher and the scenery wizard and hands an editor script on with editorscript; selectat selects the path nearest a point, switchlink no longer takes over a crossover left in the tool, joints without points logs every issue with free ends

This commit is contained in:
maj00r
2026-10-15 16:58:44 +02:00
parent 58a0b0c864
commit 1dc61eaf31
7 changed files with 351 additions and 3 deletions

View File

@@ -29,6 +29,7 @@ http://mozilla.org/MPL/2.0/.
#include "editor/editorProfile.hpp"
#include "editor/editorInfra.hpp"
#include "editor/editorGauge.hpp"
#include "application/scriptedinput.h"
#include "world/Sweep.h"
#include <array>
@@ -1915,6 +1916,7 @@ class editor_mode : public application_mode, private editor_track::observer
std::size_t next{0};
int wait{0};
bool quitting{false};
scripted_input input;
};
selftest m_selftest;
enum class selftest_result