0ad/source
Ralph Sennhauser f578a5b34d
Readd JS API function Engine.Exit()
Requested in #8244 for scripting purposes and automated testing. Extend
the original design by adding a means to pass an exit status. This also
comes in handy in case one wants to cleanly error out from JS on parsing
errors of command line arguments as reported in #7967.

Fixes: #8244
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
(cherry picked from commit 0d60bdfd2e)
Signed-off-by: phosit <phosit@autistici.org>
2026-01-29 21:56:19 +01:00
..
collada Fix some includes all over the place 2025-08-14 20:15:30 +02:00
dapinterface Remove ScriptTypes and ScriptExtraHeaders headers 2025-09-14 13:17:18 +02:00
graphics Fix exceeding input boundaries in console 2026-01-01 16:08:45 +01:00
gui Temporary workaround for icon misalignment 2026-01-29 21:56:19 +01:00
i18n Fix some includes all over the place 2025-08-14 20:15:30 +02:00
lib Don't pass the AppHooks as pointer 2025-11-24 20:20:17 +01:00
lobby Workaround renamed property in gamereport 2026-01-29 21:56:18 +01:00
maths Reduces string allocations in GUI and maths. 2025-10-11 19:44:22 +02:00
mocks Fix some includes all over the place 2025-08-13 19:38:21 +02:00
network Add an engine "compatible" version 2025-10-31 13:43:49 +01:00
pch Remove ScriptTypes and ScriptExtraHeaders headers 2025-09-14 13:17:18 +02:00
ps Readd JS API function Engine.Exit() 2026-01-29 21:56:19 +01:00
renderer Fixes uninitialized GPUSkinning in Atlas 2026-01-01 16:08:45 +01:00
rlinterface Fix some includes all over the place 2025-08-13 19:38:21 +02:00
scriptinterface Reduces string allocations in paths. 2025-10-05 01:31:27 +02:00
simulation2 Readd JS API function Engine.Exit() 2026-01-29 21:56:19 +01:00
soundmanager SoundManager: reintroduce manual memory management 2025-10-13 20:42:32 +02:00
third_party Replace boost::filesystem std::filyestem 2025-10-31 13:43:50 +01:00
tools Fix NSIS auto-uninstall 2026-01-01 16:08:45 +01:00
CxxTestRunner.tpl Support running individual tests or suites 2025-10-17 13:31:20 +02:00
main.cpp Readd JS API function Engine.Exit() 2026-01-29 21:56:19 +01:00
test_setup.cpp Fix some includes in atlas 2025-08-21 14:18:38 +02:00