0ad/source
Ralph Sennhauser 0d60bdfd2e
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>
2026-01-29 20:03:56 +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 Fixes compilation after #8621 2026-01-25 16:29:16 +01:00
gui Revert temporary workarounds for font baseline issues 2026-01-29 19:05:34 +01:00
i18n Reduces boost usage for strings 2025-10-16 09:17:05 +02:00
lib Use cpp-httplib instead of mongoose 2026-01-24 10:45:48 +01:00
lobby Workaround renamed property in gamereport 2026-01-26 08:57:42 +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 Remove ScriptContext::CreateContext 2026-01-24 12:03:05 +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 20:03:56 +01:00
renderer Fixes compilation after #8621 2026-01-25 16:29:16 +01:00
rlinterface Use cpp-httplib instead of mongoose 2026-01-24 10:45:48 +01:00
scriptinterface Remove ScriptContext::CreateContext 2026-01-24 12:03:05 +01:00
simulation2 Readd JS API function Engine.Exit() 2026-01-29 20:03:56 +01:00
soundmanager SoundManager: reintroduce manual memory management 2025-10-13 20:42:32 +02:00
third_party Remove mongoose 2026-01-24 10:45:48 +01:00
tools Fixes compilation after #8621 2026-01-25 16:29:16 +01:00
CxxTestRunner.tpl Use return instead of exit in testrunner 2025-10-15 18:17:24 +02:00
main.cpp Readd JS API function Engine.Exit() 2026-01-29 20:03:56 +01:00
test_setup.cpp Remove ScriptContext::CreateContext 2026-01-24 12:03:05 +01:00