0ad/source/ps/scripting
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
..
JSInterface_ConfigDB.cpp Fix some includes all over the place 2025-08-13 19:38:21 +02:00
JSInterface_ConfigDB.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
JSInterface_Console.cpp Fix some includes all over the place 2025-08-13 19:38:21 +02:00
JSInterface_Console.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
JSInterface_Debug.cpp Fix some includes all over the place 2025-08-13 19:38:21 +02:00
JSInterface_Debug.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
JSInterface_Game.cpp Fix some includes all over the place 2025-08-13 19:38:21 +02:00
JSInterface_Game.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
JSInterface_Hotkey.cpp Fix includes in source/ps 2025-08-03 15:57:56 +02:00
JSInterface_Hotkey.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
JSInterface_Main.cpp Readd JS API function Engine.Exit() 2026-01-29 21:56:19 +01:00
JSInterface_Main.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
JSInterface_Mod.cpp Add an engine "compatible" version 2025-10-31 13:43:49 +01:00
JSInterface_Mod.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
JSInterface_ModIo.cpp Fix some includes all over the place 2025-08-13 19:38:21 +02:00
JSInterface_ModIo.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
JSInterface_SavedGame.cpp Fix some includes all over the place 2025-08-13 19:38:21 +02:00
JSInterface_SavedGame.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
JSInterface_UserReport.cpp Fix some includes all over the place 2025-08-13 19:38:21 +02:00
JSInterface_UserReport.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
JSInterface_VFS.cpp Fix includes in source/ps 2025-08-03 15:57:56 +02:00
JSInterface_VFS.h Remove ScriptTypes and ScriptExtraHeaders headers 2025-09-14 13:17:18 +02:00
JSInterface_VisualReplay.cpp Fix some includes all over the place 2025-08-13 19:38:21 +02:00
JSInterface_VisualReplay.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00