0ad/source/simulation2
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
..
components Readd JS API function Engine.Exit() 2026-01-29 20:03:56 +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 g_GUI usage in simulation2/* 2026-01-23 21:05:18 +01:00
tests Remove LoadScripts from CSimualation2 2026-01-01 17:27:54 +01:00
MessageTypes.h Fix includes in source/simulation2 2025-08-08 07:10:11 +02:00
Simulation2.cpp Remove LoadScripts from CSimualation2 2026-01-01 17:27:54 +01:00
Simulation2.h Remove LoadScripts from CSimualation2 2026-01-01 17:27:54 +01:00
TypeList.h Store whether a player is activ in C++ 2025-01-05 19:57:12 +01:00