0ad/source/simulation2
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
..
components Readd JS API function Engine.Exit() 2026-01-29 21:56:19 +01:00
docs Remove UNUSED 2025-06-26 17:25:05 +02:00
helpers Remove ScriptTypes and ScriptExtraHeaders headers 2025-09-14 13:17:18 +02:00
scripting Fix includes in source/simulation2 2025-08-07 20:00:49 +02:00
serialization Remove ScriptTypes and ScriptExtraHeaders headers 2025-09-14 13:17:18 +02:00
system Remove ScriptTypes and ScriptExtraHeaders headers 2025-09-14 13:17:18 +02:00
tests Throw error when simulation script can't be loaded 2025-11-24 20:20:17 +01:00
MessageTypes.h Fix includes in source/simulation2 2025-08-08 07:10:11 +02:00
Simulation2.cpp Throw error when simulation script can't be loaded 2025-11-24 20:20:17 +01:00
Simulation2.h Throw error when simulation script can't be loaded 2025-11-24 20:20:17 +01:00
TypeList.h Store whether a player is activ in C++ 2025-01-05 19:57:12 +01:00